Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301263 - net-fs/samba needs modified initscript to check /var/run/samba
Summary: net-fs/samba needs modified initscript to check /var/run/samba
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-17 10:51 UTC by haarp
Modified: 2010-05-11 16:42 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 haarp 2010-01-17 10:51:47 UTC
Samba fails to start if the /var/run/samba folder is missing (like, for instance, when it's mounted by tmpfs on boot). Samba's initscript should check the folder and create it if missing. sys-apps/dbus initscript already has such a line, so I think it should be valid and easy to accomplish.
Comment 1 Víctor Ostorga (RETIRED) gentoo-dev 2010-01-17 17:11:52 UTC
May be the following line must be added to the start() of the init script:

[ ! -e /var/run/samba ] && mkdir /var/run/samba
Comment 2 haarp 2010-01-17 21:48:13 UTC
Yup, that one would work just fine :)
Comment 3 Patrick Lauer gentoo-dev 2010-05-11 11:53:10 UTC
+  11 May 2010; Patrick Lauer <patrick@gentoo.org> files/samba-init:
+  Fixing init script for #301263

I hope that makes you happy :)
Comment 4 haarp 2010-05-11 16:42:10 UTC
Yes, thanks :)