Casino coi runlevel (sysv-rc-conf)[Risolto]

Installazione, configurazione e uso di programmi e strumenti.
Avatar utente
pupiddo
Prode Principiante
Messaggi: 89
Iscrizione: giovedì 14 settembre 2006, 16:25
Località: MILANO

Casino coi runlevel (sysv-rc-conf)[Risolto]

Messaggio da pupiddo »

Ciao ragazzi,
non me ne vogliate ma la mia cronica mancanza di voglia di fare i backup mi ha fatto combinare l'ennesimo casino, forse stavolta ho imparato. (mad)

Stavo seguendo questa guida per velocizzare il boot http://wiki.ubuntu-it.org/VelocizzareBoot ho tolto quindi i servizi che secondo me non erano usati dal mio sistema ed al riavvio dopo quache step il tutto si bloccava ad un "send all processes the TERM signal" senza alcuna possibilità di andare in una console virtuale.Dopo attimi/ore di panico l'unica soluzione che mi è venuta in mente per avere il sistema up al più presto è stata quella di riavviare con la live di ubuntu (anche se ero passato a kubuntu coi pacchetti dei repository) e copiare brutalmente il contenuto dei file contenuti nelle directory /etc/rc0.d - /etc/rc1.d...ecc fino alla rc6.d ed alla rcS.d dopo avere svuotato dai link che erano presenti prima.
Mi sono accorto solo dopo che però quelli sono proprio degli script e non dei link!
ho usato rcconf per aggiugere gli script scritti da me e che sapevo essere utili e, dopo qualche aggiustamento ora il sistema và ma è peggiorato anzicchè migliorato!inoltre allo shutdown si comporta come la live espellendo il cd anche se non presente ed attendendo un enter!
Se sapete come evitare quest'ultimo fastidio vi prego di dirmi qual'è lo script responsabile contenuto nel runlevel 0 ???
fortuna che gli script in /etc/init.d sono intatti e sono questi:

Codice: Seleziona tutto

-rwxr-xr-x 1 root root 3442 2006-05-10 06:39 acct
-rwxr-xr-x 1 root root 2442 2006-10-11 19:06 acpid
-rwxr-xr-x 1 root root  867 2006-10-11 19:06 acpi-support
-rwxr-xr-x 1 root root 9282 2006-10-11 19:06 alsa-utils
-rwxr-xr-x 1 root root 1015 2006-10-11 19:06 anacron
-rwxr-xr-x 1 root root 1386 2006-10-11 19:06 apmd
-rwxr-xr-x 1 root root 1387 2006-10-11 19:06 atd
-rwxr-xr-x 1 root root  749 2006-10-02 09:50 avvioamuled
-rwxr-xr-x 1 root root 2416 2006-10-11 19:06 bittorrent
-rwxr-xr-x 1 root root 2553 2006-05-23 12:39 bootclean.sh
-rwxr-xr-x 1 root root 1788 2006-05-23 12:39 bootlogd
-rwxr-xr-x 1 root root 2030 2006-10-11 19:07 bootmisc.sh
-rwxr-xr-x 1 root root  881 2006-10-12 22:52 brltty
-rwxr-xr-x 1 root root 1984 2006-10-11 19:07 checkfs.sh
-rwxr-xr-x 1 root root 8831 2006-10-11 19:07 checkroot.sh
-rwxr-xr-x 1 root root 5979 2006-10-11 19:07 console-screen.sh
-rwxr-xr-x 1 root root 1739 2006-10-12 22:52 cron
-rwxr-xr-x 1 root root 1933 2006-10-11 19:06 cupsys
-rwxr-xr-x 1 root root 2557 2006-10-11 19:06 dbus
-rwxr--r-- 1 root root  261 2006-09-05 23:32 dial
-rwxr-xr-x 1 root root 1815 2006-01-10 16:34 dirmngr
-rwxr-xr-x 1 root root 5277 2006-04-05 22:44 displayconfig-hwprobe.py
-rwxr-xr-x 1 root root  795 2006-10-11 19:07 dns-clean
-rwxr-xr-x 1 root root  923 2006-10-11 19:07 evms
-rwxr-xr-x 1 root root 3887 2006-06-08 10:19 exim4
-rwxr-xr-x 1 root root 1567 2006-05-16 03:43 firestarter
-rwxr-xr-x 1 root root 2569 2006-10-11 19:06 gdm
-rwxr-xr-x 1 root root 6175 2006-05-21 20:46 glibc.sh
-rwxr-xr-x 1 root root 1404 2006-10-12 22:52 halt
-rwxr-xr-x 1 root root 5137 2005-04-21 12:10 hdparm
-rwxr-xr-x 1 root root  992 2006-10-11 19:07 hostname.sh
-rwxr-xr-x 1 root root 2245 2006-10-11 19:06 hotkey-setup
-rwxr-xr-x 1 root root 4213 2006-10-11 19:06 hplip
-rwxr-xr-x 1 root root 3634 2006-10-11 19:07 hwclock.sh
-rwxr-xr-x 1 root root 3503 2006-05-22 20:41 kdm
-rwxr-xr-x 1 root root 3170 2006-10-11 19:07 keymap.sh
-rwxr-xr-x 1 root root 1840 2006-10-12 22:52 klogd
-rwxr-xr-x 1 root root 1153 2006-10-11 19:06 laptop-mode
-rwxr-xr-x 1 root root  349 2006-05-29 14:44 linux-restricted-modules-common
-rwxr-xr-x 1 root root  748 2006-10-11 19:07 loopback
-rwxr-xr-x 1 root root 3181 2006-03-31 19:44 lprng
-rwxr-xr-x 1 root root 2867 2006-10-11 19:07 lvm
-rwxr-xr-x 1 root root  822 2006-10-12 22:52 makedev
-rwxr-xr-x 1 root root 1124 2006-10-11 19:06 mdadm
-rwxr-xr-x 1 root root 1059 2006-10-11 19:07 mdadm-raid
-rwxr-xr-x 1 root root 2173 2006-04-20 18:50 mgetty-fax
-rwxr-xr-x 1 root root  921 2006-10-12 22:52 module-init-tools
-rwxr-xr-x 1 root root 2069 2006-10-11 19:07 mountall.sh
-rwxr-xr-x 1 root root 1256 2006-10-12 22:52 mountdevsubfs
-rwxr-xr-x 1 root root 1384 2006-10-12 22:52 mountvirtfs
-rwxr-xr-x 1 root root 2290 2006-10-12 22:52 mtab
-rwxr-xr-x 1 root root 3674 2006-04-06 09:00 nessusd
-rwxr-xr-x 1 root root 1685 2006-10-11 19:07 networking
-rwxr-xr-x 1 root root 3876 2006-04-10 12:41 nfs-common
-rwxr-xr-x 1 root root 3674 2006-04-10 12:41 nfs-kernel-server
-rwxr-xr-x 1 root root  906 2006-05-29 04:47 ntp-server
-rwxr-xr-x 1 root root  860 2006-10-11 19:06 nvidia-kernel
-rwxr-xr-x 1 root root 6773 2006-10-11 19:06 pcmcia
-rwxr-xr-x 1 root root 3386 2006-10-11 19:06 pcmciautils
-rwxr-xr-x 1 root root 1571 2006-01-13 09:43 portmap
-rwxr-xr-x 1 root root 3629 2006-10-12 22:52 powernowd
-rwxr-xr-x 1 root root 1061 2006-10-11 19:06 ppp
-rwxr-xr-x 1 root root  281 2006-10-11 19:07 pppd-dns
-rwxr-xr-x 1 root root 1670 2005-12-19 23:58 privoxy
-rwxr-xr-x 1 root root 1234 2006-10-11 19:07 procps.sh
-rwxr-xr-x 1 root root 6897 2006-05-23 12:39 rc
-rwxr-xr-x 1 root root  522 2006-10-11 19:06 rc.local
-rwxr-xr-x 1 root root  188 2006-05-23 12:39 rcS
-rwxr-xr-x 1 root root 1400 2006-10-04 22:49 readahead
-rwxr-xr-x 1 root root 1859 2006-10-04 22:49 readahead-desktop
-rw-r--r-- 1 root root  866 2006-05-23 12:39 README
-rwxr-xr-x 1 root root  732 2006-10-12 22:52 reboot
-rwxr-xr-x 1 root root 1226 2006-10-11 19:06 rmnologin
-rwxr-xr-x 1 root root 2924 2006-10-11 19:06 rsync
-rwxr-xr-x 1 root root  452 2006-10-11 19:07 screen
-rwxr-xr-x 1 root root 1081 2006-10-12 22:52 sendsigs
-rwxr-xr-x 1 root root 2459 2006-01-07 16:55 shorewall
-rwxr-xr-x 1 root root 1126 2006-10-12 22:52 single
-rwxr-xr-x 1 root root 2679 2006-05-23 12:39 skeleton
-rwxr-xr-x 1 root root  400 2006-10-01 23:02 spedisciIP
-rwxr-xr-x 1 root root 2016 2006-05-18 02:43 ssh
lrwxrwxrwx 1 root root    8 2006-06-06 22:38 stop-bootlogd -> bootlogd
-rwxr-xr-x 1 root root  864 2006-10-11 19:06 stop-readahead
-rwxr-xr-x 1 root root 1669 2006-10-12 22:52 sysklogd
-rwxr-xr-x 1 root root 3836 2006-03-17 08:37 tor
-rwxr-xr-x 1 root root 2539 2006-10-12 22:52 udev
-rwxr-xr-x 1 root root 1588 2006-10-12 22:52 umountfs
-rwxr-xr-x 1 root root 1989 2006-10-11 19:06 umountnfs.sh
-rwxr-xr-x 1 root root  912 2006-10-11 19:06 umountroot
-rwxr-xr-x 1 root root 1965 2006-10-11 19:07 urandom
-rwxr-xr-x 1 root root 2192 2006-10-11 19:06 usplash
-rwxr-xr-x 1 root root  820 2006-10-11 19:06 vbesave
-rwxr-xr-x 1 root root 1967 2006-10-11 19:07 waitnfs.sh
-rwxr-xr-x 1 root root 1091 2006-10-11 19:07 x11-common
Inutile dire che il top sarebbe sapere esattamente quali crocette selezionare in sysv-rc-conf per ogni runlevel ed ottenere cosi i link giusti(se non ho inteso male!) e poter cancellare gli script dalle directory dei runlevel.



