Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283452 - net-fs/samba-server: init scripts expect pid files in /var/run, but ebuild is configured to use /var/run/samba
Summary: net-fs/samba-server: init scripts expect pid files in /var/run, but ebuild is...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
: 284629 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-01 21:31 UTC by Jonathan Callen (RETIRED)
Modified: 2009-09-21 22:23 UTC (History)
4 users (show)

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 Jonathan Callen (RETIRED) gentoo-dev 2009-09-01 21:31:22 UTC
Because samba-server is configured with --with-piddir=/var/run/samba, it tries to use that directory for its pid files, and fails as that directory does not exist (by default).  Even if that directory is created, the init scripts fail to stop smbd because they expect the pid file to be created in /var/run.  I would suggest passing --with-piddir=/var/run, so all the pid files are created in the same directory as most of the other pid files.
Comment 1 SpanKY gentoo-dev 2009-09-04 05:13:29 UTC
and the implication is that `/etc/init.d/samba start` no longer works -- it just silently fails (well, it is logged via syslog, but that isnt friendly)
Comment 2 Víctor Ostorga (RETIRED) gentoo-dev 2009-09-21 20:21:14 UTC
*** Bug 284629 has been marked as a duplicate of this bug. ***
Comment 3 Víctor Ostorga (RETIRED) gentoo-dev 2009-09-21 22:23:21 UTC
Fixed by flameeyes, thanks for the bug report.