Description of problem: When installing mpd with urpmi, this information appears: [More information on package mpd-0.16.2-2.mga1.tainted.i586 This package of MPD comes with service capabilities and will automatically start at boot. You now have to edit your /etc/mpd.conf file, check the different options to adapt them to your needs (pay attention to the password section). You can leave log_file, error_file, db_file, and state_file options as they are. But you MUST edit music_directory and playlist_directory to tell MPD where to grab your music files, and don't forget to make them available to the user "mpd". If you use passwords, please change permissions of this file to 600 (passwords are in clear plain text). If you DON'T want MPD to start at boot (to let users have different configuration, for example), just disable the service via the Mandrake Control Center, or by running "chkconfig --del mpd" as root. Note: if your msec level is 3 or above (this should be the case for any machine connected to the internet), the service will fail to start. In order to make it start at boot, you need to do this : * get root privileges edit /etc/security/console.perms near the end of the file you'll see a line looking like this : <console> 0600 <sound> 0600 root.audio just change the permissions to 0660 to obtain this line : <console> 0660 <sound> 0660 root.audio Save the file and exit your editor. MPD has now the right to access sound devices, as all users from the audio group.] Perhaps this was missed during the cleanup because it mentions 'Mandrake' rather than 'Mandriva'? Steps to Reproduce: 1. Use urpmi to install mpd 2. Read the info message 3.
CC: (none) => shikamaruSource RPM: mpd-0.16.2-2.mga1.tainted.src.rpm => mpd
thanks for the report, it's fixed in core/updates_testing for mageia 1 and core/release for cauldron.
Status: NEW => RESOLVEDCC: (none) => cazzaniga.sandroResolution: (none) => FIXED
assigned to qa, any update announcement ?
Status: RESOLVED => REOPENEDResolution: FIXED => (none)Assignee: bugsquad => qa-bugs
sorry wrong status, and it's the package mpd-0.16.2-3.mga1
Status: REOPENED => ASSIGNED
What about the tainted version?
CC: (none) => davidwhodgins
ping Kharec : * we still need an advisory text * the tainted version is missing
CC: (none) => stormi
PING? As the bug was originally reported on the mpd-0.16.2-2.mga1.tainted.i586 package, I am looking for the update in the Mageia/distrib/1/i586/media/tainted/updates_testing/ repo. Am I looking in the wrong place, or did someone forget to produce an update for the package against which the bug was actually reported?
As per comment 4 from 2 weeks ago, this rpm cannot go to updates without a matching release number tainted version.
Kharec should have done it but for a reason unknown to me he still hasn't done it (and now has left for holidays). I will take care of it.
Kharec, although it was written in the updates policy, whose link we gave to you on IRC, you have bumped the release and not added any subrel for this update :/ I pushed the package to tainted/updates_testing without touching the release so that it keeps the same as the one in core/updates_testing, but future updates of this package should use subrels. To QA Team and to the reporter : please test the packages in i586, core and tainted, making sure the bug is fixed and the software still works.
Tested package in tainted/updates_testing - bug is fixed, thank you.
Thanks :) Now we need tests on x86_64 for the package in core and that in tainted
Created attachment 698 [details] Patch to remove config lines that generate errors. Each of the three lines deleted by the patch stop mpd from starting, until they are removed.
Created attachment 699 [details] Patch to remove unsupported option from startup script In addition to this patch, the line service mpd createdb should be removed from the postinstall scriptlet. The description shown to the user during installation should also warn them, that on the first startup, mpd will display the message "Starting MPD: Failed to load database: Database corrupted" which should be ignored. After adding the line <console> 0660 <sound> 0660 root.audio to /etc/security/console.perms, I had to reboot before mpd could access the sound device. I used gmpc to test mpd.
Worked OK on x86_64 after I had applied the patch to mpd.conf described in Comment 13. I did not have to do anything to console.perms. mpd was able to use the sound device without any modification. User mpd was a member of the audio group.
CC: (none) => derekjenn
*** Bug 2558 has been marked as a duplicate of this bug. ***
CC: (none) => jani.valimaa
*** Bug 2559 has been marked as a duplicate of this bug. ***
Adding also jq and cjw in CC, as they worked on this package. To packagers : could you have a look at the patches in comment #13 and comment #14 (and to the bugs mentioned in comment #15 and comment #16) ? mpd has several issues currently and it would be nice to fix them before we push an update for it to mageia 1.
CC: (none) => cjw, jquelin
Assigning back to Kharec as several issues block the update.
Status: ASSIGNED => NEWCC: (none) => qa-bugsAssignee: qa-bugs => cazzaniga.sandro
i confirm that new versions of mpd do not support anymore neither the --create-db flag, nor the following config options: - error_file - mixer_device - mixer_control i did not spot this even if i'm using mpd, since i have a personal (non-system wide) mpd configuration. and i already removed those options quite some time ago... dave's patches had almost everything correct - except that it missed the call create-db in %post in the spec, and the mention of error_file in README + logrorate config. however, i kind of disagree that they are duplicates of 2558 and 2559: there was indeed 3 bugs, and it's better to have one bug per problem to track what's being done. anyway, mpd-0.16.3-3.mga2 is on its way to bs (cauldron currently) with the fix. it will have to be sent to updates afterwards...
assign back to bugsquad (kharac has no more time for packaging)
CC: cazzaniga.sandro => (none)Assignee: cazzaniga.sandro => bugsquad
Assigning to new maintainer.
Assignee: bugsquad => jquelin
Removing from QA list for the time being as there is nothing yet to test. Please reassign to QA when ready :) Thankyou
CC: qa-bugs => (none)
mpd-0.16.2-3.1.mga1 is available for mga1 in core/updates_testing with the changes mentioned in comment 19 ==> qa, please review & push to updates
QA Contact: (none) => qa-bugs
Assignee: jquelin => qa-bugs
mpd-0.16.2-3.1.mga1 validated on x86_64 Tested with gmpc client. All functions worked OK. The only deviation I had to make from the standard configuration was to uncomment the line device "hw:0,0" in the ALSA output.
Testing complete on i586 for the srpm mpd-0.16.2-3.1.mga1.src.rpm. I had to run paprefs, and on the network server tab, enable "network access to local sound devices", to get the pulse config working. We still need the mpd-0.16.2-3.1.mga1.tainted.src.rpm Reassigning back to the developer until the tainted version is available for testing.
CC: (none) => qa-bugsAssignee: qa-bugs => jquelin
mpd-0.16.2-3.1.mga1 available in mga1 tainted/updates_testing
The i586 testing of mpd, using pulseaudio is complete for the srpm mpd-0.16.2-3.1.mga1.tainted.src.rpm For some strange reason, in addition to enabling network access in paprefs, I also had to set the don't require authentication, to get it to work this time. Again used gmpc for the testing. Note that paprefs is run as a regular usr.
We still need an x86-64 test for mpd from tainted.
Tested mpd-0.16.2-3.1.mga1.tainted on x86_64 All works as expected apart from being unable to play or even add .m4a files to the database. lib64faad is installed and the same files play OK in vlc and clementine
Assigning maintainer, see comment 29 for why. Please reassign QA when you've looked into it. Thankyou.
Assignee: qa-bugs => jquelinQA Contact: qa-bugs => (none)
derek, is it working with mpd as shipped by mageia 1? if not (and i suspect it isn't), then it's another bug, and please don't hold back the push of this update.
Confirmed that mpd-0.16.2-2.mga1.tainted does not play .m4a files either. I am therefore validating this update and am raising a new bug to cover mpd.tainted not playing .m4a files. Could someone from sysadmin please push mpd-0.16.2-3.1.mga1.src.rpm and mpd-0.16.2-3.1.mga1.tainted.src.rpm into core_updates and core_tainted_updates. Advisory -------- This update replaces Mandriva references with Mageia in information files as well as updating default mpd configuration.
Keywords: (none) => validated_updateCC: (none) => sysadmin-bugsAssignee: jquelin => qa-bugs
Update pushed.
Status: NEW => RESOLVEDCC: (none) => tmbResolution: (none) => FIXED