Bug#459403: libuuid1: missing depends on non-essential package passwd

2008-01-14 Thread Theodore Tso
tags 459403 +pending
thanks

Thanks, i've checked in a fix into the e2fsprogs repository.

   - Ted



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



Bug#459403: libuuid1: missing depends on non-essential package passwd

2008-01-06 Thread Julien Cristau
Package: libuuid1
Version: 1.40.4-1
Severity: serious

Hi,

the libuuid1 postinst contains:
groupadd -f -K GID_MIN=1 -K GID_MAX=999 libuuid
if ! grep -q libuuid /etc/passwd; then
   useradd -d /var/lib/libuuid -K UID_MIN=1 -K UID_MAX=499 -g libuuid libuuid
fi
mkdir -p /var/lib/libuuid
chown libuuid:libuuid /var/lib/libuuid
chmod 2775 /var/lib/libuuid

The groupadd and useradd commands come from passwd, which is not
Essential: yes, so a Depends is needed.

Moreover, the postinst succeeds even if any of these commands fail,
because 'set -e' is missing at the top of the script.

Cheers,
Julien

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libuuid1 depends on:
ii  libc6 2.7-5  GNU C Library: Shared libraries

Versions of packages libuuid1 recommends:
pn  uuid-runtime  none (no description available)

-- no debconf information



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