[ubuntu-za] Bootscreen weirdness

Deon Erasmus bisybackson at gmail.com
Thu Sep 29 14:26:47 CDT 2005


On 9/29/05, Robert Schumann <robert at cantab.net> wrote:
> Jean Gruneberg wrote:
>
> > Deon Erasmus wrote:
> >
> >>>
> >>> chmod -x /etc/init.d/ntpdate. Then you can
> >>
> >
> In fact, that is an inadvisable way of doing things.  The recommended
> method is to use update-rc.d, as in
>    update-rc.d ntpdate remove
> That leaves the script intact and available, and simply removes the
> symlink from /etc/rcX.d.  This is not the most obvious solution,
> however, and probably only makes a difference for pedants like me.
>
> I would consider this a bug in the ntpdate startup script; it is
> unacceptable for startup to be delayed for a 2 minute DNS timeout.  That
> is inviting mockery from Windows users....
>
> Robert.

Thanks! I sent this (below) to Jean seconds before you posted...
----

Just to be certain you know what you did by doing that: if you look at
the ntpdate script's attributes by doing  '$ ls -l
/etc/init.d/ntpdate' you will see that it has the x (executable)
attribute set for its owner and group. By removing the executable
attribute with -x, the script can't run. If you view the top if the
ntpdate (or any other init script) you should see a line like 'if
(test -x /etc/init.d/ntpdate)' which means if (ntpdate is executable).
Since you removed the executable attribute, it returns false, and the
script exits.

I'm sure the Right Way of doing it is by using some runlevel editor
for Debian or Ubuntu which can disable the service, but I get so
confused between distributions that these ugly hacks are sometimes
more convenient. Perhaps someone can enlighten us both as to the
correct way to manage init and runlevels on Ubuntu?
>
>
> --
> ubuntu-za mailing list
> ubuntu-za at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-za
>


--
"When an electron is collapsed, i.e., under observation then the
electron transforms into a ball, a particle, and not the dots which go
to making-up of the particle." -- Archimedes Plutonium



More information about the ubuntu-za mailing list