Bug#230857: Preinst should rename old devpts.sh to mountkernfs
At Mon, 02 Feb 2004 23:40:19 +0100,
Thomas Hood wrote:
> After installing this version of libc6 I end up with the following:
>
> $ ls -l init.d/*devpts* rc?.d/*devpts*
> -rwxr-xr-x 1 root root 749 2003-10-27 03:09 init.d/devpts.sh
> lrwxrwxrwx 1 root root 19 2003-03-26 00:23 rcS.d/S35devpts.sh -> ../init.d/devpts.sh
> $ ls -l init.d/*kernfs* rc?.d/*kernfs*
> -rwxr-xr-x 1 root root 3100 2004-01-17 22:25 init.d/mountkernfs
> lrwxrwxrwx 1 root root 21 2004-02-02 08:56 rcS.d/S35mountkernfs -> ../init.d/mountkernfs
>
> Since mountkernfs is just a new and improved version of devpts.sh I presume
> that (1) having both devpts.sh and mountkernfs is bad and (2) devpts.sh
> should have been renamed to mountkernfs in the preinst so that the upgrade
> of this conffile would have been dealt with in the normal way.
Exactly, thanks for your pointing out me. It was my fault, I forgot
to handle old devpts.sh. I modified preinst as (1) if old glibc
version is < 2.3.2.ds1-11, rename devpts.sh to mountkernfs (2) if old
glibc version is = 2.3.2.ds1-11, remove devpts.sh.
Regards,
-- gotom
Reply to: