* [gentoo-user] Systemd as drop-in replacement for udev? @ 2013-12-05 20:36 Róbert Čerňanský 2013-12-05 21:18 ` Canek Peláez Valdés 0 siblings, 1 reply; 12+ messages in thread From: Róbert Čerňanský @ 2013-12-05 20:36 UTC (permalink / raw To: gentoo-user Hello all, I am currently updating my system and Portage wants to replace udev (204) with systemd (208). My question is (hopefully) simple: Can I use systemd as drop-in replacement for udev? In other words, can I pretend that systemd is udev and continue using OpenRC as with udev itself? I would then apply just udev 204 to 208 update instructions (http://wiki.gentoo.org/wiki/Udev/upgrade). I am using WindowMaker and systemd was pulled in by gnome-settings-daemon which in turn was pulled in by gdm. I would like to stick with gdm. Usually I feel pretty comfortable replacing one package with another if Portage wants so (e.g. because they block each other) but in this case I want to be extra careful. I did not find a clear answer to this. Usually people either migrate fully to systemd (replacing openrc) or stays with udev + openrc. Regards, Robert -- Róbert Čerňanský E-mail: openhs@tightmail.com Jabber: hs@jabber.sk ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Systemd as drop-in replacement for udev? 2013-12-05 20:36 [gentoo-user] Systemd as drop-in replacement for udev? Róbert Čerňanský @ 2013-12-05 21:18 ` Canek Peláez Valdés 2013-12-05 22:26 ` Róbert Čerňanský 0 siblings, 1 reply; 12+ messages in thread From: Canek Peláez Valdés @ 2013-12-05 21:18 UTC (permalink / raw To: gentoo-user On Thu, Dec 5, 2013 at 2:36 PM, Róbert Čerňanský <openhs@tightmail.com> wrote: > Hello all, > > I am currently updating my system and Portage wants to replace udev > (204) with systemd (208). My question is (hopefully) simple: > > Can I use systemd as drop-in replacement for udev? In other words, can > I pretend that systemd is udev and continue using OpenRC as with udev > itself? I would then apply just udev 204 to 208 update instructions > (http://wiki.gentoo.org/wiki/Udev/upgrade). > > I am using WindowMaker and systemd was pulled in by > gnome-settings-daemon which in turn was pulled in by gdm. I would like > to stick with gdm. > > Usually I feel pretty comfortable replacing one package with another if > Portage wants so (e.g. because they block each other) but in this case I > want to be extra careful. I did not find a clear answer to this. > Usually people either migrate fully to systemd (replacing openrc) or > stays with udev + openrc. I think that's the usual way; either switch completely to systemd, or keep using OpenRC+udev (or OpenRC+eudev, or several other combinations). The GNOME stuff that requires systemd will not work under OpenRC from 3.10 on, you could get strange fails with gdm and gnome-settings-daemon. If it's gdm-3.8, then I think you can use systemd as udev replacement together with OpenRC, and I believe some people did it successfully. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Systemd as drop-in replacement for udev? 2013-12-05 21:18 ` Canek Peláez Valdés @ 2013-12-05 22:26 ` Róbert Čerňanský 2013-12-05 23:17 ` Canek Peláez Valdés 0 siblings, 1 reply; 12+ messages in thread From: Róbert Čerňanský @ 2013-12-05 22:26 UTC (permalink / raw To: gentoo-user On Thu, 5 Dec 2013 15:18:54 -0600 Canek Peláez Valdés <caneko@gmail.com> wrote: > On Thu, Dec 5, 2013 at 2:36 PM, Róbert Čerňanský > <openhs@tightmail.com> wrote: > > Hello all, > > > > I am currently updating my system and Portage wants to replace udev > > (204) with systemd (208). My question is (hopefully) simple: > > > > Can I use systemd as drop-in replacement for udev? In other words, > > can I pretend that systemd is udev and continue using OpenRC as > > with udev itself? I would then apply just udev 204 to 208 update > > instructions (http://wiki.gentoo.org/wiki/Udev/upgrade). > > > > I am using WindowMaker and systemd was pulled in by > > gnome-settings-daemon which in turn was pulled in by gdm. I would > > like to stick with gdm. > > The GNOME stuff that requires systemd will not work under OpenRC from > 3.10 on, you could get strange fails with gdm and > gnome-settings-daemon. If it's gdm-3.8, then I think you can use > systemd as udev replacement together with OpenRC, and I believe some > people did it successfully. Thanks. I have enabled openrc-force use flag found this in gnome-settings-daemon emerge log, which confirms what you have said: "gnome-settings-daemon needs Systemd to be *running* for working properly. Please follow the this guide to migrate: http://wiki.gentoo.org/wiki/Systemd You are enabling 'openrc-force' USE flag to skip systemd requirement, this can lead to unexpected problems and is not supported neither by upstream neither by Gnome Gentoo maintainers. If you suffer any problem, you will need to disable this USE flag system wide and retest before opening any bug report." So the it is clear to me now. I will try openrc-force as temporal solution until I'll find a new display manager and give heart breaking good by to GDM. Regards, Robert -- Róbert Čerňanský E-mail: openhs@tightmail.com Jabber: hs@jabber.sk ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Systemd as drop-in replacement for udev? 2013-12-05 22:26 ` Róbert Čerňanský @ 2013-12-05 23:17 ` Canek Peláez Valdés 2013-12-06 6:32 ` J. Roeleveld 0 siblings, 1 reply; 12+ messages in thread From: Canek Peláez Valdés @ 2013-12-05 23:17 UTC (permalink / raw To: gentoo-user On Thu, Dec 5, 2013 at 4:26 PM, Róbert Čerňanský <openhs@tightmail.com> wrote: > On Thu, 5 Dec 2013 15:18:54 -0600 > Canek Peláez Valdés <caneko@gmail.com> wrote: > >> On Thu, Dec 5, 2013 at 2:36 PM, Róbert Čerňanský >> <openhs@tightmail.com> wrote: >> > Hello all, >> > >> > I am currently updating my system and Portage wants to replace udev >> > (204) with systemd (208). My question is (hopefully) simple: >> > >> > Can I use systemd as drop-in replacement for udev? In other words, >> > can I pretend that systemd is udev and continue using OpenRC as >> > with udev itself? I would then apply just udev 204 to 208 update >> > instructions (http://wiki.gentoo.org/wiki/Udev/upgrade). >> > >> > I am using WindowMaker and systemd was pulled in by >> > gnome-settings-daemon which in turn was pulled in by gdm. I would >> > like to stick with gdm. >> >> The GNOME stuff that requires systemd will not work under OpenRC from >> 3.10 on, you could get strange fails with gdm and >> gnome-settings-daemon. If it's gdm-3.8, then I think you can use >> systemd as udev replacement together with OpenRC, and I believe some >> people did it successfully. > > Thanks. I have enabled openrc-force use flag found this in > gnome-settings-daemon emerge log, which confirms what you have said: > > "gnome-settings-daemon needs Systemd to be *running* for working > properly. Please follow the this guide to migrate: > http://wiki.gentoo.org/wiki/Systemd > You are enabling 'openrc-force' USE flag to skip systemd requirement, > this can lead to unexpected problems and is not supported neither by > upstream neither by Gnome Gentoo maintainers. If you suffer any problem, > you will need to disable this USE flag system wide and retest before > opening any bug report." > > So the it is clear to me now. > > I will try openrc-force as temporal solution until I'll find a new > display manager and give heart breaking good by to GDM. You could *try* to run systemd and see if you like it. Many of us do. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Systemd as drop-in replacement for udev? 2013-12-05 23:17 ` Canek Peláez Valdés @ 2013-12-06 6:32 ` J. Roeleveld 2013-12-06 7:51 ` Michael Hampicke 2013-12-06 17:26 ` Canek Peláez Valdés 0 siblings, 2 replies; 12+ messages in thread From: J. Roeleveld @ 2013-12-06 6:32 UTC (permalink / raw To: gentoo-user On Fri, December 6, 2013 00:17, Canek Peláez Valdés wrote: > On Thu, Dec 5, 2013 at 4:26 PM, Róbert ÄerÅanský > <openhs@tightmail.com> wrote: >> I will try openrc-force as temporal solution until I'll find a new >> display manager and give heart breaking good by to GDM. > > You could *try* to run systemd and see if you like it. > > Many of us do. For the option to try systemd, I would first require a detailed how-to on how to switch back to OpenRC without requiring reverting to backups or doing a full reinstall. -- Joost ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Systemd as drop-in replacement for udev? 2013-12-06 6:32 ` J. Roeleveld @ 2013-12-06 7:51 ` Michael Hampicke 2013-12-06 7:53 ` Michael Hampicke 2013-12-06 17:26 ` Canek Peláez Valdés 1 sibling, 1 reply; 12+ messages in thread From: Michael Hampicke @ 2013-12-06 7:51 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 759 bytes --] Am 06.12.2013 07:32, schrieb J. Roeleveld: > On Fri, December 6, 2013 00:17, Canek Peláez Valdés wrote: >> On Thu, Dec 5, 2013 at 4:26 PM, Róbert ÄŒerňanský >> <openhs@tightmail.com> wrote: >>> I will try openrc-force as temporal solution until I'll find a new >>> display manager and give heart breaking good by to GDM. >> >> You could *try* to run systemd and see if you like it. >> >> Many of us do. > > For the option to try systemd, I would first require a detailed how-to on > how to switch back to OpenRC without requiring reverting to backups or > doing a full reinstall. > Just remove "init=/usr/lib/systemd/systemd" from your kernel command line, and you can boot your old openrc installation (if you did un unmerge it) [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 490 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Systemd as drop-in replacement for udev? 2013-12-06 7:51 ` Michael Hampicke @ 2013-12-06 7:53 ` Michael Hampicke 2013-12-06 10:44 ` J. Roeleveld 2013-12-06 20:43 ` [gentoo-user] " Tom Wijsman 0 siblings, 2 replies; 12+ messages in thread From: Michael Hampicke @ 2013-12-06 7:53 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 217 bytes --] > > Just remove "init=/usr/lib/systemd/systemd" from your kernel command > line, and you can boot your old openrc installation (if you did un > unmerge it) > That should mean: ..if you did not unmerge it. [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 490 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Systemd as drop-in replacement for udev? 2013-12-06 7:53 ` Michael Hampicke @ 2013-12-06 10:44 ` J. Roeleveld 2013-12-07 6:43 ` [gentoo-user] " Jonathan Callen 2013-12-06 20:43 ` [gentoo-user] " Tom Wijsman 1 sibling, 1 reply; 12+ messages in thread From: J. Roeleveld @ 2013-12-06 10:44 UTC (permalink / raw To: gentoo-user On Fri, December 6, 2013 08:53, Michael Hampicke wrote: >> >> Just remove "init=/usr/lib/systemd/systemd" from your kernel command >> line, and you can boot your old openrc installation (if you did un >> unmerge it) >> > > That should mean: ..if you did not unmerge it. > > It doesn't seem that simple from the wiki-page on how to switch to systemd: http://wiki.gentoo.org/wiki/Systemd In the "conflicts" section there is mention of having to change syslog-ng and cryptsetup. I don't have a Gentoo box in front of me to check, but I think "udev" and "systemd" can not be installed simultaneously. Was this changed? -- Joost ^ permalink raw reply [flat|nested] 12+ messages in thread
* [gentoo-user] Re: Systemd as drop-in replacement for udev? 2013-12-06 10:44 ` J. Roeleveld @ 2013-12-07 6:43 ` Jonathan Callen 2013-12-07 11:09 ` Róbert Čerňanský 0 siblings, 1 reply; 12+ messages in thread From: Jonathan Callen @ 2013-12-07 6:43 UTC (permalink / raw To: gentoo-user -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 12/06/2013 05:44 AM, J. Roeleveld wrote: > On Fri, December 6, 2013 08:53, Michael Hampicke wrote: >>> >>> Just remove "init=/usr/lib/systemd/systemd" from your kernel command line, and you can boot >>> your old openrc installation (if you did un unmerge it) >>> >> >> That should mean: ..if you did not unmerge it. >> >> > > It doesn't seem that simple from the wiki-page on how to switch to systemd: > http://wiki.gentoo.org/wiki/Systemd > > In the "conflicts" section there is mention of having to change syslog-ng and cryptsetup. > > I don't have a Gentoo box in front of me to check, but I think "udev" and "systemd" can not be > installed simultaneously. Was this changed? > > -- Joost > > > > Udev as installed by sys-fs/udev is *exactly* the same as udev installed by sys-apps/systemd, except that the latter installs more files. It is very much possible to switch to systemd as your udev provider without using the rest of systemd. - -- Jonathan Callen -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCgAGBQJSosOZAAoJELHSF2kinlg4+bkP/1xjvhDe+/8Dn7lqd9YnsUXY KDitiXQtHDS3XltCjv9A/mQFKsI4tpK5f3MCX0bAeUUrDdoEebBmOFCS6pyPUJx6 uHpc0M0stUo5kx7HLPXz4GHl97Gg1Le1kjKHk4uAgHBFzwS/UlQiYBO8A/mMZb/A VLU6iRiJbd15VzMSXxWBGk6toc7rgEsIZyFcL+x0SWrIOcCoYPgRTMLQgXemQX/Y oB066d/dzWLbj3jMWkJIcbxh1hV96rVI6PhHpXGen4iztli7lQNYzI4bwjiqaiNY VALlCPQOxSLSvw3+7RUTO6urLN/qWpikNsR/5UtSBi3m9IPaMd/2NGvVhjmtcUTq wovHODaAn7zG18H9eQMVwQE0PMHLmPS3SRfwz5KbFzr11W64w8SWtq5+uoCDJ46P caRO81iLYrdutZmp0JYHkAPCtPyRHdNNYAsXk/1fWCiky5lh63vrxGyJ/Zo0nMw8 rUTAdkjV2qE0xT7IlKwYyLsfg9WNbXJwM0pYkE4OgzOwgQb5vTpyVjl2+r6ZF6aL sz9FDD/dOF7Zgwn1SWNQer8cvs9zrl14aKZgjxesX2DMUwKFA535O8dGW1v1Egt9 QD4SvawD+BScDmkofNZ6SHCHwI3Pqgw1/xZzT8Or4TepDWYQB7E0R8shuzNdzvV3 n5bo1rlkaICL90/WYc30 =ZK9j -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Re: Systemd as drop-in replacement for udev? 2013-12-07 6:43 ` [gentoo-user] " Jonathan Callen @ 2013-12-07 11:09 ` Róbert Čerňanský 0 siblings, 0 replies; 12+ messages in thread From: Róbert Čerňanský @ 2013-12-07 11:09 UTC (permalink / raw To: gentoo-user On Sat, 07 Dec 2013 01:43:37 -0500 Jonathan Callen <jcallen@gentoo.org> wrote: > Udev as installed by sys-fs/udev is *exactly* the same as udev > installed by sys-apps/systemd, except that the latter installs more > files. It is very much possible to switch to systemd as your udev > provider without using the rest of systemd. That's what I have suspected but I did not find anybody that has experience with such setup. If anyone tried it, comments are welcomed. In the meantime I have settled with lightdm instead of gdm and stay with sys-fs/udev. Robert -- Róbert Čerňanský E-mail: openhs@tightmail.com Jabber: hs@jabber.sk ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Systemd as drop-in replacement for udev? 2013-12-06 7:53 ` Michael Hampicke 2013-12-06 10:44 ` J. Roeleveld @ 2013-12-06 20:43 ` Tom Wijsman 1 sibling, 0 replies; 12+ messages in thread From: Tom Wijsman @ 2013-12-06 20:43 UTC (permalink / raw To: mh; +Cc: gentoo-user [-- Attachment #1: Type: text/plain, Size: 735 bytes --] On Fri, 06 Dec 2013 08:53:43 +0100 Michael Hampicke <mh@hadt.biz> wrote: > That should mean: ..if you did not unmerge it. sys-apps/openrc is part of the @system set for the time being; if you try to unmerge it you will be presented with a warning, if you go ahead you break things like Portage and more because at this point in time sys-apps/openrc brings the file 'functions.sh' which contains some crucial functions used by those other packages. This is tracked in https://bugs.gentoo.org/show_bug.cgi?id=373219 -- With kind regards, Tom Wijsman (TomWij) Gentoo Developer E-mail address : TomWij@gentoo.org GPG Public Key : 6D34E57D GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 490 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Systemd as drop-in replacement for udev? 2013-12-06 6:32 ` J. Roeleveld 2013-12-06 7:51 ` Michael Hampicke @ 2013-12-06 17:26 ` Canek Peláez Valdés 1 sibling, 0 replies; 12+ messages in thread From: Canek Peláez Valdés @ 2013-12-06 17:26 UTC (permalink / raw To: gentoo-user On Fri, Dec 6, 2013 at 12:32 AM, J. Roeleveld <joost@antarean.org> wrote: > On Fri, December 6, 2013 00:17, Canek Peláez Valdés wrote: >> On Thu, Dec 5, 2013 at 4:26 PM, Róbert ÄŒerňanský >> <openhs@tightmail.com> wrote: >>> I will try openrc-force as temporal solution until I'll find a new >>> display manager and give heart breaking good by to GDM. >> >> You could *try* to run systemd and see if you like it. >> >> Many of us do. > > For the option to try systemd, I would first require a detailed how-to on > how to switch back to OpenRC without requiring reverting to backups or > doing a full reinstall. You don't need to use backups, much less a full reinstall. However, several packages must be reemerged and a couple ones must be uninstalled before you switch to systemd. Obviously, you need to do the opposite to revert back to OpenRC. Which packages must be reemerged and which ones must be uninstalled depends on what do you have installed. It is mostly handled by portage, though, so you don't need to worry about it. If you unpack a stage3 tarball for a new installation, the only thing you need to do to get systemd is to "emerge systemd" and change your init line in your boot loader. Portage will uninstall udev for you, and OpenRC will remain, but it would do nothing. The more things you add to your system, the more packages will be affected by the change, in either direction. Also, systemd requires more kernel configure options enabled than OpenRC. To change back, usually you will only need to unemerge systemd, emerge udev, and perhaps USE="-systemd" emerge -uDNvp @world. Be warned that the best thing to do is to do it from a LiveCD; if you boot with systemd, and uninstalled it, I don't think the shutdown would be clean. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2013-12-07 11:09 UTC | newest] Thread overview: 12+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-12-05 20:36 [gentoo-user] Systemd as drop-in replacement for udev? Róbert Čerňanský 2013-12-05 21:18 ` Canek Peláez Valdés 2013-12-05 22:26 ` Róbert Čerňanský 2013-12-05 23:17 ` Canek Peláez Valdés 2013-12-06 6:32 ` J. Roeleveld 2013-12-06 7:51 ` Michael Hampicke 2013-12-06 7:53 ` Michael Hampicke 2013-12-06 10:44 ` J. Roeleveld 2013-12-07 6:43 ` [gentoo-user] " Jonathan Callen 2013-12-07 11:09 ` Róbert Čerňanský 2013-12-06 20:43 ` [gentoo-user] " Tom Wijsman 2013-12-06 17:26 ` Canek Peláez Valdés
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox