Mantis - cvsproxy
Viewing Issue Advanced Details
1839 upgrade major always 2006-09-29 11:50 2013-04-16 15:03
james  
dam  
normal  
closed  
fixed  
none    
none  
0001839: pkgrm removes link /etc/inetd.conf -> /etc/inet/inetd.conf and create second inetd.conf
edits the file /etc/inetd.conf and moves it to a backup name./ This file is a link so the process creates a new file /etc/inetd.conf and destoys the link to ./inet/inetd.conf. After pkgrm:

$ ls -l /etc/inetd.conf*
-rw-r--r-- 1 root other 6615 Sep 29 16:44 /etc/inetd.conf
lrwxrwxrwx 1 root other 17 Aug 17 11:26 /etc/inetd.conf.O -> ./inet/inetd.conf


Issue History
2009-11-01 12:50 bonivart Note Added: 0006934
2009-11-03 10:44 james Note Added: 0006945
2010-02-26 16:50 bonivart Note Added: 0007527
2010-02-26 22:06 dam Issue Monitored: dam
2013-04-16 15:00 dam Status new => assigned
2013-04-16 15:00 dam Assigned To => dam
2013-04-16 15:03 dam Note Added: 0010327
2013-04-16 15:03 dam Status assigned => closed
2013-04-16 15:03 dam Resolution open => fixed

Notes
(0006934)
bonivart   
2009-11-01 12:50   
This should be fixed in the testing version. Uses new class action script to to inetd.conf/inetconv stuff. Needs to be tested though.
(0006945)
james   
2009-11-03 10:44   
The key to this bug is to ensure clean update by sorting out the mess left by removal of the old package.
(0007527)
bonivart   
2010-02-26 16:50   
Notes from IRC:

16:45:04 <Dagobert> Ok, It should on preinstall for fixing call the following lines:
16:45:04 <Dagobert> build8st# mv /etc/inetd.conf /etc/inet/inetd.conf
16:45:05 <Dagobert> build8st# mv /etc/inetd.conf.O /etc/inetd.conf
16:46:01 <Dagobert> build8st# mv /etc/services /etc/inet/services
16:46:01 <Dagobert> build8st# mv /etc/services.O /etc/services
16:46:15 <Dagobert> And trigger on [ -f /etc/inetd.conf.O ]
16:46:36 <Dagobert> Best location would be pkgutil update hook
16:48:11 <Dagobert> It may go into preinstall script, but that would also trigger when some unware admin make inetd.conf.o himself
16:48:43 <Dagobert> It should for sanity check the link for name and destination also
(0010327)
dam   
2013-04-16 15:03   
A new cvsproxy 1.0.1,REV=2013.02.08 has been pushed to unstable/.
Cleanup may be needed manually after upgrade.