On Wed, 08 Jun 2005, Michael Tokarev wrote:
> When upgrading uucp package, the upgrade fails with the
> following message:
>
> Setting up uucp (1.07-12) ...
> chown: cannot access `/etc/uucp/call': No such file or directory
> dpkg: error processing uucp (--configure):
>
> This is due to /etc/uucp/call file missing as it has been
> deleted (probably by me) previously, for some reason.
>
> In postinst script, we have:
>
> if [ -n "$version" ] && \
> dpkg --compare-versions "$version" lt 1.07-10
> then
> chown uucp:uucp /etc/uucp/call
> fi
>
> I think this chown should be conditional, based on presence
> of the file in question.
You're right. Too bad nobody noticed before.
I assume you managed to upgrade eventually, or do you still need some
help?
> More, I think the ownership here is wrong: no files in /etc/uucp
> should be owned by uucp for security reasons. I know it' stricky
> with current uucico being setgid dialout...
Actually it turned out to be almost impossible for the file to stay
root:uucp :( Read one of the bug reports for a lengthy discussion about
that. It's unfortunate, but that's the way it is.
--
PGP signed and encrypted | .''`. ** Debian GNU/Linux **
messages preferred. | : :' : The universal
| `. `' Operating System
http://www.palfrader.org/ | `- http://www.debian.org/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]