On Tue, Jul 8, 2014 at 6:06 PM, Dave Reisner <d@falconindy.com> wrote:
Hi,
If you're a [testing] user who's installed systemd 215 with a pkgrel of 1-3, you're interested in this.
A new feature of systemd, sysusers, was introduced which creates users/groups on demand for stateless systems. The upstream files ship the groups 'dialout', 'tape', and 'cdrom'. With systemd-215-4, these are properly modified to Arch's 'uucp', 'storage', and 'optical', respectively.
If you installed a prior version, you likely now have these former groups in your /etc/group -- these can be safely deleted, as we will not currently use them. In other words, you can safely run:
sed -i.bkup '/^\(dialout\|tape\|cdrom\):x:/d' /etc/group
Make sure to diff the result against /etc/group.bkup afterwards and delete the backup if not needed.
Cheers, Dave
Answering on arch-general as I can't post to arch-dev-public. Because, while we're at it... I'm not very proud to add, don't use sudo while moving around /etc/group. I'm currently travelling and more or less only have this machine to work with. As I haven't memorized any systemd boot flags, some time later I finally found a way to get back up and running by setting "init=/bin/bash"... So, really, don't use sudo for /etc/{passwd,shadow,group,gshadow}. cheers! mar77i