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#15774 - Groups missing

Attached to Project: Arch Linux
Opened by PT Chinster (ptchinster) - Monday, 03 August 2009, 18:49 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 04 August 2009, 19:48 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To Aaron Griffin (phrakture)
Thomas Bächler (brain0)
Dan McGee (toofishes)
Allan McRae (Allan)
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Wish i could give more info - got back from a trip this weekend. On July 30th my system was fully updated and working. Today i run Syu - taking note of the new /dev layout and making sure that is set up right. I reboot, have a problem with my sound, and notice my user is no longer in the 'audio' group - or any others. I switch of to root, run "groups" and that returns 0. The groups are still in /etc/groups.

The packages i have updated are as follows:


bash-4.0.028-1
cpio-2.10-1
filesystem-2009.07-1
hdparm-9.21-1
udev-141-5
initscripts-2009.07-3
syslog-ng-3.0.3-2
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Tuesday, 04 August 2009, 19:48 GMT
Reason for closing:  Not a bug
Comment by Roman Kyrylych (Romashka) - Monday, 03 August 2009, 18:52 GMT
can you just add your user to those groups again?
Comment by PT Chinster (ptchinster) - Monday, 03 August 2009, 19:52 GMT
irrelevant - this is not supposed to happen.
Comment by Roman Kyrylych (Romashka) - Monday, 03 August 2009, 20:00 GMT
It is not clear what happened on your system.
You need to provide some more information, e.g.
* the relevant part of pacman.log
* your current groups and gpasswd files, and if you upgraded shadow you most probably should have .pacnew files for these
Comment by Aaron Griffin (phrakture) - Monday, 03 August 2009, 20:03 GMT
Please post any and all pacnew and pacorig files you have. The filesystem package does contain group and passwd files - did you do any manual merging of these? Please note that it is the /etc/group file that contains a list of members of a given group and if you did manual merging (or simply copied the pacnew file over) this could be the cause.
Comment by Aaron Griffin (phrakture) - Monday, 03 August 2009, 20:04 GMT
Adding some people here for input as to possibilities
Comment by PT Chinster (ptchinster) - Monday, 03 August 2009, 20:05 GMT
pacman.log:
http://dpaste.com/74853/

groups
http://dpaste.com/74854/

No .pacnew files on my system

When i went to use usermod to add ptchinster to the audio group it said there was not a group named audio.
Comment by Roman Kyrylych (Romashka) - Monday, 03 August 2009, 20:07 GMT
[2009-08-03 10:21] upgraded filesystem (2009.01-2 -> 2009.07-1)
. . .
[2009-08-03 13:38] upgraded filesystem (2009.07-1 -> 2009.01-2)

Why did you downgrade the filesystem package?
Comment by PT Chinster (ptchinster) - Monday, 03 August 2009, 20:10 GMT
Because - i figured there was a problem that would sooner or later get solved, didn't feel like fooling around with it - just decided to resort to the last known working solution - which still didnt work. Got back on irc, got my curiosity up again, so i remade the upgrade to try to figure out why its not working.
Comment by Roman Kyrylych (Romashka) - Monday, 03 August 2009, 20:16 GMT
It is interesting that you didn't get any .pac{orig,new,save} files except for initscripts upgrade. :-/

The problem in your group file is that there is no : between x and gid:
it should be
audio:x:92:ptchinster (or audio::92:ptchinster)
instead of
audio:x92:ptchinster
Comment by PT Chinster (ptchinster) - Monday, 03 August 2009, 20:18 GMT
I found a /etc/group- file - i swapped it with group and now when i log in i am a member of "audio" along with the other groups i am supposed to be.

However im still not able to play any audio via firefox flashplugin or mpg123 as a user, just root.
Comment by PT Chinster (ptchinster) - Monday, 03 August 2009, 20:49 GMT
I did a full reinstall of firefox, alsa, mpg123, etc - now everything works as should.
Comment by Aaron Griffin (phrakture) - Monday, 03 August 2009, 20:54 GMT
It still might be useful to get to the bottom of this - determine if it was a pacman or package issue, or not.

Are you using any tools to handle pacnew merging?
Comment by PT Chinster (ptchinster) - Monday, 03 August 2009, 20:57 GMT
pacdiff
Comment by Allan McRae (Allan) - Tuesday, 04 August 2009, 04:30 GMT
This looks like an issue merging files to me... The current file system does not even have the "x"'s causing the issues here ( FS#15707 ).
Comment by Andrea Scarpino (BaSh) - Tuesday, 04 August 2009, 19:48 GMT
comment by PT Chinster (ptchinster)
"Reinstalled alsa, firefox, other related sound packages, everything works as should."
I close this.

Loading...