Systemd notice (important)

Forum rules
Please supply only the affected package name as title, with bugreport number (bugs.debian.org) or other sources. This feed can be subscribed to and piped into your RSS reader or conky: http://linuxbbq.org/bbs/feed.php?mode=news
User avatar
ivanovnegro
Minister of Truth
Posts: 5448
Joined: Wed Oct 17, 2012 11:12 pm

Systemd notice (important)

Unread post by ivanovnegro » Sun May 11, 2014 10:29 pm

If you are not following the BBQ philosophy and use heavily systemd related packages (e.g. policykit-1) or Gnome apps that depend on it then you might see the occasion that it wants to pull either systemd for the very first time into your system or even remove sysvinit-core.
Though it should not be a problem but be prepared, read about systemd or ask Pidsley. :)

If you want to avoid systemd taking over your system for now then you should not use Gnome apps that depend on it like network-manager and probably some others that are related to libpam-systemd or install systemd-shim. You will still have to allow systemd, the package, to be installed because Debian prepares the switch, but it won't replace sysv yet without you doing it explicitly at the moment.

Short Wiki article for further reading.

If you want to switch now, search our forums for some experience and read the Debian Wiki.

Please, no init wars! If you have questions about alternate inits then open a new thread in the correct section.

Side note: LinuxBBQ comes with both inits depending on the release. The newest base releases are using sysv as default at the moment.
Last edited by ivanovnegro on Tue May 13, 2014 8:37 am, edited 3 times in total.
Reason: wrong link

User avatar
wuxmedia
Grasshopper
Posts: 6445
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Systemd notice

Unread post by wuxmedia » Mon May 12, 2014 7:53 am

Great info - Ivan, thanks!
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: Systemd notice

Unread post by dkeg » Mon May 12, 2014 11:02 am

Thanks DD!

Work hard; Complain less

User avatar
simgin
Meme Fodder
Posts: 1167
Joined: Sun Jan 06, 2013 12:07 am
Location: Bradford-on-Avon, UK

Re: Systemd notice

Unread post by simgin » Mon May 12, 2014 4:17 pm

Thanks for the info Ivan, cheers.

Simgin
Someone told me that I am delusional, I almost fell off my unicorn.

User avatar
ivanovnegro
Minister of Truth
Posts: 5448
Joined: Wed Oct 17, 2012 11:12 pm

Re: Systemd notice

Unread post by ivanovnegro » Tue May 13, 2014 8:35 am

Made it sticky. The shitstorm is already rolling in Debian.

The transition is definitely going on. You will get systemd as the new init system right now if you use packages that depend on systemd-sysv as already said in the OP. It should be smooth according to Debian.
They are rethinking about noticing the user about it in a better way.

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5877
Joined: Tue Sep 03, 2013 7:05 am

Re: Systemd notice (important)

Unread post by GekkoP » Tue May 13, 2014 9:04 am

Thanks for this one.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Systemd notice (important)

Unread post by machinebacon » Tue May 20, 2014 3:20 pm

Thanks Dave. I'd recommend to stay with what is provided in the release, so systemd in the older ones and sysv in the newer releases. If someone wants to make a switch, he or she can post here about the experience and results, I'd say.
..gnutella..

User avatar
ivanovnegro
Minister of Truth
Posts: 5448
Joined: Wed Oct 17, 2012 11:12 pm

Re: Systemd notice (important)

Unread post by ivanovnegro » Wed May 21, 2014 9:33 am

Experience you say, I already tried it just for fun. It worked perfectly. No problem whatsoever on my very old sid system. So the transition just worked as intended by Debian and I am positively surprised that it works so good. Nothing really fancy but the shutdown is just a blink with the eye.

Welcome back if I can say so Mr. Bacon!

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: Systemd notice (important)

Unread post by dkeg » Wed May 21, 2014 11:13 am

that for sure is a + for the big d, fast finish. Well, at least in this context. But shutdowns are few and far between I guess.

