Upstart vs Insserv

44 views
Skip to first unread message

sentinella86

unread,
Feb 1, 2009, 5:03:44 PM2/1/09
to Sviluppo boot Ubuntu
Sostanzialmente, come si fa a usare insserv, senza che mi faccia
problemi(cioè non cambi niente) con upstart?

Santiago

unread,
Feb 2, 2009, 8:17:58 AM2/2/09
to Sviluppo boot Ubuntu
upstart è il gestore di tutto il boot di ubuntu.
insserv è solo un programma che ti ordina gli rc in modo che possano
avviarsi più velocemente, sempre che tu dopo cambi la voce CONCURRENCY
da none a shell.

per altre info puoi consultare il file dei links, quelli sotto la
categoria informazione.

detto questo:
devi sapere che l'utilizzo di insserv è già di per se rischioso, nel
senso buono, cioe se decidi di utilizzarlo devi essere consapevole che
stai rischiando(se pur a mio parere in minima parte) che ti incasini
gli rc.
ora, se siamo qua è perche ci piace smanettare o sperimentare, io
posso dirti che sul 901 va, e anche durex ha visto che gli riduce i
tempi d'avvio.
sta a te provare. ;)

sentinella86

unread,
Feb 2, 2009, 4:32:15 PM2/2/09
to Sviluppo boot Ubuntu
quando faccio da terminale "sudo dpkg-reconfigure insserv" mi questi
errori:
__________________________________________________________________________
info: Checking if it is safe to convert to dependency based boot.

error: Problems running insserv:
insserv: There is a loop between service checkroot and hwclockfirst
if started
insserv: loop involving service hwclockfirst at depth 11
insserv: loop involving service mountdevsubfs at depth 10
insserv: There is a loop between service checkroot and keyboard-
setup if started
insserv: loop involving service keyboard-setup at depth 10
insserv: loop involving service udev at depth 9
insserv: There is a loop between service checkroot and hwclockfirst
if started
insserv: loop involving service mtab at depth 4
insserv: loop involving service checkroot at depth 3
insserv: loop involving service hostname at depth 2
insserv: There is a loop between service mountdevsubfs and udev if
started
insserv: loop involving service mountnfs at depth 20
insserv: There is a loop between service mountdevsubfs and udev if
started
insserv: loop involving service mountnfs-bootclean at depth 24
info: Please check out this manually.
info: Refusing to convert boot sequence until this is fixed
info: See http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot
info: for more information on how to solve these issues. Most likely,
info: it is a bug in the binary package with the init.d script in
info: question, and not with insserv.
error: Unable to enable dependency based boot system.
____________________________________________________________________________


Come posso risolvere il problema?

il_durex

unread,
Feb 3, 2009, 9:39:52 AM2/3/09
to Sviluppo boot Ubuntu
mi sembra di capire che hai 2 servizi che necessitano l'un l'altro x
essere avviati.. in pratica insserv reputa NON sicura la procedura e
quindi non la esegue...
> info: Seehttp://wiki.debian.org/LSBInitScripts/DependencyBasedBoot
Reply all
Reply to author
Forward
0 new messages