--- Nils Philippsen <nphilipp@xxxxxxxxxx> wrote: > On Tue, 2004-10-19 at 21:30 +0100, DAVID BENTLEY > wrote: > > --- Nils Philippsen <nphilipp@xxxxxxxxxx> wrote: > > > 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@xxxxxxxxxx> 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. > > > > > > > Traceback (most recent call last): > > File > > "/usr/share/system-config-samba/shareWindow.py", > line > > 537, in onOkEditButtonClicked > > self.samba_data.writeFile() > > File > > "/usr/share/system-config-samba/sambaParser.py", > line > > 173, in writeFile > > raise RuntimeError, (_("Cannot write to %s. > > Program will now exit." % path)) > > RuntimeError: Cannot write to /etc/samba/smb.conf. > > > Program will now exit. > > This is the same as > https://bugzilla.redhat.com/bugzilla/show_bug.cgi? > id=135946 -- fixed in system-config-samba-1.2.21-1, > grab it from > http://people.redhat.com/nphilipp/BETA/system-config-samba/ > if it hasn't > already hit the mirrors. > Yes it fixes the problem OK but you still get all these warning messages when run from the terminal. /usr/share/system-config-samba/mainWindow.py:113: DeprecationWarning: use gtk.UIManager item_fac = gtk.ItemFactory(gtk.MenuBar, "<main>", accel_group) /usr/share/system-config-samba/mainWindow.py:138: DeprecationWarning: button = self.toolbar.insert_stock('gtk-add', _("Add a samba share"), None, self.onNewButtonClicked, None, 0) /usr/share/system-config-samba/mainWindow.py:143: DeprecationWarning: self.properties_button = self.toolbar.insert_stock('gtk-properties', _("Edit the properties of the selected directory"), None, self.onPropertiesButtonClicked, None, 1) /usr/share/system-config-samba/mainWindow.py:148: DeprecationWarning: self.delete_button = self.toolbar.insert_stock('gtk-delete', _("Delete the selected directory"), None, self.onDeleteButtonClicked, None, 2) /usr/share/system-config-samba/mainWindow.py:153: DeprecationWarning: self.toolbar.insert_stock('gtk-help', _("View help"), None, self.onHelpClicked, None, 3)