How to stop unwanted servrices during boot
Romeyn Prescott
prescor at digirom.potsdam.edu
Tue Nov 16 19:12:51 UTC 2004
I have to weigh in and side with the faction that considers removing
the executable bit on an init script a HORRIBLE hack. It's not that
hard to just delete symlinks from /etc/rc5.d. Users who want
something to not run can either delete them from that directory, or
in the event it might be desirable to have them start at boot again,
just move them elsewhere for safekeeping.
...ROMeyn
At 6:24 PM +0100 11/16/04, Le grand pinguin scribbled:
>On Tue, Nov 16, 2004 at 06:07:20PM +0100, Wouter Eerdekens wrote:
>>
>> Agreed, but we don't have this at the moment. And manually editing
>> initscripts seems as bad as a chmod -x.
>
>Really? I think there's quite a difference here: editing initscipts
>not only is an operation that can be traced both by the installation
>(because configuration files have md5 sums and changes are detected)
>and the user (diff -u bla-init bla-init.dpkg-dist). These changes
>are _visible_ - much more than a changed bit in the filesystem.
>Also, let's not forget, the init process uses the runlevel links and
>(in this case) unfortunately one can set the exec permission for the
>link as well ... lot's of chances for this hack to fail (others would
>be a update where the package is removed and then newly installed etc.).
>
>
>> The original post was a question
>> on how to to this _now_, not what the cleanest future implementation was.
>> So right now, I'd still go for the chmod 'hack'.
>
>Just add ' echo "Not starting by your request" & exit 0 '
>That can't be that hard? :-)
>
> RalfD
>
>
>> Cheers,
>> Wouter
>>
>> --
>> Wouter Eerdekens
>> "Revenge is a dish best served cold"
>> retuow at xs4all.be -- Ancient Klingon Proverb
>> http://www.haggis.be/
>
>--
>ubuntu-users mailing list
>ubuntu-users at lists.ubuntu.com
>http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
--
signat-url: http://www2.potsdam.edu/prescor/signat-url.htm
More information about the ubuntu-users
mailing list