Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Normally I dislike GUIs for simple tasks. But I find that my LinuxMint system uses this "upstart" startup thing that I don't really care for. Is there some quick and dirty way to see what is tasked to run when, and disable/enable things easily?
I am so used to dealing with /etc/init.d and /etc/rcX.d. I can easily see what is being started at any given runlevel by doing an ls on the appropriate directory and looking for files that start with a capitol "S".
Now I find that most of my system services use this "upstart" thing. I really don't have any desire to learn the syntax of the config files (although it appears simple), or learn a new way to figure out what is or is not tasked to run at different runlevels. I think "ls /etc/rcX.d" was perfectly fine for that need.
Example: I find that smbd is running on my system. I don't want that. I can no longer do the simple "mv /etc/rc2.d/S50smbd /etc/rc2.d/s50smbd; /etc/init.d/smbd stop" thing. Does "upstart" now mandate that I go into the /etc/init/smdb.conf file and hack away at its internals to stop smbd from automatically starting?
I should probably go an learn upstart anyway. But it's the same thing as me preferring old grub to new grub. Why change if you see no benefit and don't want to? Other than upstart appears to be what Ubuntu and its derivitives like to use, I personally see no need for the change.
Is there some quick and dirty way to see what is tasked to run when, and disable/enable things easily?
I don't known about any GUI, but command "initctl show-config" can be handy. It format is not very nice, however you can see what is starting when.
About disabling (and overriding) you can create a file within "/etc/init" with the same name but extension ".override", for example to disable automatic start during boot up ftp server which I rarely use, I added file "/etc/init/vsftpd.override" with one line: "manual" and stopped by "service vsftpd stop".
Quote:
Why change if you see no benefit and don't want to?
Well, some of people see a benefits, it is nicely explained on Upstart site why it come to life (something about dynamic nature of todays hardware and software). The main reason was switching from tasks depending on other tasks to events which can occur anytime, not only during system start and not necessarily in specified order.
Interesting. This "upstart" thing must think it is sooo important that it can override an obvious maneuver intended to keep it from starting something. Even with mode 000 on /etc/init/smbd.conf and nmbd.conf, this new "upstart" stuff with init starts them on a rebbot anyway.
I was expecting a complaint (that I could ignore) in some logfile due to the 000 permissions, not the thing outright ignoring an obvious, standard, and easily comprehensible setting. I am now liking "upstart" even less than I did before. It doesn't play by the rules of the OS.
They seem to kind of hide this information. It is out there, but it didn't pop up without some searching. Anyway, I got is all covered now.
Thanks eSelix - somehow I missed seeing your earlier post saying exactly this. Not sure how I did that. Guess I was too fast on the scrolling down the webpage part...
000 mode did not prevent access by root and on that account "init" process read them. Also these are only config files so executable bit is not necessary. Anyway editing these *.conf files is not advisable because they can be changed after update and all changes need to be resolved manually.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.