Vi posto il contenuto attuale delle attuali directory incriminate.

Codice: Seleziona tutto

-rwxr-xr-x 1 root root 2569 2006-10-12 23:52 /etc/rc0.d/K01gdm
lrwxrwxrwx 1 root root   13 2006-10-12 23:59 /etc/rc0.d/K01kdm -> ../init.d/kdm
-rwxr-xr-x 1 root root 2192 2006-10-12 23:52 /etc/rc0.d/K01usplash
-rwxr-xr-x 1 root root 1015 2006-10-12 23:52 /etc/rc0.d/K11anacron
-rwxr-xr-x 1 root root 1387 2006-10-12 23:52 /etc/rc0.d/K11atd
-rwxr-xr-x 1 root root 1739 2006-10-12 23:52 /etc/rc0.d/K11cron
-rwxr-xr-x 1 root root 1933 2006-10-12 23:52 /etc/rc0.d/K19cupsys
-rwxr-xr-x 1 root root  867 2006-10-12 23:52 /etc/rc0.d/K20acpi-support
-rwxr-xr-x 1 root root 1386 2006-10-12 23:52 /etc/rc0.d/K20apmd
lrwxrwxrwx 1 root root   21 2006-10-12 23:59 /etc/rc0.d/K20avvioamuled -> ../init.d/avvioamuled
-rwxr-xr-x 1 root root 2416 2006-10-12 23:52 /etc/rc0.d/K20bittorrent
lrwxrwxrwx 1 root root   18 2006-10-12 23:59 /etc/rc0.d/K20bootlogd -> ../init.d/bootlogd
-rwxr-xr-x 1 root root 2557 2006-10-12 23:52 /etc/rc0.d/K20dbus
lrwxrwxrwx 1 root root   14 2006-10-12 23:59 /etc/rc0.d/K20dial -> ../init.d/dial
-rwxr-xr-x 1 root root 1196 2006-10-12 23:52 /etc/rc0.d/K20festival
lrwxrwxrwx 1 root root   16 2006-10-12 23:59 /etc/rc0.d/K20hdparm -> ../init.d/hdparm
-rwxr-xr-x 1 root root 2245 2006-10-12 23:52 /etc/rc0.d/K20hotkey-setup
-rwxr-xr-x 1 root root 1153 2006-10-12 23:52 /etc/rc0.d/K20laptop-mode
-rwxr-xr-x 1 root root  822 2006-10-12 23:52 /etc/rc0.d/K20makedev
-rwxr-xr-x 1 root root  860 2006-10-12 23:52 /etc/rc0.d/K20nvidia-kernel
-rwxr-xr-x 1 root root 3629 2006-10-12 23:52 /etc/rc0.d/K20powernowd
-rwxr-xr-x 1 root root 2924 2006-10-12 23:52 /etc/rc0.d/K20rsync
lrwxrwxrwx 1 root root   13 2006-10-12 23:59 /etc/rc0.d/K20ssh -> ../init.d/ssh
lrwxrwxrwx 1 root root   23 2006-10-12 23:59 /etc/rc0.d/K20stop-bootlogd -> ../init.d/stop-bootlogd
-rwxr-xr-x 1 root root 2442 2006-10-12 23:52 /etc/rc0.d/K21acpid
-rwxr-xr-x 1 root root 4213 2006-10-12 23:52 /etc/rc0.d/K21hplip
-rwxr-xr-x 1 root root 1124 2006-10-12 23:52 /etc/rc0.d/K25mdadm
-rwxr-xr-x 1 root root 9282 2006-10-12 23:52 /etc/rc0.d/K50alsa-utils
-rwxr-xr-x 1 root root 5298 2006-10-12 23:52 /etc/rc0.d/K74bluez-utils
-rwxr-xr-x 1 root root 1061 2006-10-12 23:52 /etc/rc0.d/K86ppp
-rwxr-xr-x 1 root root 6773 2006-10-12 23:52 /etc/rc0.d/K88pcmcia
-rwxr-xr-x 1 root root 3386 2006-10-12 23:52 /etc/rc0.d/K88pcmciautils
-rwxr-xr-x 1 root root 1840 2006-10-12 23:52 /etc/rc0.d/K89klogd
-rwxr-xr-x 1 root root 1669 2006-10-12 23:52 /etc/rc0.d/K90sysklogd
-rwxr-xr-x 1 root root  349 2006-10-12 23:52 /etc/rc0.d/S01linux-restricted-modules-common
-rwxr-xr-x 1 root root 1081 2006-10-12 23:52 /etc/rc0.d/S20sendsigs
-rwxr-xr-x 1 root root 1965 2006-10-12 23:52 /etc/rc0.d/S30urandom
-rwxr-xr-x 1 root root 1989 2006-10-12 23:52 /etc/rc0.d/S31umountnfs.sh
-rwxr-xr-x 1 root root 1685 2006-10-12 23:52 /etc/rc0.d/S35networking
-rwxr-xr-x 1 root root 1588 2006-10-12 23:52 /etc/rc0.d/S40umountfs
-rwxr-xr-x 1 root root  923 2006-10-12 23:52 /etc/rc0.d/S49evms
-rwxr-xr-x 1 root root 2867 2006-10-12 23:52 /etc/rc0.d/S50lvm
-rwxr-xr-x 1 root root 1059 2006-10-12 23:52 /etc/rc0.d/S50mdadm-raid
-rwxr-xr-x 1 root root  912 2006-10-12 23:52 /etc/rc0.d/S60umountroot
-rwxr-xr-x 1 root root 1050 2006-10-12 23:52 /etc/rc0.d/S89casper
-rwxr-xr-x 1 root root 1404 2006-10-12 23:52 /etc/rc0.d/S90halt
-rwxr-xr-x 1 root root 2569 2006-10-12 23:52 /etc/rc1.d/K01gdm
lrwxrwxrwx 1 root root   13 2006-10-12 23:59 /etc/rc1.d/K01kdm -> ../init.d/kdm
-rwxr-xr-x 1 root root 2192 2006-10-12 23:52 /etc/rc1.d/K01usplash
-rwxr-xr-x 1 root root 1015 2006-10-12 23:52 /etc/rc1.d/K11anacron
-rwxr-xr-x 1 root root 1387 2006-10-12 23:52 /etc/rc1.d/K11atd
-rwxr-xr-x 1 root root 1739 2006-10-12 23:52 /etc/rc1.d/K11cron
-rwxr-xr-x 1 root root 1933 2006-10-12 23:52 /etc/rc1.d/K19cupsys
-rwxr-xr-x 1 root root  867 2006-10-12 23:52 /etc/rc1.d/K20acpi-support
-rwxr-xr-x 1 root root 1386 2006-10-12 23:52 /etc/rc1.d/K20apmd
lrwxrwxrwx 1 root root   21 2006-10-12 23:59 /etc/rc1.d/K20avvioamuled -> ../init.d/avvioamuled
lrwxrwxrwx 1 root root   18 2006-10-12 23:59 /etc/rc1.d/K20bootlogd -> ../init.d/bootlogd
-rwxr-xr-x 1 root root 2557 2006-10-12 23:52 /etc/rc1.d/K20dbus
lrwxrwxrwx 1 root root   14 2006-10-12 23:59 /etc/rc1.d/K20dial -> ../init.d/dial
-rwxr-xr-x 1 root root 1196 2006-10-12 23:52 /etc/rc1.d/K20festival
lrwxrwxrwx 1 root root   16 2006-10-12 23:59 /etc/rc1.d/K20hdparm -> ../init.d/hdparm
-rwxr-xr-x 1 root root 2245 2006-10-12 23:52 /etc/rc1.d/K20hotkey-setup
-rwxr-xr-x 1 root root 1153 2006-10-12 23:52 /etc/rc1.d/K20laptop-mode
-rwxr-xr-x 1 root root  822 2006-10-12 23:52 /etc/rc1.d/K20makedev
-rwxr-xr-x 1 root root  860 2006-10-12 23:52 /etc/rc1.d/K20nvidia-kernel
-rwxr-xr-x 1 root root 3629 2006-10-12 23:52 /etc/rc1.d/K20powernowd
-rwxr-xr-x 1 root root 2924 2006-10-12 23:52 /etc/rc1.d/K20rsync
lrwxrwxrwx 1 root root   13 2006-10-12 23:59 /etc/rc1.d/K20ssh -> ../init.d/ssh
lrwxrwxrwx 1 root root   23 2006-10-12 23:59 /etc/rc1.d/K20stop-bootlogd -> ../init.d/stop-bootlogd
-rwxr-xr-x 1 root root 2442 2006-10-12 23:52 /etc/rc1.d/K21acpid
-rwxr-xr-x 1 root root 4213 2006-10-12 23:52 /etc/rc1.d/K21hplip
-rwxr-xr-x 1 root root 1124 2006-10-12 23:52 /etc/rc1.d/K25mdadm
-rwxr-xr-x 1 root root 5298 2006-10-12 23:52 /etc/rc1.d/K74bluez-utils
-rwxr-xr-x 1 root root 1061 2006-10-12 23:52 /etc/rc1.d/K86ppp
-rwxr-xr-x 1 root root 1840 2006-10-12 23:52 /etc/rc1.d/K89klogd
-rwxr-xr-x 1 root root 1669 2006-10-12 23:52 /etc/rc1.d/K90sysklogd
-rwxr-xr-x 1 root root 1126 2006-10-12 23:52 /etc/rc1.d/S20single
-rwxr-xr-x 1 root root  820 2006-10-12 23:53 /etc/rc2.d/S05vbesave
-rwxr-xr-x 1 root root 2442 2006-10-12 23:53 /etc/rc2.d/S10acpid
-rwxr-xr-x 1 root root  177 2006-10-12 23:53 /etc/rc2.d/S10powernowd.early
-rwxr-xr-x 1 root root 1669 2006-10-12 23:53 /etc/rc2.d/S10sysklogd
-rwxr-xr-x 1 root root 1840 2006-10-12 23:53 /etc/rc2.d/S11klogd
-rwxr-xr-x 1 root root 2569 2006-10-12 23:53 /etc/rc2.d/S13gdm
-rwxr-xr-x 1 root root 1061 2006-10-12 23:53 /etc/rc2.d/S14ppp
-rwxr-xr-x 1 root root 4213 2006-10-12 23:53 /etc/rc2.d/S18hplip
-rwxr-xr-x 1 root root 1933 2006-10-12 23:53 /etc/rc2.d/S19cupsys
-rwxr-xr-x 1 root root 1386 2006-10-12 23:53 /etc/rc2.d/S20apmd
lrwxrwxrwx 1 root root   21 2006-10-12 23:59 /etc/rc2.d/S20avvioamuled -> ../init.d/avvioamuled
lrwxrwxrwx 1 root root   18 2006-10-12 23:59 /etc/rc2.d/S20bootlogd -> ../init.d/bootlogd
-rwxr-xr-x 1 root root 2557 2006-10-12 23:53 /etc/rc2.d/S20dbus
lrwxrwxrwx 1 root root   14 2006-10-12 23:59 /etc/rc2.d/S20dial -> ../init.d/dial
-rwxr-xr-x 1 root root 1196 2006-10-12 23:53 /etc/rc2.d/S20festival
lrwxrwxrwx 1 root root   16 2006-10-12 23:59 /etc/rc2.d/S20hdparm -> ../init.d/hdparm
-rwxr-xr-x 1 root root 2245 2006-10-12 23:53 /etc/rc2.d/S20hotkey-setup
-rwxr-xr-x 1 root root 1153 2006-10-12 23:53 /etc/rc2.d/S20laptop-mode
-rwxr-xr-x 1 root root  822 2006-10-12 23:53 /etc/rc2.d/S20makedev
-rwxr-xr-x 1 root root  860 2006-10-12 23:53 /etc/rc2.d/S20nvidia-kernel
-rwxr-xr-x 1 root root 3629 2006-10-12 23:53 /etc/rc2.d/S20powernowd
-rwxr-xr-x 1 root root 2924 2006-10-12 23:53 /etc/rc2.d/S20rsync
lrwxrwxrwx 1 root root   13 2006-10-12 23:59 /etc/rc2.d/S20ssh -> ../init.d/ssh
lrwxrwxrwx 1 root root   23 2006-10-12 23:59 /etc/rc2.d/S20stop-bootlogd -> ../init.d/stop-bootlogd
-rwxr-xr-x 1 root root 5298 2006-10-12 23:53 /etc/rc2.d/S25bluez-utils
-rwxr-xr-x 1 root root 1124 2006-10-12 23:53 /etc/rc2.d/S25mdadm
-rwxr-xr-x 1 root root 1387 2006-10-12 23:53 /etc/rc2.d/S89atd
-rwxr-xr-x 1 root root 1739 2006-10-12 23:53 /etc/rc2.d/S89cron
-rwxr-xr-x 1 root root 2192 2006-10-12 23:53 /etc/rc2.d/S98usplash
-rwxr-xr-x 1 root root  867 2006-10-12 23:53 /etc/rc2.d/S99acpi-support
lrwxrwxrwx 1 root root   13 2006-10-12 23:59 /etc/rc2.d/S99kdm -> ../init.d/kdm
-rwxr-xr-x 1 root root  522 2006-10-12 23:53 /etc/rc2.d/S99rc.local
-rwxr-xr-x 1 root root 1226 2006-10-12 23:53 /etc/rc2.d/S99rmnologin
-rwxr-xr-x 1 root root  864 2006-10-12 23:53 /etc/rc2.d/S99stop-readahead
-rwxr-xr-x 1 root root  820 2006-10-12 23:53 /etc/rc3.d/S05vbesave
-rwxr-xr-x 1 root root 2442 2006-10-12 23:53 /etc/rc3.d/S10acpid
-rwxr-xr-x 1 root root 1669 2006-10-12 23:53 /etc/rc3.d/S10sysklogd
-rwxr-xr-x 1 root root 1840 2006-10-12 23:53 /etc/rc3.d/S11klogd
-rwxr-xr-x 1 root root 2569 2006-10-12 23:53 /etc/rc3.d/S13gdm
-rwxr-xr-x 1 root root 1061 2006-10-12 23:53 /etc/rc3.d/S14ppp
-rwxr-xr-x 1 root root 4213 2006-10-12 23:53 /etc/rc3.d/S18hplip
-rwxr-xr-x 1 root root 1933 2006-10-12 23:53 /etc/rc3.d/S19cupsys
-rwxr-xr-x 1 root root 1386 2006-10-12 23:53 /etc/rc3.d/S20apmd
lrwxrwxrwx 1 root root   21 2006-10-12 23:59 /etc/rc3.d/S20avvioamuled -> ../init.d/avvioamuled
lrwxrwxrwx 1 root root   18 2006-10-12 23:59 /etc/rc3.d/S20bootlogd -> ../init.d/bootlogd
-rwxr-xr-x 1 root root 2557 2006-10-12 23:53 /etc/rc3.d/S20dbus
lrwxrwxrwx 1 root root   14 2006-10-12 23:59 /etc/rc3.d/S20dial -> ../init.d/dial
-rwxr-xr-x 1 root root 1196 2006-10-12 23:53 /etc/rc3.d/S20festival
lrwxrwxrwx 1 root root   16 2006-10-12 23:59 /etc/rc3.d/S20hdparm -> ../init.d/hdparm
-rwxr-xr-x 1 root root 2245 2006-10-12 23:53 /etc/rc3.d/S20hotkey-setup
-rwxr-xr-x 1 root root 1153 2006-10-12 23:53 /etc/rc3.d/S20laptop-mode
-rwxr-xr-x 1 root root  822 2006-10-12 23:53 /etc/rc3.d/S20makedev
-rwxr-xr-x 1 root root  860 2006-10-12 23:53 /etc/rc3.d/S20nvidia-kernel
-rwxr-xr-x 1 root root 3629 2006-10-12 23:53 /etc/rc3.d/S20powernowd
-rwxr-xr-x 1 root root 2924 2006-10-12 23:53 /etc/rc3.d/S20rsync
lrwxrwxrwx 1 root root   13 2006-10-12 23:59 /etc/rc3.d/S20ssh -> ../init.d/ssh
lrwxrwxrwx 1 root root   23 2006-10-12 23:59 /etc/rc3.d/S20stop-bootlogd -> ../init.d/stop-bootlogd
-rwxr-xr-x 1 root root 5298 2006-10-12 23:53 /etc/rc3.d/S25bluez-utils
-rwxr-xr-x 1 root root 1124 2006-10-12 23:53 /etc/rc3.d/S25mdadm
-rwxr-xr-x 1 root root 1015 2006-10-12 23:53 /etc/rc3.d/S89anacron
-rwxr-xr-x 1 root root 1387 2006-10-12 23:53 /etc/rc3.d/S89atd
-rwxr-xr-x 1 root root 1739 2006-10-12 23:53 /etc/rc3.d/S89cron
-rwxr-xr-x 1 root root 2192 2006-10-12 23:53 /etc/rc3.d/S98usplash
-rwxr-xr-x 1 root root  867 2006-10-12 23:53 /etc/rc3.d/S99acpi-support
lrwxrwxrwx 1 root root   13 2006-10-12 23:59 /etc/rc3.d/S99kdm -> ../init.d/kdm
-rwxr-xr-x 1 root root  522 2006-10-12 23:53 /etc/rc3.d/S99rc.local
-rwxr-xr-x 1 root root 1226 2006-10-12 23:53 /etc/rc3.d/S99rmnologin
-rwxr-xr-x 1 root root  820 2006-10-12 23:53 /etc/rc4.d/S05vbesave
-rwxr-xr-x 1 root root 2442 2006-10-12 23:53 /etc/rc4.d/S10acpid
-rwxr-xr-x 1 root root 1669 2006-10-12 23:53 /etc/rc4.d/S10sysklogd
-rwxr-xr-x 1 root root 1840 2006-10-12 23:53 /etc/rc4.d/S11klogd
-rwxr-xr-x 1 root root 2569 2006-10-12 23:53 /etc/rc4.d/S13gdm
-rwxr-xr-x 1 root root 1061 2006-10-12 23:53 /etc/rc4.d/S14ppp
-rwxr-xr-x 1 root root 4213 2006-10-12 23:53 /etc/rc4.d/S18hplip
-rwxr-xr-x 1 root root 1933 2006-10-12 23:53 /etc/rc4.d/S19cupsys
-rwxr-xr-x 1 root root 1386 2006-10-12 23:53 /etc/rc4.d/S20apmd
lrwxrwxrwx 1 root root   21 2006-10-12 23:59 /etc/rc4.d/S20avvioamuled -> ../init.d/avvioamuled
lrwxrwxrwx 1 root root   18 2006-10-12 23:59 /etc/rc4.d/S20bootlogd -> ../init.d/bootlogd
-rwxr-xr-x 1 root root 2557 2006-10-12 23:53 /etc/rc4.d/S20dbus
lrwxrwxrwx 1 root root   14 2006-10-12 23:59 /etc/rc4.d/S20dial -> ../init.d/dial
-rwxr-xr-x 1 root root 1196 2006-10-12 23:53 /etc/rc4.d/S20festival
lrwxrwxrwx 1 root root   16 2006-10-12 23:59 /etc/rc4.d/S20hdparm -> ../init.d/hdparm
-rwxr-xr-x 1 root root 2245 2006-10-12 23:53 /etc/rc4.d/S20hotkey-setup
-rwxr-xr-x 1 root root 1153 2006-10-12 23:53 /etc/rc4.d/S20laptop-mode
-rwxr-xr-x 1 root root  822 2006-10-12 23:53 /etc/rc4.d/S20makedev
-rwxr-xr-x 1 root root  860 2006-10-12 23:53 /etc/rc4.d/S20nvidia-kernel
-rwxr-xr-x 1 root root 3629 2006-10-12 23:53 /etc/rc4.d/S20powernowd
-rwxr-xr-x 1 root root 2924 2006-10-12 23:53 /etc/rc4.d/S20rsync
lrwxrwxrwx 1 root root   13 2006-10-12 23:59 /etc/rc4.d/S20ssh -> ../init.d/ssh
lrwxrwxrwx 1 root root   23 2006-10-12 23:59 /etc/rc4.d/S20stop-bootlogd -> ../init.d/stop-bootlogd
-rwxr-xr-x 1 root root 5298 2006-10-12 23:53 /etc/rc4.d/S25bluez-utils
-rwxr-xr-x 1 root root 1124 2006-10-12 23:53 /etc/rc4.d/S25mdadm
-rwxr-xr-x 1 root root 1015 2006-10-12 23:53 /etc/rc4.d/S89anacron
-rwxr-xr-x 1 root root 1387 2006-10-12 23:53 /etc/rc4.d/S89atd
-rwxr-xr-x 1 root root 1739 2006-10-12 23:53 /etc/rc4.d/S89cron
-rwxr-xr-x 1 root root 2192 2006-10-12 23:53 /etc/rc4.d/S98usplash
-rwxr-xr-x 1 root root  867 2006-10-12 23:53 /etc/rc4.d/S99acpi-support
lrwxrwxrwx 1 root root   13 2006-10-12 23:59 /etc/rc4.d/S99kdm -> ../init.d/kdm
-rwxr-xr-x 1 root root  522 2006-10-12 23:53 /etc/rc4.d/S99rc.local
-rwxr-xr-x 1 root root 1226 2006-10-12 23:53 /etc/rc4.d/S99rmnologin
-rwxr-xr-x 1 root root  820 2006-10-12 23:53 /etc/rc5.d/S05vbesave
-rwxr-xr-x 1 root root 2442 2006-10-12 23:53 /etc/rc5.d/S10acpid
-rwxr-xr-x 1 root root 1669 2006-10-12 23:53 /etc/rc5.d/S10sysklogd
-rwxr-xr-x 1 root root 1840 2006-10-12 23:53 /etc/rc5.d/S11klogd
-rwxr-xr-x 1 root root 2569 2006-10-12 23:53 /etc/rc5.d/S13gdm
-rwxr-xr-x 1 root root 1061 2006-10-12 23:53 /etc/rc5.d/S14ppp
-rwxr-xr-x 1 root root 4213 2006-10-12 23:53 /etc/rc5.d/S18hplip
-rwxr-xr-x 1 root root 1933 2006-10-12 23:53 /etc/rc5.d/S19cupsys
-rwxr-xr-x 1 root root 1386 2006-10-12 23:53 /etc/rc5.d/S20apmd
lrwxrwxrwx 1 root root   21 2006-10-12 23:59 /etc/rc5.d/S20avvioamuled -> ../init.d/avvioamuled
lrwxrwxrwx 1 root root   18 2006-10-12 23:59 /etc/rc5.d/S20bootlogd -> ../init.d/bootlogd
-rwxr-xr-x 1 root root 2557 2006-10-12 23:53 /etc/rc5.d/S20dbus
lrwxrwxrwx 1 root root   14 2006-10-12 23:59 /etc/rc5.d/S20dial -> ../init.d/dial
-rwxr-xr-x 1 root root 1196 2006-10-12 23:53 /etc/rc5.d/S20festival
lrwxrwxrwx 1 root root   16 2006-10-12 23:59 /etc/rc5.d/S20hdparm -> ../init.d/hdparm
-rwxr-xr-x 1 root root 2245 2006-10-12 23:53 /etc/rc5.d/S20hotkey-setup
-rwxr-xr-x 1 root root 1153 2006-10-12 23:53 /etc/rc5.d/S20laptop-mode
-rwxr-xr-x 1 root root  822 2006-10-12 23:53 /etc/rc5.d/S20makedev
-rwxr-xr-x 1 root root  860 2006-10-12 23:53 /etc/rc5.d/S20nvidia-kernel
-rwxr-xr-x 1 root root 3629 2006-10-12 23:53 /etc/rc5.d/S20powernowd
-rwxr-xr-x 1 root root 2924 2006-10-12 23:53 /etc/rc5.d/S20rsync
lrwxrwxrwx 1 root root   13 2006-10-12 23:59 /etc/rc5.d/S20ssh -> ../init.d/ssh
lrwxrwxrwx 1 root root   23 2006-10-12 23:59 /etc/rc5.d/S20stop-bootlogd -> ../init.d/stop-bootlogd
-rwxr-xr-x 1 root root 5298 2006-10-12 23:53 /etc/rc5.d/S25bluez-utils
-rwxr-xr-x 1 root root 1124 2006-10-12 23:53 /etc/rc5.d/S25mdadm
-rwxr-xr-x 1 root root 1015 2006-10-12 23:53 /etc/rc5.d/S89anacron
-rwxr-xr-x 1 root root 1387 2006-10-12 23:53 /etc/rc5.d/S89atd
-rwxr-xr-x 1 root root 1739 2006-10-12 23:53 /etc/rc5.d/S89cron
-rwxr-xr-x 1 root root 2192 2006-10-12 23:53 /etc/rc5.d/S98usplash
-rwxr-xr-x 1 root root  867 2006-10-12 23:53 /etc/rc5.d/S99acpi-support
lrwxrwxrwx 1 root root   13 2006-10-12 23:59 /etc/rc5.d/S99kdm -> ../init.d/kdm
-rwxr-xr-x 1 root root  522 2006-10-12 23:53 /etc/rc5.d/S99rc.local
-rwxr-xr-x 1 root root 1226 2006-10-12 23:53 /etc/rc5.d/S99rmnologin
-rwxr-xr-x 1 root root 2569 2006-10-12 23:53 /etc/rc6.d/K01gdm
lrwxrwxrwx 1 root root   13 2006-10-12 23:59 /etc/rc6.d/K01kdm -> ../init.d/kdm
-rwxr-xr-x 1 root root 2192 2006-10-12 23:53 /etc/rc6.d/K01usplash
-rwxr-xr-x 1 root root 1015 2006-10-12 23:53 /etc/rc6.d/K11anacron
-rwxr-xr-x 1 root root 1387 2006-10-12 23:53 /etc/rc6.d/K11atd
-rwxr-xr-x 1 root root 1739 2006-10-12 23:53 /etc/rc6.d/K11cron
-rwxr-xr-x 1 root root 1933 2006-10-12 23:53 /etc/rc6.d/K19cupsys
-rwxr-xr-x 1 root root  867 2006-10-12 23:53 /etc/rc6.d/K20acpi-support
-rwxr-xr-x 1 root root 1386 2006-10-12 23:53 /etc/rc6.d/K20apmd
lrwxrwxrwx 1 root root   21 2006-10-12 23:59 /etc/rc6.d/K20avvioamuled -> ../init.d/avvioamuled
-rwxr-xr-x 1 root root 2416 2006-10-12 23:53 /etc/rc6.d/K20bittorrent
lrwxrwxrwx 1 root root   18 2006-10-12 23:59 /etc/rc6.d/K20bootlogd -> ../init.d/bootlogd
-rwxr-xr-x 1 root root 2557 2006-10-12 23:53 /etc/rc6.d/K20dbus
lrwxrwxrwx 1 root root   14 2006-10-12 23:59 /etc/rc6.d/K20dial -> ../init.d/dial
-rwxr-xr-x 1 root root 1196 2006-10-12 23:53 /etc/rc6.d/K20festival
lrwxrwxrwx 1 root root   16 2006-10-12 23:59 /etc/rc6.d/K20hdparm -> ../init.d/hdparm
-rwxr-xr-x 1 root root 2245 2006-10-12 23:53 /etc/rc6.d/K20hotkey-setup
-rwxr-xr-x 1 root root 1153 2006-10-12 23:53 /etc/rc6.d/K20laptop-mode
-rwxr-xr-x 1 root root  822 2006-10-12 23:53 /etc/rc6.d/K20makedev
-rwxr-xr-x 1 root root  860 2006-10-12 23:53 /etc/rc6.d/K20nvidia-kernel
-rwxr-xr-x 1 root root 3629 2006-10-12 23:53 /etc/rc6.d/K20powernowd
-rwxr-xr-x 1 root root 2924 2006-10-12 23:53 /etc/rc6.d/K20rsync
lrwxrwxrwx 1 root root   13 2006-10-12 23:59 /etc/rc6.d/K20ssh -> ../init.d/ssh
lrwxrwxrwx 1 root root   23 2006-10-12 23:59 /etc/rc6.d/K20stop-bootlogd -> ../init.d/stop-bootlogd
-rwxr-xr-x 1 root root 2442 2006-10-12 23:53 /etc/rc6.d/K21acpid
-rwxr-xr-x 1 root root 4213 2006-10-12 23:53 /etc/rc6.d/K21hplip
-rwxr-xr-x 1 root root 1124 2006-10-12 23:53 /etc/rc6.d/K25mdadm
-rwxr-xr-x 1 root root 9282 2006-10-12 23:53 /etc/rc6.d/K50alsa-utils
-rwxr-xr-x 1 root root 5298 2006-10-12 23:53 /etc/rc6.d/K74bluez-utils
-rwxr-xr-x 1 root root 1061 2006-10-12 23:53 /etc/rc6.d/K86ppp
-rwxr-xr-x 1 root root 6773 2006-10-12 23:53 /etc/rc6.d/K88pcmcia
-rwxr-xr-x 1 root root 3386 2006-10-12 23:53 /etc/rc6.d/K88pcmciautils
-rwxr-xr-x 1 root root 1840 2006-10-12 23:53 /etc/rc6.d/K89klogd
-rwxr-xr-x 1 root root 1669 2006-10-12 23:53 /etc/rc6.d/K90sysklogd
-rwxr-xr-x 1 root root  349 2006-10-12 23:53 /etc/rc6.d/S01linux-restricted-modules-common
-rwxr-xr-x 1 root root 1081 2006-10-12 23:53 /etc/rc6.d/S20sendsigs
-rwxr-xr-x 1 root root 1965 2006-10-12 23:53 /etc/rc6.d/S30urandom
-rwxr-xr-x 1 root root 1989 2006-10-12 23:53 /etc/rc6.d/S31umountnfs.sh
-rwxr-xr-x 1 root root 1685 2006-10-12 23:53 /etc/rc6.d/S35networking
-rwxr-xr-x 1 root root 1588 2006-10-12 23:53 /etc/rc6.d/S40umountfs
-rwxr-xr-x 1 root root  923 2006-10-12 23:53 /etc/rc6.d/S49evms
-rwxr-xr-x 1 root root 2867 2006-10-12 23:53 /etc/rc6.d/S50lvm
-rwxr-xr-x 1 root root 1059 2006-10-12 23:53 /etc/rc6.d/S50mdadm-raid
-rwxr-xr-x 1 root root  912 2006-10-12 23:53 /etc/rc6.d/S60umountroot
-rwxr-xr-x 1 root root 1050 2006-10-12 23:53 /etc/rc6.d/S89casper
-rwxr-xr-x 1 root root  732 2006-10-12 23:53 /etc/rc6.d/S90reboot
-rw-r--r-- 1 root root  734 2006-10-12 23:53 /etc/rcS.d/README
-rwxr-xr-x 1 root root 1384 2006-10-12 23:53 /etc/rcS.d/S01mountvirtfs
-rwxr-xr-x 1 root root 1424 2006-10-12 23:53 /etc/rcS.d/S01readahead
-rwxr-xr-x 1 root root  992 2006-10-12 23:53 /etc/rcS.d/S02hostname.sh
-rwxr-xr-x 1 root root 3170 2006-10-12 23:53 /etc/rcS.d/S05keymap.sh
-rwxr-xr-x 1 root root  349 2006-10-12 23:53 /etc/rcS.d/S07linux-restricted-modules-common
-rwxr-xr-x 1 root root  748 2006-10-12 23:53 /etc/rcS.d/S08loopback
-rwxr-xr-x 1 root root 2539 2006-10-12 23:53 /etc/rcS.d/S10udev
-rwxr-xr-x 1 root root 1256 2006-10-12 23:53 /etc/rcS.d/S11mountdevsubfs
-rwxr-xr-x 1 root root 3386 2006-10-12 23:53 /etc/rcS.d/S13pcmciautils
-rwxr-xr-x 1 root root  921 2006-10-12 23:53 /etc/rcS.d/S15module-init-tools
-rwxr-xr-x 1 root root 1234 2006-10-12 23:53 /etc/rcS.d/S17procps.sh
-rwxr-xr-x 1 root root 8831 2006-10-12 23:53 /etc/rcS.d/S20checkroot.sh
-rwxr-xr-x 1 root root 2290 2006-10-12 23:53 /etc/rcS.d/S22mtab
-rwxr-xr-x 1 root root  881 2006-10-12 23:53 /etc/rcS.d/S25brltty
-rwxr-xr-x 1 root root 1059 2006-10-12 23:53 /etc/rcS.d/S25mdadm-raid
-rwxr-xr-x 1 root root 2867 2006-10-12 23:53 /etc/rcS.d/S26lvm
-rwxr-xr-x 1 root root  923 2006-10-12 23:53 /etc/rcS.d/S27evms
-rwxr-xr-x 1 root root 1984 2006-10-12 23:53 /etc/rcS.d/S30checkfs.sh
-rwxr-xr-x 1 root root 2069 2006-10-12 23:53 /etc/rcS.d/S35mountall.sh
-rwxr-xr-x 1 root root 1883 2006-10-12 23:53 /etc/rcS.d/S39readahead-desktop
-rwxr-xr-x 1 root root 1685 2006-10-12 23:53 /etc/rcS.d/S40networking
-rwxr-xr-x 1 root root 6773 2006-10-12 23:53 /etc/rcS.d/S40pcmcia
-rwxr-xr-x 1 root root 1967 2006-10-12 23:53 /etc/rcS.d/S45waitnfs.sh
-rwxr-xr-x 1 root root 3634 2006-10-12 23:53 /etc/rcS.d/S50hwclock.sh
-rwxr-xr-x 1 root root  795 2006-10-12 23:53 /etc/rcS.d/S55dns-clean
-rwxr-xr-x 1 root root  281 2006-10-12 23:53 /etc/rcS.d/S55pppd-dns
-rwxr-xr-x 1 root root  452 2006-10-12 23:53 /etc/rcS.d/S70screen
-rwxr-xr-x 1 root root 1091 2006-10-12 23:53 /etc/rcS.d/S70x11-common
-rwxr-xr-x 1 root root 2030 2006-10-12 23:53 /etc/rcS.d/S80bootmisc.sh
-rwxr-xr-x 1 root root 1965 2006-10-12 23:53 /etc/rcS.d/S85urandom
-rwxr-xr-x 1 root root 5979 2006-10-12 23:53 /etc/rcS.d/S90console-screen.sh
Ed il contenuto di lspci per avere un'idea del mio hardware:

