Menu

rc3.d really executed ?

Help
2011-05-13
2012-12-12
  • Kevin Steam

    Kevin Steam - 2011-05-13

    Hello,

    I configure my DRBL server with DRBL SSI mode and clonezilla with the box mode. I want to replace the NFS mount of /home/partimag by SSHFS.

    I wanted to start some other services in the etc/rc3.d  of the client (add a automount script for my sshfs).
    So I modify the tarball /tftpboot/node_root/drbl_ssi/template_etc.tgz

    When I reboot the client, the modification in /etc/rc3.d are here but there is no execution

    example for "rsyslog" :

    # ls -ail /etc/rc3.d

    [b]lrwxrwxrwx 1 root root 17 12 mai   17:11 S12rsyslog -> ../init.d/rsyslog[/b]
    lrwxrwxrwx 1 root root 17 12 mai   17:11 S13rpcbind -> ../init.d/rpcbind
    lrwxrwxrwx 1 root root 17 12 mai   17:11 S14nfslock -> ../init.d/nfslock
    lrwxrwxrwx 1 root root 20 12 mai   17:11 S22messagebus -> ../init.d/messagebus
    lrwxrwxrwx 1 root root 15 12 mai   17:11 S25netfs -> ../init.d/netfs
    lrwxrwxrwx 1 root root 15 12 mai   17:11 S26acpid -> ../init.d/acpid
    lrwxrwxrwx 1 root root 19 12 mai   17:11 S26haldaemon -> ../init.d/haldaemon
    lrwxrwxrwx 1 root root 16 12 mai   17:11 S27ypbind -> ../init.d/ypbind
    lrwxrwxrwx 1 root root 20 12 mai   17:11 S35mkswapfile -> ../init.d/mkswapfile
    lrwxrwxrwx 1 root root 14 12 mai   17:11 S55sshd -> ../init.d/sshd
    lrwxrwxrwx 1 root root 15 12 mai   17:11 S90crond -> ../init.d/crond
    lrwxrwxrwx 1 root root 21 12 mai   17:11 S98drblthincli -> ../init.d/drblthincli
    lrwxrwxrwx 1 root root 17 12 mai   17:11 S99arm-wol -> ../init.d/arm-wol
    lrwxrwxrwx 1 root root 19 12 mai   17:11 S99firstboot -> ../init.d/firstboot
    lrwxrwxrwx 1 root root 20 12 mai   17:12 S99mountsshfs -> ../init.d/mountsshfs
    lrwxrwxrwx 1 root root 11 12 mai   17:11 S99rc-local -> ../rc.local
    

    the result is when I reboot no rsyslog in process

    I have modified the original /etc/rc.local of the client to test (I add a simple line  to create a file : touch /etc/test.txt)
    But when I restart the client the file test.txt is not create

    my /etc/inittab is level 3

    I don't understand , rc3.d is really executed ?

    can you help me please ?

    kevin

     
  • Jazz Yao-Tsung Wang

    Hi kevin,

    Which linux distribution and version are you running ? Ubuntu 10.04+ ?

    - Jazz

     
  • Kevin Steam

    Kevin Steam - 2011-05-13

    Hi Jazwang,

    Thank you for your quick answer It is a fedora 14

    kevin

     
  • Steven Shiau

    Steven Shiau - 2011-05-13

    It's recommended to follow this to add the service you want to startup in the client:
    http://drbl.sourceforge.net/one4all/#Setup_the_Diskless_Remote_boot_in

    Before executing step <3a>, you can do some customized config:

    3. If you have extra services (such as apmd and bluetooth) to be on when client boots, you can edit /opt/drbl/conf/client-extra-service, let service_extra_added="apmd bluetooth".

    Steven.

     
  • Kevin Steam

    Kevin Steam - 2011-05-16

    Thank you for your help

    I followed your instruction and reinstalled DRBL. I added the rsyslog service in /opt/drbl/conf/client-extra-service. But unfortunately it doesnt work. I have the rsyslog in the rc3.d but none of the services do not seem to start.

    I continue my research :)

    kevin

     
  • Kevin Steam

    Kevin Steam - 2011-05-17

    I will rephrase my problem, what files should I change to mount /home/partimag by ssh and not nfs

     
  • Steven Shiau

    Steven Shiau - 2011-05-17

    So you want to mount sshfs and do the clonezilla job?
    For Clonezilla SE, the client job is done in run level 1, not rc3. If this is what you really want, you have to modify the files in client's /etc/rc1.d/.

    Steven.

     
  • Kevin Steam

    Kevin Steam - 2011-05-18

    Oh great, everything works effectively by placing the script in the /etc/rc1.d/ directory.

    thank you Steven !

     
  • Steven Shiau

    Steven Shiau - 2011-05-18

    Cool!
    No problem.
    Enjoy!

    Steven.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.