Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112009 - media-sound/mpd-1.5* replaces log files on (re-)installation
Summary: media-sound/mpd-1.5* replaces log files on (re-)installation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Andrej Kacian (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 154742
Blocks:
  Show dependency tree
 
Reported: 2005-11-09 15:21 UTC by Torsten Veller (RETIRED)
Modified: 2006-11-18 01:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Veller (RETIRED) gentoo-dev 2005-11-09 15:21:31 UTC
This part in src_install replaces the log files if already present.

| insinto /var/log
| touch ${T}/blah
| insopts -m0640 -o mpd -g audio
| newins ${T}/blah mpd.log
| newins ${T}/blah mpd.error.log

How about checking it in the init file?
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2006-11-10 17:08:52 UTC
Wow, this bug is almost exactly one year old. I wonder how I missed it.

Anyway, this has been fixed in 0.12* ebuilds for a long time now, now we just create /var/log/mpd directory and let mpd create log files. Bug #154742 has just been opened to make a 0.12* ebuild stable, so this should no longer be an issue.
Comment 2 Andrej Kacian (RETIRED) gentoo-dev 2006-11-18 01:31:27 UTC
As 0.12.1 has the same keywords as 0.11.5-r2, I'm closing this bug.