Community Packages

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#19485 - [pulseaudio] install seems broken

Attached to Project: Community Packages
Opened by Anish Bhatt (anish) - Sunday, 16 May 2010, 22:24 GMT
Last edited by Jan Alexander Steffens (heftig) - Monday, 17 May 2010, 22:21 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version 1.6.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

pulseaudio does not work out of the box

# pacman -S pulseaudio ..
.
.(3/3) installing pulseaudio [##################################################################################] 100%
useradd: group 'pulse' does not exist
chown: invalid user: `pulse:pulse'
.
.

May 15 15:14:12 cerveza pulseaudio[26289]: main.c: Failed to find user 'pulse'.
May 15 15:14:12 cerveza pulseaudio[26288]: main.c: Daemon startup failed.
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Monday, 17 May 2010, 22:21 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.9.21-6 now handles install failures better.
Comment by Anish Bhatt (anish) - Sunday, 16 May 2010, 22:29 GMT
can be solved with a simple `groupadd pulse` in the install file
Comment by Jan Alexander Steffens (heftig) - Sunday, 16 May 2010, 23:34 GMT
The install does do a groupadd.
Comment by Anish Bhatt (anish) - Sunday, 16 May 2010, 23:36 GMT
Didn't work for me , had to manually do a groupadd before running pacman. Brand new install of archlinux
Comment by Jan Alexander Steffens (heftig) - Sunday, 16 May 2010, 23:38 GMT
Did you try to install pulseaudio before booting into the installed system?
Comment by Anish Bhatt (anish) - Sunday, 16 May 2010, 23:40 GMT
No, system has been running for the next 3 days
Comment by Anish Bhatt (anish) - Sunday, 16 May 2010, 23:40 GMT
*last 3 days
Comment by Jan Alexander Steffens (heftig) - Sunday, 16 May 2010, 23:43 GMT
Can you recreate the conditions that caused the install file to fail?
Comment by Anish Bhatt (anish) - Monday, 17 May 2010, 03:05 GMT
In a way, yes. I had a gshadow.lock file leftover from a previous use of something which was causing groupadd to fail. I think its just not checking the return value for groupadd, or not bailing if groupadd fails. I can recreate it if I manually create a gshadow.lock file.
Comment by Jan Alexander Steffens (heftig) - Monday, 17 May 2010, 03:06 GMT
This is not a problem with the pulseaudio package then, but with whatever left the lockfile behind.
Comment by Anish Bhatt (anish) - Monday, 17 May 2010, 03:07 GMT
yep, but shouldn't it catch the groupadd error nevertheless ?
Comment by Jan Alexander Steffens (heftig) - Monday, 17 May 2010, 03:31 GMT
I could output a warning, but the package would have to be reinstalled anyway. I think it's pretty clear that adding the group failed.
Comment by Anish Bhatt (anish) - Monday, 17 May 2010, 03:34 GMT
I guess, problem is pulseaudio outputs 20 lines of help text on install, might get buried in there. Then again,you would know what works best.
Comment by Jan Alexander Steffens (heftig) - Monday, 17 May 2010, 03:37 GMT
I'll suppress the message when the install fails.
Comment by Anish Bhatt (anish) - Monday, 17 May 2010, 03:51 GMT
are you sure it does ? install didn't fail for me even when groupadd failed. trace :

(3/3) installing pulseaudio [##################################################################################] 100%
useradd: group 'pulse' does not exist
chown: invalid user: `pulse:pulse'
>>> The system-wide daemon is officially deprecated, however it is still
supported.
>>> To use the ESounD wrapper while using a system-wide daemon, you also need
to enable auth-anonymous for the esound-unix module, or to copy
/var/run/pulse/.esd_auth into each home directory.
>>> To use the system-wide daemon, add your user to the pulse-access group and
run /etc/rc.d/pulseaudio start or add pulseaudio to your DAEMONS array in
your /etc/rc.conf. The daemon configuration is in /etc/pulse/system.pa.
>>> Additionally, to use the pulse-rt group to its full potential, please add
@pulse-rt - rtprio 9
@pulse-rt - nice -11
to your /etc/security/limits.conf.
Optional dependencies for pulseaudio
alsa-plugins: ALSA support
avahi: network support
bluez: bluetooth support
gconf: configure pulseaudio through the gnome configuration db
jack-audio-connection-kit: jack support
lirc-utils: infra-red support
tcp_wrappers: network support

Comment by Jan Alexander Steffens (heftig) - Monday, 17 May 2010, 04:00 GMT
I'll be making sure it does.

Loading...