Work hard; Complain less

User avatar
ivanovnegro
Minister of Truth
Posts: 5448
Joined: Wed Oct 17, 2012 11:12 pm

Re: Systemd notice (important)

Unread post by ivanovnegro » Tue Jun 03, 2014 10:13 am

It seems Gekko removed a notice before and I was replying to it. Udisks2 will pull also systemd-sysv and that means it will remove sysvinit. It is expected.

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5877
Joined: Tue Sep 03, 2013 7:05 am

Re: Systemd notice (important)

Unread post by GekkoP » Tue Jun 03, 2014 10:15 am

^ yes, I forgot about your topic here and since you already wrote about this issue I thought my notice was pointless.

User avatar
ivanovnegro
Minister of Truth
Posts: 5448
Joined: Wed Oct 17, 2012 11:12 pm

Re: Systemd notice (important)

Unread post by ivanovnegro » Tue Jun 03, 2014 10:19 am

It was ok. Maybe I would have anyway moved it here.

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5877
Joined: Tue Sep 03, 2013 7:05 am

Re: Systemd notice (important)

Unread post by GekkoP » Tue Jun 03, 2014 10:47 am

By the way. I installed systemd and it was hanging on boot due to an error on my /etc/fstab. So if anyone should see something similar to this line at boot:

Code: Select all

A start job is running for dev-disk-by ...
Just double-check that the entries in /etc/fstab match the blkid output. In my case, the entry for the swap partition was wrong.

User avatar
ivanovnegro
Minister of Truth
Posts: 5448
Joined: Wed Oct 17, 2012 11:12 pm

Re: Systemd notice (important)

Unread post by ivanovnegro » Tue Jun 03, 2014 11:35 am

Yep, it is reported that if you have an entry in fstab the transition can fail.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Systemd notice (important)

Unread post by machinebacon » Tue Jun 03, 2014 4:03 pm

If I am not mistaken, the wrong UUID in fstab may come from a bug in update-grub. I would recommend to remove anything except the / from fstab and mount manually. systemd will hang at this point up to minutes, sysvinit will skip it with a FAIL.
..gnutella..

User avatar
Launfal
Dirty Laundry
Posts: 141
Joined: Tue Mar 04, 2014 12:50 am
Location: Ohio, USA

Re: Systemd notice (important)

Unread post by Launfal » Tue Jun 03, 2014 7:30 pm

hplip will pull in systemd, too. I learned that playing around with Sid before it crashed and burned. My next hardware purchases will be a little better thought out, I can tell you that for free.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Systemd notice (important)

Unread post by machinebacon » Tue Jun 03, 2014 8:05 pm

^ Are you sure about hplip? apt-cache depends doesn't show systemd. Maybe you have --no-install-recommends not turned on and it came from somewhere else.


apt-cache rdepends systemd
..gnutella..

User avatar
Launfal
Dirty Laundry
Posts: 141
Joined: Tue Mar 04, 2014 12:50 am
Location: Ohio, USA

Re: Systemd notice (important)

Unread post by Launfal » Tue Jun 03, 2014 8:33 pm

^ Installing hplip wants to purge sysvinit-core (I think that's it) and after a reboot, you're using systemd. It happened on Spring, and it happened again on Author.

User avatar
ivanovnegro
Minister of Truth
Posts: 5448
Joined: Wed Oct 17, 2012 11:12 pm

Re: Systemd notice (important)

Unread post by ivanovnegro » Wed Jun 04, 2014 9:50 am

I read something about that but then I do not use that package:

https://bugs.debian.org/cgi-bin/bugrepo ... bug=578808

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Systemd notice (important)

Unread post by machinebacon » Wed Jun 04, 2014 12:26 pm

Ah, thanks Davidic :D
If you wish to run a headless print server, we now ship the independent
packages of hpijs and hplip-cups, which do not require the full hplip depends.
..gnutella..

Locked