There are a three problems when doing an install or upgrade of linuxconf*.i386.rpm 1. It adds linuxconf 98/tcp service to /etc/services and /etc/inetd.conf even if this service already exists there. If you do rpm -Uvh linuxconf*.rpm 10 times the linuxconf 98/tcp will be added 10 times to /etc/services and /etc/inetd.conf 2. During installation it adds linuxconf 98/tcp port to /etc/inetd.conf even if this port was previously commented out in /etc/inetd.conf. I recommend to check for linuxconf port in /etc/inetd.conf first and if it is commented - not to add it. The system administrator probably has some good reason not to open 98 port to the world. 3. During installation linuxconf adds itself to /etc/rc.d/rc*/ with 99 number (as S99linuxconf ) This is bad, because rc.local has the same 99 number. There TWO services with 99 number: /etc/rc.d/rc3.d/S99linuxconf /etc/rc.d/rc3.d/S99local Same thing in rc2,rc4,rc5. This creates serious problems in some situations.
The first two are fixed, the last is not a bug. It is absolutely acceptable to have two services at any one level, as long as it does not matter which runs first -- and it doesn't matter which runs first in this case.
This bug still exists in current linuxconf-1.16r10-2 from recent updates. Multiple entries are added to /etc/inetd.conf and /etc/services
It is most definitely fixed. I have tested this myself repeatedly. It will not remove existing duplicate entries, but it will not add further duplicate entries.
I do not now. This is a log on uname -a Linux vladik2 2.2.12-20 #1 Mon Nov 15 15:36:27 EST 1999 i686 unknow See, one new line is added to /rtc/services and /etc/inetd.conf on each rpm -Uvh --force linuxconf-1.16r10-2.i386.rpm Vladislav [root@vladik2 up2date]# grep linuxconf /etc/inetd.conf #linuxconf stream tcp wait root /bin/linuxconf linuxconf --http #linuxconf stream tcp wait root /bin/linuxconf linuxconf --http [root@vladik2 up2date]# [root@vladik2 up2date]# rpm -Uvh --force linuxconf-1.16r10-2.i386.rpm linuxconf ################################################## [root@vladik2 up2date]# grep linuxconf /etc/inetd.conf #linuxconf stream tcp wait root /bin/linuxconf linuxconf --http #linuxconf stream tcp wait root /bin/linuxconf linuxconf --http linuxconf stream tcp wait root /bin/linuxconf linuxconf --http [root@vladik2 up2date]# [root@vladik2 up2date]# grep linuxconf /etc/services linuxconf 98/tcp linuxconf 98/tcp [root@vladik2 up2date]# rpm -Uvh --force linuxconf-1.16r10-2.i386.rpm linuxconf ################################################## [root@vladik2 up2date]# grep linuxconf /etc/services linuxconf 98/tcp linuxconf 98/tcp linuxconf 98/tcp [root@vladik2 up2date]# grep linuxconf /etc/inetd.conf #linuxconf stream tcp wait root /bin/linuxconf linuxconf --http #linuxconf stream tcp wait root /bin/linuxconf linuxconf --http linuxconf stream tcp wait root /bin/linuxconf linuxconf --http linuxconf stream tcp wait root /bin/linuxconf linuxconf --http [root@vladik2 up2date]#
Missed the "commented out" part. Will fix in the next version.
The issues with inetd.conf and the services file should be cleared up in linuxconf-1.16r10-5, which should be in the next Raw Hide. Please reopen this bug if it does not solve the problem.