On Sat, Dec 16, 2006 at 12:34:20PM +0100, Peter Palfrader wrote:
>Package: cvs
>Version: 1.12.13-5
>Severity: serious
>
>I just noticed that cvs breaks my configuration on upgrades.
>
>I added pserver to the inetd.conf:
>| intrepid:~# tail -n1 /etc/inetd.conf 
>| cvspserver      stream  tcp     nowait.400      root    /usr/sbin/tcpd 
>/usr/sbin/cvs-pserver
>
>| intrepid:~# dpkg -i /var/cache/apt/archives/cvs_1%3a1.12.13-5_i386.deb 
>| (Reading database ... 123347 files and directories currently installed.)
>| Preparing to replace cvs 1:1.12.13-5 (using .../cvs_1%3a1.12.13-5_i386.deb) 
>...
>| Unpacking replacement cvs ...
>| Setting up cvs (1.12.13-5) ...
>
>| intrepid:~# tail -n1 /etc/inetd.conf 
>| #<off># cvspserver      stream  tcp     nowait.400      root    
>/usr/sbin/tcpd  /usr/sbin/cvs-pserver
>
>
>Only enabling it using dpkg-reconfigure makes changes persistent accross
>upgrades.

Pardon me for being dense, but I don't see a way in the postinst of
knowing whether I'm being called via dpkg-reconfigure. Any clues?

-- 
Steve McIntyre, Cambridge, UK.                                [EMAIL PROTECTED]
"I can't ever sleep on planes ... call it irrational if you like, but I'm
 afraid I'll miss my stop" -- Vivek Dasmohapatra

Attachment: signature.asc
Description: Digital signature

Reply via email to