Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 316057 - www-servers/resin-4.0.5 - log doesn't go to /var/log/resin
Summary: www-servers/resin-4.0.5 - log doesn't go to /var/log/resin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Krzysztof Pawlik (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-19 06:21 UTC by Sok Ann Yap
Modified: 2010-04-19 23:04 UTC (History)
1 user (show)

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


Attachments
Diff to remove existing log dir before creating symlink (resin-log-dir.diff,343 bytes, text/plain)
2010-04-19 06:21 UTC, Sok Ann Yap
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sok Ann Yap 2010-04-19 06:21:21 UTC
The log for resin-4.0.5 goes to /usr/lib/resin/log instead of /var/log/resin.

Looking into the ebuild, it actually wants the log to go to /var/log/resin by trying to create the symlink:

/usr/lib/resin/log -> /var/log/resin

However, since /usr/lib/resin/log already exists, dosym ends up creating this instead:

/usr/lib/resin/log/resin -> /var/log/resin

And subsequently nothing goes into /var/log/resin.

Reproducible: Always
Comment 1 Sok Ann Yap 2010-04-19 06:21:59 UTC
Created attachment 228353 [details]
Diff to remove existing log dir before creating symlink
Comment 2 Krzysztof Pawlik (RETIRED) gentoo-dev 2010-04-19 23:04:55 UTC
This is fixed in Resin 4.0.6.