Your message dated Fri, 11 Mar 2016 18:29:22 -0300
with message-id 
<caafdzj96wxggeoituaryhnjsdnbtgaftx3fmo1+xydrxt5n...@mail.gmail.com>
and subject line Re: [sysvinit] update-rc.d does not create symlink in rc*.d
has caused the Debian Bug report #590253,
regarding update-rc.d: does not create symlink in rc*.d
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
590253: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=590253
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sysvinit
Version: 2.88dsf-11
Severity: normal

--- Please enter the report below this line. ---
Hi,
I have written a script and I have tried to add it with

update-rc.d marco_mountnfs.sh enable

getting some errors (something as symlink not found).

After this I ha tryed to disable apache

update-rc.d apache2 remove

and with the command

update-rc.d apache2 enable

I got the same error!

So I have recreated the symlink handly for apache

  456  ln -s /etc/init.d/apache2 /etc/rc0.d/K01apache2
  457  ln -s /etc/init.d/apache2 /etc/rc1.d/K01apache2
  458  ln -s /etc/init.d/apache2 /etc/rc6.d/K01apache2
  459  ln -s /etc/init.d/apache2 /etc/rc2.d/S19apache2
  460  ln -s /etc/init.d/apache2 /etc/rc3.d/S19apache2
  461  ln -s /etc/init.d/apache2 /etc/rc4.d/S19apache2

and my script!

Follows my script


#! /bin/sh
### BEGIN INIT INFO
# Provides:          marco_mountnfs
# Required-Start:    $mountnfs
# Required-Stop:     $network $portmap nfs-common  udev-mtab
# Should-Start:
# Default-Start:     2 3 4 5
# Default-Stop:
# Short-Description: Patch to NFS
# Description:       Patch to NFS
#
#
#
### END INIT INFO

. /lib/init/vars.sh
. /lib/lsb/init-functions

case "$1" in
    start)
        mount -a
        ;;
    restart|reload|force-reload)
        mount -a
        ;;
    stop)
        ;;
    *)
        echo "Usage: $0 start|stop" >&2
        exit 3
        ;;

esac

: exit 0





--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.32-5-686-bigmem

Debian Release: squeeze/sid
  500 testing-proposed-updates ftp.fr.debian.org
  500 testing         www.debian-multimedia.org
  500 testing         security.debian.org
  500 testing         http.us.debian.org
  500 testing         ftp.fr.debian.org

--- Package information. ---
Depends          (Version) | Installed
==========================-+-===========
libc6             (>= 2.3) | 2.11.2-2
libselinux1      (>= 1.32) | 2.0.94-1
libsepol1        (>= 1.14) | 2.0.41-1


Package's Recommends field is empty.

Package's Suggests field is empty.






--- End Message ---
--- Begin Message ---
On Sun, 25 Jul 2010 13:16:21 +0200 Marco Righi <[email protected]> wrote:
> Package: sysvinit
> Version: 2.88dsf-11
> Severity: normal
>
> --- Please enter the report below this line. ---
> Hi,
> I have written a script and I have tried to add it with
>
> update-rc.d marco_mountnfs.sh enable
>
> getting some errors (something as symlink not found).

This is user error. The enable command requires the runlevels on which
it should be enabled to be passed as arguments. Please read the man
page for more details.


Saludos

--- End Message ---

Reply via email to