Cannot write to /etc/samba/smb.conf. Program will now exit.

Nils Philippsen nphilipp at redhat.com
Tue Oct 19 11:28:39 UTC 2004


On Mon, 2004-10-18 at 23:35 +0100, DAVID BENTLEY wrote:
> > On Mon, 2004-10-18 at 17:24, DAVID BENTLEY wrote:
> > > I set all of my SAMBA shares up before doing any
> > > updates and now if I try to edit them or add new
> > > shares I get the following error message :-
> > > 
> > > Cannot write to /etc/samba/smb.conf.  Program will
> > now
> > > exit.
> > > 
> > > I will see if it works in the original kernel next
> > but
> > > I am surprised that there has been no mention of
> > this
> > > before now.
> 
> >  --- John Dennis <jdennis at redhat.com> wrote: 
> > Are you getting SELinux messages (e.g. audit(*):
> > avc:) in
> > /var/log/messages about access denied? If so you're
> > running afoul of the
> > SELinux security policy. If you're running >= FC3t2
> > SELinux targeted
> > policy is in effect. What is the avc message?
> > -- 
> 
> I am using a fully updated core3 test 3 and I don't
> see any avc message but there are messages at boot
> regarding what selinux policy is in effect as follows 
> 
> 18 22:46:17 bentledr-1 kernel: SELinux:  Starting in
> permissive mode
> Oct 18 22:46:17 bentledr-1 kernel: There is already a
> security framework initialized, register_security
> failed.
> Oct 18 22:46:17 bentledr-1 kernel:
> selinux_register_security:  Registering secondary
> module capability

When running it on the command line, do you get any kind of python
traceback, if so please post it.

Nils
-- 
     Nils Philippsen    /    Red Hat    /    nphilipp at redhat.com
"They that can give up essential liberty to obtain a little temporary
 safety deserve neither liberty nor safety."     -- B. Franklin, 1759
 PGP fingerprint:  C4A8 9474 5C4C ADE3 2B8F  656D 47D8 9B65 6951 3011
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-test-list/attachments/20041019/fc4696d3/attachment.sig>


More information about the fedora-test-list mailing list