OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001839 [cvsproxy] upgrade major always 2006-09-29 11:50 2013-04-16 15:03
Reporter james View Status public  
Assigned To dam
Priority normal Resolution fixed  
Status closed  
Summary 0001839: pkgrm removes link /etc/inetd.conf -> /etc/inet/inetd.conf and create second inetd.conf
Description 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

Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0006934)
bonivart (developer)
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 (reporter)
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 (developer)
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 (administrator)
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.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker