Page 1 of 1

Upstart or sysvinit?

Posted: Thu Sep 13, 2012 10:54 am
by SlasherIT
Hello,

2 simple questions.

1. Does Linux Mint 13 MATE/Cinnamon use Upstart or sysvinit?

2. Does Linux Mint Debian Edition use Upstart or sysvinit?

Thank you!

Re: Upstart or sysvinit?

Posted: Thu Sep 13, 2012 11:08 am
by zerozero
lmde (you can switch to upstart http://forums.linuxmint.com/viewtopic.p ... 42#p623142 )

Code: Select all

zerozero@deb-kde ~ $ apt policy upstart sysvinit
upstart:
  Installed: (none)
  Candidate: 0.6.6-2
  Version table:
     0.6.6-2 0
        500 http://ftp.debian.org/debian/ testing/main amd64 Packages
sysvinit:
  Installed: 2.88dsf-32
  Candidate: 2.88dsf-32
  Version table:
 *** 2.88dsf-32 0
        500 http://ftp.debian.org/debian/ testing/main amd64 Packages
        100 /var/lib/dpkg/status

Re: Upstart or sysvinit?

Posted: Thu Sep 13, 2012 11:27 am
by AlbertP
Mint 13, being Ubuntu-based, uses Upstart. But sysvinit jobs should also still work.

Re: Upstart or sysvinit?

Posted: Thu Sep 13, 2012 8:56 pm
by SlasherIT
Alright thanks guys, so basically LMDE uses sysvinit like Debian, and Linux Mint 13 uses upstart like Ubuntu, alright.

@zerozero - Sorry, but I don't follow you, how would I go replacing sysvinit with upstart in LMDE? I can't see much info on how to do it on the link you gave me (soz). I am thinking of actually using LMDE over standard Linux Mint so this would be useful, thanks.

Re: Upstart or sysvinit?

Posted: Fri Sep 14, 2012 9:07 am
by SlasherIT
Bump, thanks.

Re: Upstart or sysvinit?

Posted: Fri Sep 14, 2012 10:17 am
by GeneC
Out of curiosity, I found this.

http://unix.stackexchange.com/questions ... -on-debian

........... It's not directly about Debian vs Ubuntu, it's about SysVinit vs Upstart. Debian defaults to SysVinit; you can install Upstart, but you need to know what you're doing, and you should be familiar with it before you even think of installing it on a production server. Although it's theoretically possible to install both, with only one of them running as process number 1, Debian doesn't support this out the box.

Upstart is younger than SysVinit and has more capabilities, which explains why you can't just take an Upstart service description and feed it to SysVinit. You'll have to write a script for /etc/init.d. Basically that script needs to look at its first argument ($1) and start, stop or restart the service as directed.

If you were using Upstart events to determine when to start the script, you'll have to use some other methods. Upstart gathers events from many different sources; you can get the trigger from wherever Upstart gets it, Upstart in this respect is just a convenient way of not having to look for triggers in many different places and protocols..........
Haven't tried it personally.... :)

Re: Upstart or sysvinit?

Posted: Fri Sep 14, 2012 10:27 am
by SlasherIT
It doesn't say how to install upstart in Debian. I tried doing it once in Debian by selecting to install upstart in Synaptic and remove sysvinit, which messed up my entire install... I'm guessing it'll be the same with LMDE?

The only reason I need upstart is for PS3 Media Server, in order to run it as a daemon with the .deb you need upstart.

If I decided to use Linux Mint 13 MATE which uses upstart, how would the performance compare to stock Debian 6 Squeeze using GNOME 2 (this is my current setup for the 'server')?