[Lugge] Re: lanciare un demone all'avvio del sistema

  • From: "enrico" <fumanti@xxxxxx>
  • To: "mailingListLugge" <lugge@xxxxxxxxxxxxx>
  • Date: Thu, 21 Apr 2005 18:12:46 +0200

bravo! i permessi non sono corretti. deve essere eseguibile da root, giusto?
il runlevel è 5, ma io lavoro da remoto con ssh (e quindi testuale)

altre domande che mi spuntano a cascata:

dentro ciascuna dir del tipo rcX.d ci sono solo link a file eseguibili in 
/etc/rc.d/init.d; questo significa che tutti gli script risiedono in init.d e 
vengono lanciati nell'ordine definito dai vari link? 

se è così allora è meglio piazzare anche il mio script in init.d e linkarlo? 

e poi: rc5.d è corrispondente al runlevel 5?

----------------------------------
lrwxrwxrwx    1 root     root           19  8 ott  2004 K05saslauthd -> 
../init.d/saslauthd
lrwxrwxrwx    1 root     root           16  8 ott  2004 K12mysqld -> 
../init.d/mysqld
lrwxrwxrwx    1 root     root           20  8 ott  2004 K15postgresql -> 
../init.d/postgresql
lrwxrwxrwx    1 root     root           13  8 ott  2004 K20nfs -> ../init.d/nfs
lrwxrwxrwx    1 root     root           14  8 ott  2004 K24irda -> 
../init.d/irda
lrwxrwxrwx    1 root     root           15  8 ott  2004 K25squid -> 
../init.d/squid
lrwxrwxrwx    1 root     root           19  8 ott  2004 K34yppasswdd -> 
../init.d/yppasswdd
lrwxrwxrwx    1 root     root           13  8 ott  2004 K35smb -> ../init.d/smb
lrwxrwxrwx    1 root     root           19  8 ott  2004 K35vncserver -> 
../init.d/vncserver
lrwxrwxrwx    1 root     root           17  8 ott  2004 K35winbind -> 
../init.d/winbind
lrwxrwxrwx    1 root     root           15  8 ott  2004 K45named -> 
../init.d/named
lrwxrwxrwx    1 root     root           15  8 ott  2004 K46radvd -> 
../init.d/radvd
lrwxrwxrwx    1 root     root           15  8 ott  2004 K50snmpd -> 
../init.d/snmpd
lrwxrwxrwx    1 root     root           19  8 ott  2004 K50snmptrapd -> 
../init.d/snmptrapd
lrwxrwxrwx    1 root     root           13  8 ott  2004 K50tux -> ../init.d/tux
lrwxrwxrwx    1 root     root           16  8 ott  2004 K50vsftpd -> 
../init.d/vsftpd
lrwxrwxrwx    1 root     root           13  8 ott  2004 K54pxe -> ../init.d/pxe
lrwxrwxrwx    1 root     root           17  8 ott  2004 K70aep1000 -> 
../init.d/aep1000
lrwxrwxrwx    1 root     root           17  8 ott  2004 K70bcm5820 -> 
../init.d/bcm5820
lrwxrwxrwx    1 root     root           16  8 ott  2004 K74ypserv -> 
../init.d/ypserv
lrwxrwxrwx    1 root     root           16  8 ott  2004 K74ypxfrd -> 
../init.d/ypxfrd
lrwxrwxrwx    1 root     root           14  8 ott  2004 K84bgpd -> 
../init.d/bgpd
lrwxrwxrwx    1 root     root           16  8 ott  2004 K84ospf6d -> 
../init.d/ospf6d
lrwxrwxrwx    1 root     root           15  8 ott  2004 K84ospfd -> 
../init.d/ospfd
lrwxrwxrwx    1 root     root           14  8 ott  2004 K84ripd -> 
../init.d/ripd
lrwxrwxrwx    1 root     root           16  8 ott  2004 K84ripngd -> 
../init.d/ripngd
lrwxrwxrwx    1 root     root           15  8 ott  2004 K85zebra -> 
../init.d/zebra
lrwxrwxrwx    1 root     root           19  8 ott  2004 K95firstboot -> 
../init.d/firstboot
lrwxrwxrwx    1 root     root           15  8 ott  2004 S05kudzu -> 
../init.d/kudzu
lrwxrwxrwx    1 root     root           18  8 ott  2004 S08iptables -> 
../init.d/iptables
lrwxrwxrwx    1 root     root           14  8 ott  2004 S09isdn -> 
../init.d/isdn
lrwxrwxrwx    1 root     root           17  8 ott  2004 S10network -> 
../init.d/network
lrwxrwxrwx    1 root     root           16  8 ott  2004 S12syslog -> 
../init.d/syslog
lrwxrwxrwx    1 root     root           17  8 ott  2004 S13portmap -> 
../init.d/portmap
lrwxrwxrwx    1 root     root           17  8 ott  2004 S14nfslock -> 
../init.d/nfslock
lrwxrwxrwx    1 root     root           18  8 ott  2004 S17keytable -> 
../init.d/keytable
lrwxrwxrwx    1 root     root           16  8 ott  2004 S20random -> 
../init.d/random
lrwxrwxrwx    1 root     root           16  8 ott  2004 S24pcmcia -> 
../init.d/pcmcia
lrwxrwxrwx    1 root     root           15  8 ott  2004 S25netfs -> 
../init.d/netfs
lrwxrwxrwx    1 root     root           14  8 ott  2004 S26apmd -> 
../init.d/apmd
lrwxrwxrwx    1 root     root           16  8 ott  2004 S28autofs -> 
../init.d/autofs
lrwxrwxrwx    1 root     root           14  8 ott  2004 S55sshd -> 
../init.d/sshd
lrwxrwxrwx    1 root     root           20  8 ott  2004 S56rawdevices -> 
../init.d/rawdevices
lrwxrwxrwx    1 root     root           16  8 ott  2004 S56xinetd -> 
../init.d/xinetd
lrwxrwxrwx    1 root     root           14  8 ott  2004 S58ntpd -> 
../init.d/ntpd
lrwxrwxrwx    1 root     root           18  8 ott  2004 S80sendmail -> 
../init.d/sendmail
lrwxrwxrwx    1 root     root           13  8 ott  2004 S85gpm -> ../init.d/gpm
lrwxrwxrwx    1 root     root           15 20 apr 15:50 S85httpd -> 
../init.d/httpd
lrwxrwxrwx    1 root     root           15  8 ott  2004 S90crond -> 
../init.d/crond
lrwxrwxrwx    1 root     root           14  8 ott  2004 S90cups -> 
../init.d/cups
lrwxrwxrwx    1 root     root           15 16 ott  2004 S90mysql -> 
../init.d/mysql
lrwxrwxrwx    1 root     root           13  8 ott  2004 S90xfs -> ../init.d/xfs
lrwxrwxrwx    1 root     root           17  8 ott  2004 S95anacron -> 
../init.d/anacron
lrwxrwxrwx    1 root     root           13  8 ott  2004 S95atd -> ../init.d/atd
lrwxrwxrwx    1 root     root           15  8 ott  2004 S97rhnsd -> 
../init.d/rhnsd
-rw-r--r--    1 root     root          599 19 apr 16:50 S98noip
lrwxrwxrwx    1 root     root           11  8 ott  2004 S99local -> ../rc.local
---------------------------------

  ----- Original Message ----- 
  From: Andrea De Gaetano 
  To: lugge@xxxxxxxxxxxxx 
  Sent: Thursday, April 21, 2005 4:48 PM
  Subject: [Lugge] Re: lanciare un demone all'avvio del sistema


  Ciao ,


  > ho piazzato un file di nome S98noip che contiene lo
  > script, pensando che si potesse avviare, ma non è
  > stato così
  > come devo operare per evitare danni?

  linux lo fai partire con login grafico o testuale?
  i permessi sul file sono corretti ?
  ciauz




  ___________________________________ 
  Nuovo Yahoo! Messenger: E' molto più divertente: Audibles, Avatar, Webcam, 
Giochi, Rubrica. Scaricalo ora! 
  http://it.messenger.yahoo.it
  ========---------- 
   
   Archivio delle e-mail postate in lista 
   //www.freelists.org/archives/lugge/ 
   
   Prima di scrivere in m-list per favore leggi il regolamento 
   http://www.lugge.net/index.php?mod=cosa_facciamo/gruppo_di_discussione
    
   Modifica dell'account sulla lista LUGGe 
   http://www.lugge.net/index.php?mod=cosa_facciamo/gruppo_di_discussione#list

   

Other related posts: