FS#19869 - [filesystem] rfkill missing from gshadow
Attached to Project:
Arch Linux
Opened by Andres P (llanero) - Sunday, 20 June 2010, 07:19 GMT
Last edited by Pierre Schmitz (Pierre) - Thursday, 18 November 2010, 13:27 GMT
Opened by Andres P (llanero) - Sunday, 20 June 2010, 07:19 GMT
Last edited by Pierre Schmitz (Pierre) - Thursday, 18 November 2010, 13:27 GMT
|
Details
It'll spam the crap out of people with local mail
delivery:
cron for user root job sys-daily no matching group file entry in /etc/gshadow add group 'rfkill' in /etc/gshadow? No grpck: no changes # cd etc # cut -d: -f1 gshadow group | sort | uniq -u rfkill |
This task depends upon
Closed by Pierre Schmitz (Pierre)
Thursday, 18 November 2010, 13:27 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in next release
Thursday, 18 November 2010, 13:27 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in next release
rfkill:!::
http://repos.archlinux.org/wsvn/packages/filesystem/repos/core-any/gshadow rfkill is not present
http://repos.archlinux.org/wsvn/packages/filesystem/repos/core-any/filesystem.install checks that the group is present in /etc/group, and if so does not add the group, so no entry in gshadow.
This is acceptable IMO.
Therefore 'rfkill' will remain not present in 'gshadow'. When cron.daily runs, the script '/etc/cron.daily/shadow', entry '/usr/sbin/grpck -r' will fail as a corresponding entry, 'rfkill', is not present in the '/etc/gshadow' file.
This will result in an mail to root as originaly reported
"no matching group file entry in /etc/gshadow
add group 'rfkill' in /etc/gshadow? No
grpck: no changes"
Suggest solution is to add 'rfkill' entry to '/etc/gshadow'
At the moment, I use grpconv to convert group to shadow group, it seems fine here.