[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sysvinit and kbd questions (continued)



In article <[🔎] 19980317165840.56520@maan>,  <adavis@netpci.com> wrote:
>The message I am getting comes from /usr/sbin/update-rc.d, which is called by 
>the kbd.postinst script.
>
>if (($linkdst ne "../init.d/$bn") && ($linkdst ne "../init.d/$bn")) {
>	            print STDERR "update-rc.d: warning: $fn is not a link to
>../init.d/$bn\n";
>            return 0;

update-rc.d insists that a link looks like ../init.d/script, and NOT
/etc/init.d/script. This is arguably a bug, since the line you quoted
above looks wrong. It should be

>if (($linkdst ne "../init.d/$bn") && ($linkdst ne "$initd/$bn")) {
>	            print STDERR "update-rc.d: warning: $fn is not a link to

.. as I mailed to this list before.

>	     
>I got this message again when I tried to reinstall over the first
>installation (with the links I had installed (
>/etc/rcS.d/S05keymaps.sh -> ../init/keymaps.sh).

Oh, but that's wrong. You're linking to ../init/.., NOT ../init.d/..
(note init vs init.d)

Mike.
-- 
 Miquel van Smoorenburg |  
    miquels@cistron.nl  |  Luck is when preparation meets opportunity


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: