Package: uucp
Version: 1.07-12
Severity: normal

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.

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...

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.11-k7-8
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)

Versions of packages uucp depends on:
ii  cron             3.0pl1-72               management of regular background p
ii  debconf          1.4.30.5                Debian configuration management sy
ii  libc6            2.3.2.ds1-21            GNU C Library: Shared libraries an
ii  libpam0g         0.76-22                 Pluggable Authentication Modules l
ii  mailx            1:8.1.2-0.20020411cvs-1 A simple mail user agent.

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to