Red Hat Bugzilla – Bug 2633
Linuxconf messes up with samba?
Last modified: 2008-05-01 11:37:50 EDT
(installed RedHat 6.0 on a i386)
I tried to change the samba workgroup (from MYGROUP to
BOUWKUNDE) using Linuxconf. It seemed that Linuxconf messed
up my smb.conf file, leaving funny characters where the
group should be mentioned.
I removed samba (with rpm -e) and reinstalled (with rpm).
If I click on samba (in Linuxconf) now, I get the input-box
for sendmail settings, not the one for samba settings!!!
Very weird things going on..
Added Jacques to CC line.
Jacques, any chance that treemenu isn't always recognizing when it
needs to be recalculated? Our linuxconf package has triggers for
when samba is installed/uninstalled (among other packages) as you
The workaround in the meantime should be (as root):
rm -f /var/run/treemenu.cache
I've seen part of this, too. After a fresh install of 6.0, if Samba
is deleted, and then re-installed, access of Samba (e.g., the
'defaults' item) shows you screens for sendmail.
The problem is related to the /etc/conf.linuxconf file. Removing the
Samba RPM and then re-installing it changes the order of the lines
for samba and mailconf. Editing the file and reversing the order
(samba before mailconf) restores linuxconf operation to normal.
Gnome documentation linuxconf indicates that if standard utilites are
used to access the conf.linuxconf file, fetches of key/value pairs
will be order independent (a Good Thing!).
The faulty behavior of linuxconf can be easily demonstrated by editing
the file, and changing the order of the samba/mailconf lines.
Oddly, invoking linuxconf as 'netconf' gets you access to all the
*** Bug 2696 has been marked as a duplicate of this bug. ***
When using linuxconf on 6.0 to setup smb.conf binary data
get put into the file and becomes unusable ...
Reported fixed in linuxconf-1.16r1.3, released as update RHEA-1999:026