Codice: Seleziona tutto

0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] 661FX/M661FX/M661MX Host (rev 11)
0000:00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge)
0000:00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS964 [MuTIOL Media IO] (rev 36)
0000:00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
0000:00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] Sound Controller (rev a0)
0000:00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
0000:00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
0000:00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
0000:00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
0000:00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
0000:00:05.0 IDE interface: Silicon Integrated Systems [SiS] RAID bus controller 180 SATA/PATA  [SiS] (rev 01)
0000:01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760/761 PCI/AGP VGA Display Adapter
Ultima modifica di pupiddo il martedì 24 ottobre 2006, 9:12, modificato 1 volta in totale.
Attento a quello che desideri....perchè potresti ottenerlo!
gaspa
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 754
Iscrizione: lunedì 5 dicembre 2005, 13:12
Località: Castenaso

Re: Casino coi runlevel (sysv-rc-conf)

Messaggio da gaspa »

Se confermi che hai detto che in init.d sei sicuro di avere le cose giuste (cioe', non aver cancellato o modificato nulla)
ti "basta" ricreare i link...

Cioe', per ciascuno script dentro /etc/rcx.d/ , dovresti cavarlo e rifare il link al corrispondente script dentro /etc/init.d/
in pratica, per esempio, per

Codice: Seleziona tutto

-rwxr-xr-x 1 root root 2569 2006-10-12 23:52 /etc/rc0.d/K01gdm
dovrebbe diventare:

Codice: Seleziona tutto

-rwxr-xr-x 1 root root 2569 2006-10-12 23:52 /etc/rc0.d/K01gdm -> ../init.d/gdm 
le cose che dovresti risistemare per prima dovrebbero essere rc2.d rcS.d ed rc6.d.

per sapere invece cosa avviare (cioe, cosa selezionare su sys-rc-conf), dipende un po' da cos'hai installato e vuoi avviare automaticamente all'avvio.

io per esempio ho in rc2:

Codice: Seleziona tutto

lrwxrwxrwx 1 root root  16 2006-10-10 10:16 S01apport -> ../init.d/apport*
lrwxrwxrwx 1 root root  17 2006-10-10 10:16 S05vbesave -> ../init.d/vbesave*
lrwxrwxrwx 1 root root  15 2006-10-10 10:16 S10acpid -> ../init.d/acpid*
lrwxrwxrwx 1 root root  18 2006-10-10 10:16 S10sysklogd -> ../init.d/sysklogd*
lrwxrwxrwx 1 root root  15 2006-10-10 10:16 S11klogd -> ../init.d/klogd*
lrwxrwxrwx 1 root root  20 2006-10-10 10:16 S12pbbuttonsd -> ../init.d/pbbuttonsd*
lrwxrwxrwx 1 root root  13 2006-10-10 10:16 S13gdm -> ../init.d/gdm*
lrwxrwxrwx 1 root root  16 2006-10-10 10:16 S19cupsys -> ../init.d/cupsys*
lrwxrwxrwx 1 root root  15 2006-10-10 10:16 S19hplip -> ../init.d/hplip*
lrwxrwxrwx 1 root root  14 2006-10-10 10:16 S20apmd -> ../init.d/apmd*
lrwxrwxrwx 1 root root  14 2006-10-10 10:16 S20dbus -> ../init.d/dbus*
lrwxrwxrwx 1 root root  22 2006-10-10 10:16 S20hotkey-setup -> ../init.d/hotkey-setup*
lrwxrwxrwx 1 root root  17 2006-10-10 10:16 S20makedev -> ../init.d/makedev*
lrwxrwxrwx 1 root root  17 2006-10-10 10:16 S89anacron -> ../init.d/anacron*
lrwxrwxrwx 1 root root  13 2006-10-10 10:16 S89atd -> ../init.d/atd*
lrwxrwxrwx 1 root root  14 2006-10-10 10:16 S89cron -> ../init.d/cron*
lrwxrwxrwx 1 root root  24 2006-10-10 10:16 S90binfmt-support -> ../init.d/binfmt-support*
lrwxrwxrwx 1 root root  17 2006-10-10 10:16 S98usplash -> ../init.d/usplash*
lrwxrwxrwx 1 root root  22 2006-10-10 10:16 S99acpi-support -> ../init.d/acpi-support*
lrwxrwxrwx 1 root root  18 2006-10-10 10:16 S99rc.local -> ../init.d/rc.local*
lrwxrwxrwx 1 root root  19 2006-10-10 10:16 S99rmnologin -> ../init.d/rmnologin*
lrwxrwxrwx 1 root root  24 2006-10-10 10:16 S99stop-readahead -> ../init.d/stop-readahead*
e in rcS:

Codice: Seleziona tutto

lrwxrwxrwx 1 root root  24 2006-10-10 10:16 S01mountkernfs.sh -> ../init.d/mountkernfs.sh*
lrwxrwxrwx 1 root root  19 2006-10-10 10:16 S01readahead -> ../init.d/readahead*
lrwxrwxrwx 1 root root  21 2006-10-10 10:16 S02hostname.sh -> ../init.d/hostname.sh*
lrwxrwxrwx 1 root root  24 2006-10-10 10:16 S06keyboard-setup -> ../init.d/keyboard-setup*
lrwxrwxrwx 1 root root  41 2006-10-10 10:16 S07linux-restricted-modules-common -> ../init.d/linux-restricted-modules-common*
lrwxrwxrwx 1 root root  18 2006-10-10 10:16 S08loopback -> ../init.d/loopback*
lrwxrwxrwx 1 root root  14 2006-10-10 10:16 S10udev -> ../init.d/udev*
lrwxrwxrwx 1 root root  26 2006-10-10 10:16 S11mountdevsubfs.sh -> ../init.d/mountdevsubfs.sh*
lrwxrwxrwx 1 root root  27 2006-10-10 10:16 S15module-init-tools -> ../init.d/module-init-tools*
lrwxrwxrwx 1 root root  19 2006-10-10 10:16 S17procps.sh -> ../init.d/procps.sh*
lrwxrwxrwx 1 root root  22 2006-10-10 10:16 S20checkroot.sh -> ../init.d/checkroot.sh*
lrwxrwxrwx 1 root root  17 2006-10-10 10:16 S22mtab.sh -> ../init.d/mtab.sh*
lrwxrwxrwx 1 root root  16 2006-10-10 10:16 S25brltty -> ../init.d/brltty*
lrwxrwxrwx 1 root root  20 2006-10-10 10:16 S30checkfs.sh -> ../init.d/checkfs.sh*
lrwxrwxrwx 1 root root  21 2006-10-10 10:16 S35mountall.sh -> ../init.d/mountall.sh*
lrwxrwxrwx 1 root root  31 2006-10-10 10:16 S36mountall-bootclean.sh -> ../init.d/mountall-bootclean.sh*
lrwxrwxrwx 1 root root  27 2006-10-10 10:16 S39readahead-desktop -> ../init.d/readahead-desktop*
lrwxrwxrwx 1 root root  20 2006-10-10 10:16 S40networking -> ../init.d/networking*
lrwxrwxrwx 1 root root  20 2006-10-10 10:16 S45waitnfs.sh -> ../init.d/waitnfs.sh*
lrwxrwxrwx 1 root root  31 2006-10-10 10:16 S46mountnfs-bootclean.sh -> ../init.d/mountnfs-bootclean.sh*
lrwxrwxrwx 1 root root  23 2006-10-10 10:16 S49console-setup -> ../init.d/console-setup*
lrwxrwxrwx 1 root root  20 2006-10-10 10:16 S50hwclock.sh -> ../init.d/hwclock.sh*
lrwxrwxrwx 1 root root  19 2006-10-10 10:16 S55dns-clean -> ../init.d/dns-clean*
lrwxrwxrwx 1 root root  16 2006-10-10 10:16 S70screen -> ../init.d/screen*
lrwxrwxrwx 1 root root  20 2006-10-10 10:16 S70x11-common -> ../init.d/x11-common*
lrwxrwxrwx 1 root root  21 2006-10-10 10:16 S80bootmisc.sh -> ../init.d/bootmisc.sh*
lrwxrwxrwx 1 root root  17 2006-10-10 10:16 S85urandom -> ../init.d/urandom*
lrwxrwxrwx 1 root root  27 2006-10-10 10:16 S90console-screen.sh -> ../init.d/console-screen.sh*
ma non mi son mai messo a pulirlo... :-P

bye!
--
-gaspa-
Avatar utente
pupiddo
Prode Principiante
Messaggi: 89
Iscrizione: giovedì 14 settembre 2006, 16:25
Località: MILANO

Re: Casino coi runlevel (sysv-rc-conf)

Messaggio da pupiddo »

E' già una buona base da cui partire. Ma vedrò di fare tutto con calma domani a casa;
Per ora da remoto ho fatto abbastanza danni!  ::)
Attento a quello che desideri....perchè potresti ottenerlo!
Avatar utente
pupiddo
Prode Principiante
Messaggi: 89
Iscrizione: giovedì 14 settembre 2006, 16:25
Località: MILANO

