[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
Fri Feb 26 16:50:06 CET 2010
A NOTE has been added to this issue.
======================================================================
http://www.opencsw.org/mantis/view.php?id=1839
======================================================================
Reported By: james
Assigned To:
======================================================================
Project: cvsproxy
Issue ID: 1839
Category: upgrade
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2006-09-29 11:50 CEST
Last Modified: 2010-02-26 16:50 CET
======================================================================
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 (reporter) - 2010-02-26 16:50
http://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
More information about the bug-notifications
mailing list