https://bugzilla.novell.com/show_bug.cgi?id=707703 https://bugzilla.novell.com/show_bug.cgi?id=707703#c6 --- Comment #6 from Takashi Iwai <tiwai@novell.com> 2011-07-22 15:10:38 UTC --- (In reply to comment #5)
(In reply to comment #4)
(In reply to comment #3)
(In reply to comment #2)
It sounds reasonable. --auto would write profile.d/* files when not exist, right?
It would always update the profile.d/* files, so that they're in sync with the $PULSEAUDIO_DISABLE value.
OK, that makes sense.
BTW, setup-pulseaudio touches other config files like /etc/libao.conf, etc. I'm not sure whether these also be updated forcibly by each update of pulseaudio.rpm.
Looking at the script, it looks to me like they would be updated only if they don't contain the necessary config for PA. I see your point, though. I would think it's relatively sane to only deal with the "use PA for everything"/"use PA for nothing" cases, and ignore the others where a user might enable/disable PA only for a few components. It could still be annoying to some, but I don't see how to best deal with that.
Actually, we could have three values for $PULSEAUDIO_ENABLE: yes, no, custom. And if it's custom, --auto would do nothing at all.
Sounds good.
Also, the default behavior is another question. When $PULSEAUDIO_ENABLE isn't set in /etc/sysconfig, should setup-pulseaudio --auto abort without changing anything? This would be safer, at least, not to break the existing user's setup.
Meanwhile, if we add $PULSEAUDIO_ENABLE in %post via %fillup, it'll point either "yes" or "no", thus it'll forcibly enable or disable all setups. So, using %fillup makes one thing easier but one thing uncertain.
I think we should just add $PULSEAUDIO_ENABLE in %post via %fillup anyway. I'm setting it to "yes", as PA is the default in the distro anyway.
Hm, OK. Maybe it'll screw up some users, but it's just one time setup, thus nothing too serious, I think. Anyway this should be mentioned in the release-note or such. BTW, I haven't begun the work yet, so if you already started on this, just go ahead :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.