Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 645424

Summary: net-libs/openslp-2.0.0-r4 uses /var/lib/run instead of /var/run
Product: Gentoo Linux Reporter: Josef Čejka <josef.cejka>
Component: Current packagesAssignee: Printing Team <printing>
Status: RESOLVED OBSOLETE    
Severity: normal CC: treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Deadline: 2019-11-05   
Attachments: build.log.xz
strace -ff -s 128 /usr/sbin/slpd

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.