Package: libsane
Version: 1.0.15-10
Severity: minor
The libsane postinst includes this paragraph:
if [ ! -e /dev/.udev.tdb -a ! -c /dev/.devfsd ]; then
# create /dev/parport*
if [ ! -c /dev/parport0 ]; then
(cd /dev && /sbin/MAKEDEV parport) || true
fi
# create /dev/sg*
if [ ! -c /dev/sg0 ]; then
(cd /dev && /sbin/MAKEDEV sg) || true
fi
fi
MAKEDEV should be run even if udev is installed and active. In that
case MAKEDEV will create a device node in /dev/.static/dev if
possible. That is good, because it means that the node will exist and
be usable if udev is later disinstalled. Thus the intent of this code
is wrong and even a policy violation (10.6).
However, I think that we have been lucky. udev no longer creates
/dev/.udev.tdb when it is active; instead it creates the directory
/dev/.udevdb . Therefore the "! -e /dev/.udev.tdb" test should succeed
even on systems whereon sarge udev has been installed. I haven't
checked a system on which sarge was freshly installed, but at least I
can say that on my mostly-sarge-system-with-udev there is no
/dev/.udev.tdb file.
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.11
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages libsane depends on:
ii adduser 3.63 Add and remove users and groups
ii debconf 1.4.32 Debian configuration management sy
ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries an
ii libgphoto2-2 2.1.5-4 gphoto2 digital camera library
ii libgphoto2-port0 2.1.5-4 gphoto2 digital camera port librar
ii libieee1284-3 0.2.10-1 cross-platform library for paralle
ii libjpeg62 6b-10 The Independent JPEG Group's JPEG
ii libusb-0.1-4 2:0.1.10a-9 userspace USB programming library
ii makedev 2.3.1-77 creates device files in /dev
ii sane-utils 1.0.15-9 API library for scanners -- utilit
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]