Package: base-passwd
Version: 3.5.32
Severity: normal

Dear Maintainer,

after doing a reboot today I noticed that inn2 doesn't start anymore.
After some digging I found the problem. base-password 3.5.30 set a lot of
shells in /etc/passwd to /usr/sbin/nologin.

It did ask before doing so but I at that time thought it would set reasonable
defaults. ;-)

Turned out the default for user news is not quite reasonable since inn2
just isn't able to start without a valid shell.

(inn2's start script does start the daemon like this:
 su news -c /usr/lib/news/bin/rc.news > /var/log/news/rc.news 2>&1
which doesn't work when the shell is set to /usr/sbin/nologin)

Since base-password did ask before doing the changes, it's IMHO not a real
bug but in part just stupidity on my side to trust the defaults.
But maybe a little warning about possible complications like with inn2 would
be nice.

Best regards,

Marcus Jodorf

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12.9 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages base-passwd depends on:
ii  libc6              2.17-97
ii  libdebconfclient0  0.187

Versions of packages base-passwd recommends:
ii  debconf [debconf-2.0]  1.5.52

base-passwd suggests no packages.

-- debconf information:
* base-passwd/system/user/www-data/shell/_bin_sh/_usr_sbin_nologin: true
  base-passwd/group-change-gid: true
* base-passwd/system/user/sys/shell/_bin_sh/_usr_sbin_nologin: true
  base-passwd/user-add: true
* base-passwd/system/user/daemon/shell/_bin_sh/_usr_sbin_nologin: true
  base-passwd/group-move: true
* base-passwd/system/user/bin/shell/_bin_sh/_usr_sbin_nologin: true
  base-passwd/user-change-home: true
* base-passwd/system/user/man/shell/_bin_sh/_usr_sbin_nologin: true
  base-passwd/user-change-uid: true
* base-passwd/system/user/nobody/shell/_bin_sh/_usr_sbin_nologin: true
  base-passwd/user-move: true
* base-passwd/system/user/gnats/shell/_bin_sh/_usr_sbin_nologin: true
  base-passwd/user-change-shell: true
* base-passwd/system/user/games/shell/_bin_sh/_usr_sbin_nologin: true
* base-passwd/system/user/lp/shell/_bin_sh/_usr_sbin_nologin: true
  base-passwd/user-change-gecos: true
* base-passwd/system/user/backup/shell/_bin_sh/_usr_sbin_nologin: true
  base-passwd/group-add: true
* base-passwd/system/user/irc/shell/_bin_sh/_usr_sbin_nologin: true
* base-passwd/system/user/news/shell/_bin_sh/_usr_sbin_nologin: true
  base-passwd/group-remove: true
  base-passwd/user-change-gid: true
* base-passwd/system/user/proxy/shell/_bin_sh/_usr_sbin_nologin: true
* base-passwd/system/user/list/shell/_bin_sh/_usr_sbin_nologin: true
* base-passwd/system/user/mail/shell/_bin_sh/_usr_sbin_nologin: true
* base-passwd/system/user/uucp/shell/_bin_sh/_usr_sbin_nologin: true
  base-passwd/user-remove: true


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to