Bug 2633

Summary: Linuxconf messes up with samba?
Product: [Retired] Red Hat Linux Reporter: stef.pillaert
Component: linuxconfAssignee: Michael K. Johnson <johnsonm>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: glenn, jack, joel
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-08-03 22:52:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description stef.pillaert 1999-05-07 13:03:32 UTC
(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..


Comment 1 Michael K. Johnson 1999-05-11 18:38:59 UTC
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

Comment 2 glenn 1999-06-30 12:55:59 UTC
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
right stuff.

Comment 3 Derek Tattersall 1999-08-03 16:01:59 UTC
*** 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 ...

Comment 4 Michael K. Johnson 1999-08-03 22:52:59 UTC
Reported fixed in linuxconf-1.16r1.3, released as update RHEA-1999:026