Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645424 - net-libs/openslp-2.0.0-r4 uses /var/lib/run instead of /var/run
Summary: net-libs/openslp-2.0.0-r4 uses /var/lib/run instead of /var/run
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Deadline: 2019-11-05
Assignee: Printing Team
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2018-01-22 23:32 UTC by Josef Čejka
Modified: 2019-11-05 22:35 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,7.71 KB, application/x-xz)
2018-01-22 23:32 UTC, Josef Čejka
Details
strace -ff -s 128 /usr/sbin/slpd (slpd.strace,599.71 KB, text/plain)
2018-01-22 23:37 UTC, Josef Čejka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Josef Čejka 2018-01-22 23:32:48 UTC
Created attachment 516014 [details]
build.log.xz

--localstatedir is configured to /var/lib and thus pid file and log file default paths are /var/lib/run/slpd.pid and /var/lib/log/slpd.log.

Different path for pid file causes that init script is not able to stop slpd.

If logging is enabled in config file slpd fails with error after it tries to write to non-existing /var/lib/log/ directory.
Comment 1 Josef Čejka 2018-01-22 23:37:55 UTC
Created attachment 516016 [details]
strace -ff -s 128 /usr/sbin/slpd
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-11-05 22:35:11 UTC
Removing.