Re: Casino coi runlevel (sysv-rc-conf)[Risolto parzialmente]

Messaggio da pupiddo »

Ho parzialmente risolto visto che ho trovato lo script relativo a questa parte della mia domanda:
pupiddo ha scritto:
Se sapete come evitare quest''ultimo fastidio vi prego di dirmi qual''è lo script responsabile contenuto nel runlevel 0 ???
Lo script incriminato è casper (il fantasma? Carino come nome) presente nei runlevel 0 e 6 col nome di S89casper, è il penultimo ad essere eseguito.
Per sistemare i link credo che manchi qualche script alla mia directory init.d ma con un pò di pazienza, che adesso non ho, credo che riuscirò a sistemare tutto! (b2b)
Attento a quello che desideri....perchè potresti ottenerlo!
Avatar utente
pupiddo
Prode Principiante
Messaggi: 89
Iscrizione: giovedì 14 settembre 2006, 16:25
Località: MILANO

Re: Casino coi runlevel (sysv-rc-conf)[Risolto]

Messaggio da pupiddo »

Alla fine ho trovato la pazienza ma l'unico modo per risolvere è stato quello di ricreare i link simbolici a manina con istruzioni tipo:
sudo ln -sf /etc/init.d/screen /etc/rc?.d/S70screen(dove ? sono i vari runleve)
che mi hanno permesso di sovrascrivere i link simbolici agli script che avevo al loro posto.

Sto casino mi ha permesso di capire un pò di più la gestione dei runlevel e che l'how-to sulla velocizzazione del processo di boot è poco chiaro e troppo semplicistico visto che il programma suggerito, sysv-rc-conf, non permette di ricreare a dovere i link simbolici ai processi che devono essere cessati in un runlevel(quelli che cominciano con K) ma solo quelli da avviare (che cominciano con S).
Sarebbe il caso di integrare l'how-to con un avviso del genere e/o inserire in ubuntu lo strumento che usa debian per la loro gestione cioè update-rc.d, che non ho trovato nei repository ubuntu-kubuntu, e che sembra molto più comodo in caso di disastri!
Se qualcuno sa come fare...gli passo la palla.
Ciao
Attento a quello che desideri....perchè potresti ottenerlo!
Scrivi risposta

Ritorna a “Applicazioni”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 6 ospiti