[bug-notifications] [cvsproxy 0001839]: pkgrm removes link /etc/inetd.conf -> /etc/inet/inetd.conf and create second inetd.conf

Mantis Bug Tracker noreply at opencsw.org
Tue Apr 16 15:03:03 CEST 2013


The following issue has been CLOSED 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=1839 
====================================================================== 
Reported By:                james
Assigned To:                dam
====================================================================== 
Project:                    cvsproxy
Issue ID:                   1839
Category:                   upgrade
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2006-09-29 11:50 CEST
Last Modified:              2013-04-16 15:03 CEST
====================================================================== 
Summary:                    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


====================================================================== 

---------------------------------------------------------------------- 
 (0007527) bonivart (developer) - 2010-02-26 16:50
 https://www.opencsw.org/mantis/view.php?id=1839#c7527 
---------------------------------------------------------------------- 
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
 https://www.opencsw.org/mantis/view.php?id=1839#c10327 
---------------------------------------------------------------------- 
A new cvsproxy 1.0.1,REV=2013.02.08 has been pushed to unstable/.
Cleanup may be needed manually after upgrade.



More information about the bug-notifications mailing list