Package: avahi-daemon
Version: 0.6.16-3etch1
Severity: important
Justification: Violates policy/FHS

Upon startup, the following code is executed by /etc/init.d/avahi-daemon: 

    if [ -s /etc/localtime ]; then
        if [ ! -d /etc/avahi/etc ]; then
            mkdir -p /etc/avahi/etc >/dev/null 2>&1
        fi
        cp -fp /etc/localtime /etc/avahi/etc >/dev/null 2>&1
    fi;

The mkdir and cp operations, apart from being very very strange, violate the FHS
implication of /etc/ being static. Maybe there is some upstream bug that expects
to find localtime in /etc/avahi/etc/localtime, but in any case this could be
easily worked around by creating /etc/avahi/etc and a symlink to /etc/localtime
within the postinst script. IMHO.

Best,
Michael

Attachment: pgp0mY9TId9l1.pgp
Description: PGP signature

Reply via email to