Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Thomas Bächler (brain0)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 7
Private No

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
Comment by Roman Kyrylych (Romashka) - Tuesday, 10 August 2010, 08:27 GMT
# grep rfkill /etc/gshadow
rfkill:!::
Comment by Steve (kwirkie) - Tuesday, 10 August 2010, 21:22 GMT
  • Field changed: Percent Complete (100% → 0%)
Comment by Roman Kyrylych (Romashka) - Tuesday, 10 August 2010, 21:29 GMT
So, filesystem.install assumes that a group exists in both files.
This is acceptable IMO.
Comment by Steve (kwirkie) - Wednesday, 11 August 2010, 19:02 GMT
The issue is that the group 'rfkill' wont be added by filesystem.install, or by using 'groupadd', as they consider the group valid and existing as they feature in '/etc/group'.

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'
Comment by Feifei Jia (ffjia) - Thursday, 26 August 2010, 03:23 GMT
So please update the gshadow file of filesystem package.

At the moment, I use grpconv to convert group to shadow group, it seems fine here.

Loading...