Odi's astoundingly incomplete notes
New entries | CodeGentoo updates su binary
If your Gentoo spits out cron errors like this:
The problem arises since the
run-parts: /etc/cron.daily/man-db exited with return code 1after updating to
sys-apps/util-linux-2.37.3
then you should run pwck
to check the consistency of /etc/passwd, /etc/shadow
etc.# pwck user 'adm': directory '/var/adm' does not exist user 'lp': directory '/var/spool/lpd' does not exist user 'news': directory '/usr/lib/news' does not exist user 'uucp': directory '/var/spool/uucppublic' does not exist no matching password file entry in /etc/shadow add user 'man' in /etc/shadow? y no matching password file entry in /etc/shadow add user 'smmsp' in /etc/shadow? n no matching password file entry in /etc/shadow add user 'portage' in /etc/shadow? y no matching password file entry in /etc/passwd delete line 'games:*:9797:0:::::'? y no matching password file entry in /etc/passwd delete line 'guest:*:9797:0:::::'? y pwck: the files have been updatedOn all my machines the
man
and portage
users were not in shadow. And you can userdel smmsp
if you are not using qmail
too.The problem arises since the
su
binary from sys-apps/shadow
has been replaced with the util-linux
version (see su USE flag).Thanks for spelling it out. Current latest stable sys-apps/man-db-2.9.4-r1 doesn't seem to be requiring new-enough sys-apps/util-linux-2.37.4, and man-db cron job starts failing every day.
Add comment