[Pkg-samba-maint] Bug#695362: samba-common's dhcp hooks write to /etc/samba breaking ro root

Steve Langasek vorlon at debian.org
Sat Dec 8 20:35:20 UTC 2012


On Sat, Dec 08, 2012 at 09:19:28PM +0100, Andrew Shadura wrote:
> On Sat, 8 Dec 2012 12:05:20 -0800
> Steve Langasek <vorlon at debian.org> wrote:

> > > SAMBA_DHCP_CONF=/etc/samba/dhcp.conf

> > > It'd be cool if that could be disabled via /etc/defaults, or,
> > > better, if it could detect that location not being writable and not
> > > try to write there if it is.

> > The file should simply be moved to a guaranteed-writable directory -
> > probably /run.

> Or that, of course, yeah. And symlinked from /etc/<something>, probably.

Not at all.  The smb.conf should just be updated to look in /run, there's no
reason to carry a symlink here.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20121208/b34f7620/attachment-0001.pgp>


More information about the Pkg-samba-maint mailing list