Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to change from systemd to open-rc?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
luck117
n00b
n00b


Joined: 05 Jun 2018
Posts: 4

PostPosted: Tue Jun 05, 2018 11:46 pm    Post subject: how to change from systemd to open-rc? Reply with quote

Hi everyone, I came from Debian because I do not want to use systemd, so I installed a dristro based on Gentoo that is named exGENT. And everything is ok less that it uses systemd so my question is how to change to open-rc.I have no idea linux is still unknown for me but I am here stuck and learning. :v

Thanks for your time.
Back to top
View user's profile Send private message
fourchannel
n00b
n00b


Joined: 21 Jul 2006
Posts: 17

PostPosted: Wed Jun 06, 2018 12:33 am    Post subject: Re: Change from systemd to openrc Reply with quote

luck117 wrote:
Hi everyone, I came from Debian because I do not want to use systemd, so I installed a dristro based on Gentoo that is named exGENT. And everything is ok less that it uses systemd so my question is how to change to open-rc.I have no idea linux is still unknown for me but I am here stuck and learning. :v

Thanks for your time.



So first off, it should be stated that gentoo can get pretty advanced and under the hood. If you want a systemd-free distro that is a little easier to learn on, you might try Devuan, as it specifically came into being because enough Debian folks couldn't stand having systemd shoved down their throats, and made Devuan to retain their freedom.

That being said, assuming exGENT is closely matched to gentoo, This article is a good start to removing systemd from gentoo.

Before removing systemd, you need to make sure you have openrc ready to go. It would be very bad to tank your system by leaving it without a functioning init system.

Code:
/etc/portage/make.conf
Edit this file and set your global use flags to remove systemd and use openrc.

It would look like this...

Code:
USE="${USE} -systemd openrc"


You should also make sure to forbid systemd from being pulled in with future installs, by following the package.mask instructions in the gentoo wiki.

Once that is done, you need to implement a device manager. eudev is a good choice, and it was created specifically because the systemd folks jacked up the original udev.

Code:
emerge -av sys-fs/eudev sys-apps/openrc && emerge -av --unmerge sys-apps/systemd sys-fs/udev && revdep-rebuild && emerge -av --deep --changed-use @world

This...
  • installs eudev and openrc
  • removes systemd and udev
  • checks for broken packages that depended on either systemd or udev
  • finally, runs a deep check for anything that has changed due to setting -systemd +openrc on a global level



Hope that helps. Plz reply if you are unsure of anything, or want more clarification about anything.
_________________
---FourChannel---

Put your spare cpu cycles to good use


Last edited by fourchannel on Wed Jun 06, 2018 1:32 am; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21489

PostPosted: Wed Jun 06, 2018 1:25 am    Post subject: Re: Change from systemd to openrc Reply with quote

fourchannel wrote:
Code:
/etc/portage/make.conf
Edit this file and set your global use flags to remove systemd and use openrc.
Code:
USE="${USE} -systemd +openrc"
To quote Portage's aggressively repeated error message on this point:
Code:
USE flags should not start with a '+': +openrc
Fix: remove the leading plus. Leading minus is correct for disabling a flag. Leading plus is not supported for enabling one.
Back to top
View user's profile Send private message
fourchannel
n00b
n00b


Joined: 21 Jul 2006
Posts: 17

PostPosted: Wed Jun 06, 2018 1:33 am    Post subject: Re: Change from systemd to openrc Reply with quote

Hu wrote:
To quote Portage's aggressively repeated error message on this point:
Code:
USE flags should not start with a '+': +openrc
Fix: remove the leading plus. Leading minus is correct for disabling a flag. Leading plus is not supported for enabling one.


Thanks. I edited the post.
_________________
---FourChannel---

Put your spare cpu cycles to good use
Back to top
View user's profile Send private message
luck117
n00b
n00b


Joined: 05 Jun 2018
Posts: 4

PostPosted: Wed Jun 06, 2018 3:12 am    Post subject: Reply with quote

Hi Fourchannel and thank you I did what you told me but with this "emerge -av --deep --changed-use @world" it tells me I have "Blocked Packages"

this is what the console spit out:


Code:
exgent ~ # emerge -av --deep --changed-use --backtrack=30  @world

* IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] sys-apps/baselayout-2.6::gentoo [2.4.1-r2::gentoo] USE="split-usr%* -build" 32 KiB
[ebuild     U  ] sys-apps/busybox-1.28.4::gentoo [1.28.3::gentoo] USE="ipv6 livecd static -debug -make-symlinks -math -mdev -pam -savedconfig (-selinux) -sep-usr -syslog -systemd*" 2,211 KiB
[ebuild     U  ] sys-apps/coreutils-8.29-r1::gentoo [8.29::gentoo] USE="acl nls split-usr%* xattr -caps -gmp -hostname -kill -multicall (-selinux) -static {-test} -vanilla" 5,169 KiB
[ebuild   R    ] dev-libs/libnl-3.4.0:3::gentoo  USE="debug%* threads%* -python -static-libs -utils" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6" 912 KiB
[ebuild   R    ] sys-auth/pambase-20150213-r1::gentoo  USE="cracklib nullok sha512 -consolekit -debug -elogind -gnome-keyring -minimal -mktemp -pam_krb5 -pam_ssh -passwdqc -securetty (-selinux) -systemd*" 4 KiB
[ebuild     U  ] sys-process/procps-3.3.15-r1:0/6::gentoo [3.3.14:0/5::gentoo] USE="kill ncurses nls unicode -elogind -modern-top (-selinux) -static-libs -systemd* {-test}" 884 KiB
[ebuild     U  ] dev-libs/nss-3.37.1::gentoo [3.36::gentoo] USE="nss-pem -cacert -utils" ABI_X86="(64) -32 (-x32)" 22,522 KiB
[ebuild   R    ] dev-libs/boehm-gc-7.6.4::gentoo  USE="cxx threads* -static-libs" ABI_X86="(64) -32 (-x32)" 1,095 KiB
[ebuild   R    ] dev-qt/qtcore-5.9.4-r2:5/5.9::gentoo  USE="icu -debug -systemd* {-test}" 44,124 KiB
[ebuild   R    ] app-crypt/rhash-1.3.6-r1::gentoo  USE="nls ssl%* -debug -libressl% -static-libs (-openssl%)" ABI_X86="(64) -32 (-x32)" 321 KiB
[ebuild     U  ] dev-util/cargo-0.27.0::gentoo [0.24.0::gentoo] USE="-debug -doc -libressl" 24,959 KiB
[ebuild  N     ] media-libs/freeglut-3.0.0::gentoo  USE="-debug -static-libs" ABI_X86="(64) -32 (-x32)" 410 KiB
[ebuild   R    ] virtual/libudev-232:0/1::gentoo  USE="-static-libs -systemd*" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-apps/util-linux-2.32-r3::gentoo  USE="cramfs ncurses nls pam readline suid udev unicode -build -caps -fdformat -kill -python (-selinux) -slang -static-libs -systemd* {-test} -tty-helpers" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_5 -python2_7 -python3_4 -python3_6" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6" 4,444 KiB
[ebuild   R    ] sys-fs/lvm2-2.02.166-r2::gentoo  USE="readline thin udev -clvm -cman -corosync -device-mapper-only -lvm1 -lvm2create_initrd -openais -sanlock (-selinux) -static -static-libs -systemd*" 2,098 KiB
[ebuild     U  ] net-misc/openssh-7.7_p1-r4::gentoo [7.6_p1-r5::gentoo] USE="X livecd pam pie ssl -X509 -audit -bindist -debug -hpn -kerberos (-ldap*) -ldns -libedit -libressl -sctp (-selinux) -skey -static {-test}" 1,517 KiB
[ebuild  N     ] app-text/mupdf-1.12.0-r2:0/1.12.0::gentoo  USE="X curl lcms opengl openssl -javascript -libressl -static -static-libs -vanilla" 50,302 KiB
[ebuild   R    ] virtual/udev-217::gentoo  USE="-systemd*" 0 KiB
[ebuild     U  ] x11-base/xorg-server-1.19.5-r2:0/1.19.5::gentoo [1.19.5-r1:0/1.19.5::gentoo] USE="glamor ipv6 suid udev xorg -debug -dmx -doc -kdrive -libressl -minimal (-selinux) -static-libs -systemd* -tslib -unwind -wayland -xcsecurity -xephyr -xnest -xvfb" 5,826 KiB
[ebuild   R    ] sys-auth/polkit-0.113-r4::gentoo  USE="gtk introspection jit nls pam -elogind -examples -kde (-selinux) -systemd* {-test}" 1,415 KiB
[ebuild  N     ] sys-auth/consolekit-1.2.1::gentoo  USE="acl pam policykit udev -cgroups -debug -doc -evdev -pm-utils (-selinux) {-test}" 1,156 KiB
[ebuild   R    ] net-misc/modemmanager-1.6.12:0/1::gentoo  USE="introspection qmi -mbim -policykit -systemd* -vala" 1,370 KiB
[ebuild     U  ] app-crypt/libsecret-0.18.6-r1::gentoo [0.18.5::gentoo] USE="crypt introspection {-test} -vala (-debug%)" ABI_X86="(64%*) -32% (-x32)" 477 KiB
[ebuild     U  ] dev-lang/python-2.7.14-r2:2.7::gentoo [2.7.14-r1:2.7::gentoo] USE="bluetooth%* gdbm ipv6 ncurses readline sqlite ssl (threads) (wide-unicode) xml (-berkdb) -build -doc -examples -hardened -libressl -tk -wininst" 12,295 KiB
[ebuild     U  ] sys-libs/ldb-1.3.3:0/1.3.3::gentoo [1.3.2:0/1.3.2::gentoo] USE="ldap python -doc" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7" 1,339 KiB
[ebuild     U  ] dev-lang/python-3.5.5-r1:3.5/3.5m::gentoo [3.5.5:3.5/3.5m::gentoo] USE="bluetooth%* gdbm ipv6 ncurses readline ssl (threads) xml -build -examples -hardened -libressl -sqlite {-test} -tk -wininst" 15,004 KiB
[ebuild     U  ] sys-libs/libblockdev-2.17::gentoo [2.16::gentoo] USE="cryptsetup -bcache -dmraid -doc -escrow% -kbd -lvm {-test}" PYTHON_SINGLE_TARGET="python3_5 -python2_7% -python3_4 -python3_6" PYTHON_TARGETS="python2_7%* python3_5 -python3_4 -python3_6" 294 KiB
[ebuild     U  ] dev-lang/rust-1.26.1:stable/1.26::gentoo [1.23.0-r1:stable/1.23::gentoo] USE="jemalloc -debug -doc (-extended)" ABI_X86="(64%*) -32% (-x32)" LLVM_TARGETS="(X86%*) -AArch64% -AMDGPU% -ARM% -BPF% -Hexagon% -Lanai% -MSP430% -Mips% -NVPTX% -PowerPC% -Sparc% -SystemZ% -XCore%" 161,781 KiB
[ebuild   R    ] sys-fs/udisks-2.7.6:2::gentoo  USE="acl introspection nls -debug -elogind -lvm (-selinux) -systemd*" 1,285 KiB
[ebuild  N    #] sys-apps/systemd-238-r7:0/2::gentoo  USE="acl cryptsetup gcrypt http kmod lz4 pam pcre seccomp split-usr ssl sysv-utils -apparmor -audit -build -curl -elfutils -gnuefi -idn -importd -libidn2 -lzma -nat -policykit -qrcode (-selinux) {-test} -vanilla -xkb" ABI_X86="(64) -32 (-x32)" 6,838 KiB
[ebuild  N     ] sys-apps/gentoo-systemd-integration-7::gentoo  63 KiB
[ebuild   R    ] net-print/cups-2.2.7::gentoo  USE="X acl dbus pam ssl threads usb -debug -java -kerberos -lprng-compat -python (-selinux) -static-libs -systemd* -xinetd -zeroconf" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7" 10,089 KiB
[ebuild     U  ] net-fs/samba-4.8.2::gentoo [4.8.0::gentoo] USE="acl client cups fam ldap pam system-mitkrb5 -addc -addns -ads -ceph -cluster -debug (-dmapi) -gnutls -gpg -iprint -python -quota (-selinux) -syslog (-system-heimdal) -systemd* {-test} -winbind -zeroconf" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7" 17,261 KiB
[ebuild     U  ] net-wireless/bluez-5.49-r1:0/3::gentoo [5.49:0/3::gentoo] USE="alsa cups mesh obex readline udev -debug -deprecated -doc -experimental -extra-tools (-selinux) -systemd* {-test} -test-programs -user-session" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7" 1,704 KiB
[ebuild     U  ] net-print/cups-filters-1.20.3::gentoo [1.20.2::gentoo] USE="dbus foomatic jpeg* ldap* pdf* png* postscript tiff* -ipp_autosetup -pclm -perl -static-libs {-test} -zeroconf" 1,436 KiB
[ebuild     U  ] net-misc/networkmanager-1.10.6::gentoo [1.10.2::gentoo] USE="bluetooth dhclient introspection modemmanager ncurses nss ppp wext wifi -audit -connection-sharing -consolekit -dhcpcd -elogind -gnutls -json -ofono -ovs -policykit -resolvconf (-selinux) -systemd* -teamd {-test} -vala" ABI_X86="(64) -32 (-x32)" 3,936 KiB
[ebuild     U  ] gnome-base/gvfs-1.32.2::gentoo [1.32.1-r1::gentoo] USE="afp gtk http samba udev udisks -archive -bluray -cdda -elogind -fuse -gnome-keyring -gnome-online-accounts -google -gphoto2 -ios -mtp -nfs -policykit -systemd* {-test} -zeroconf" 1,800 KiB
[ebuild     U  ] gnome-extra/nm-applet-1.8.10-r1::gentoo [1.8.6::gentoo] USE="gcr* introspection modemmanager (-selinux) -teamd" 1,445 KiB
[ebuild     U  ] www-client/firefox-60.0.1::gentoo [58.0.1::gentoo] USE="dbus gmp-autoupdate screenshot startup-notification* wifi* -bindist -custom-cflags -custom-optimization -debug -eme-free -hardened -hwaccel -jack (-neon) -pulseaudio (-selinux) -system-harfbuzz -system-icu -system-jpeg -system-libevent -system-libvpx -system-sqlite {-test}" L10N="-ach -af -an -ar -as -ast -az -bg -bn-BD -bn-IN -br -bs -ca -cak -cs -cy -da -de -dsb -el -en-GB -en-ZA -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW" 261,637 KiB
[blocks B      ] sys-fs/eudev ("sys-fs/eudev" is blocking sys-apps/systemd-238-r7, sys-apps/gentoo-systemd-integration-7)
[blocks B      ] sys-apps/sysvinit ("sys-apps/sysvinit" is blocking sys-apps/systemd-238-r7)
[blocks B      ] sys-apps/gentoo-systemd-integration ("sys-apps/gentoo-systemd-integration" is blocking sys-fs/eudev-3.2.5)
[blocks B      ] sys-apps/systemd ("sys-apps/systemd" is blocking sys-fs/eudev-3.2.5)

Total: 39 packages (21 upgrades, 5 new, 13 reinstalls), Size of downloads: 669,436 KiB
Conflict: 4 blocks (4 unsatisfied)

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-lang/rust:stable

  (dev-lang/rust-1.26.1:stable/1.26::gentoo, ebuild scheduled for merge) pulled in by
    >=dev-lang/rust-1.24.0[-extended(-)] required by (www-client/firefox-60.0.1:0/0::gentoo, ebuild scheduled for merge)
    ^^              ^^^^^^

  (dev-lang/rust-1.23.0-r1:stable/1.23::gentoo, installed) pulled in by
    =dev-lang/rust-1.23.0* required by (virtual/rust-1.23.0:0/0::gentoo, installed)
    ^              ^^^^^^^


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-apps/systemd-238-r7:0/2::gentoo, ebuild scheduled for merge) pulled in by
    sys-apps/systemd:0/2= required by (sys-apps/dbus-1.12.6:0/0::gentoo, installed)
    sys-apps/systemd required by (virtual/tmpfiles-0:0/0::gentoo, installed)
    >=sys-apps/systemd-207 required by (sys-apps/gentoo-systemd-integration-7:0/0::gentoo, ebuild scheduled for merge)
    sys-apps/systemd:0= required by (sys-apps/dbus-1.12.6:0/0::gentoo, installed)
    >=sys-apps/systemd-38 required by (virtual/logger-0:0/0::gentoo, installed)

  (sys-apps/sysvinit-2.89-r1:0/0::gentoo, installed) pulled in by
    >=sys-apps/sysvinit-2.86-r6[selinux?] (>=sys-apps/sysvinit-2.86-r6) required by (sys-apps/openrc-9999:0/0::gentoo, installed)
    >=sys-apps/sysvinit-2.87-r3 required by (sys-kernel/dracut-047-r1:0/0::gentoo, installed)

  (sys-fs/eudev-3.2.5:0/0::gentoo, installed) pulled in by
    >=sys-fs/eudev-1.3:0/0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,
abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (>=sys-fs/eudev-1.3:0/0[abi_x86_64(-)]) required by (virtual/libudev-232:0/1::gentoo, ebuild scheduled for merge)
    >=sys-fs/eudev-2.1.1 required by (virtual/udev-217:0/0::gentoo, ebuild scheduled for merge)
    sys-fs/eudev required by @selected


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages

Thanks

[Moderator edit: added [code] tags to preserve output layout; broke long whitespace-free lines in code tags to fix thread layout. -Hu]
Back to top
View user's profile Send private message
benchaney
n00b
n00b


Joined: 28 Dec 2017
Posts: 30

PostPosted: Wed Jun 06, 2018 3:23 am    Post subject: Reply with quote

Quote:
>=sys-apps/systemd-38 required by (virtual/logger-0:0/0::gentoo, installed)


This suggests to me that you need to install a logger. For whatever reason, your system is defaulting to the logger bundled with systemd. Read this to learn more about the options. https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Tools#System_logger
Back to top
View user's profile Send private message
luck117
n00b
n00b


Joined: 05 Jun 2018
Posts: 4

PostPosted: Wed Jun 06, 2018 3:53 am    Post subject: Reply with quote

thanks Benchaney It's done, but still can't solve the "Blocked Packages"
Back to top
View user's profile Send private message
benchaney
n00b
n00b


Joined: 28 Dec 2017
Posts: 30

PostPosted: Wed Jun 06, 2018 4:08 am    Post subject: Reply with quote

What logger did you install? Is the error message still the same?
Back to top
View user's profile Send private message
fourchannel
n00b
n00b


Joined: 21 Jul 2006
Posts: 17

PostPosted: Wed Jun 06, 2018 5:47 am    Post subject: Reply with quote

What happenes when you run...
Code:
emerge -av --pretend --unmerge sys-apps/systemd sys-fs/udev


This command only pretends to do something, it doesn't actually make any changes.
_________________
---FourChannel---

Put your spare cpu cycles to good use
Back to top
View user's profile Send private message
luck117
n00b
n00b


Joined: 05 Jun 2018
Posts: 4

PostPosted: Wed Jun 06, 2018 6:51 pm    Post subject: Reply with quote

Hey, It told me this :

Code:
exgent ~ # emerge -av --pretend --unmerge sys-apps/systemd sys-fs/udev

* This action can remove important packages! In order to be safer, use
 * `emerge -pv --depclean <atom>` to check for reverse dependencies before
 * removing packages.

>>> These are the packages that would be unmerged:

--- Couldn't find 'sys-fs/udev' to unmerge.


!!! 'sys-apps/systemd' (virtual/dev-manager) is part of your system profile.
!!! Unmerging it may be damaging to your system.

Thanks

[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
fourchannel
n00b
n00b


Joined: 21 Jul 2006
Posts: 17

PostPosted: Wed Jun 06, 2018 7:11 pm    Post subject: Reply with quote

luck117 wrote:
exgent ~ # emerge -av --pretend --unmerge sys-apps/systemd sys-fs/udev



--- Couldn't find 'sys-fs/udev' to unmerge.


!!! 'sys-apps/systemd' (virtual/dev-manager) is part of your system profile.
!!! Unmerging it may be damaging to your system.


Ok, this is solvable.

First...
Code:
sys-fs/eudev ("sys-fs/eudev" is blocking sys-apps/systemd-238-r7, sys-apps/gentoo-systemd-integration-7)
[blocks B      ] sys-apps/sysvinit ("sys-apps/sysvinit" is blocking sys-apps/systemd-238-r7)
[blocks B      ] sys-apps/gentoo-systemd-integration ("sys-apps/gentoo-systemd-integration" is blocking sys-fs/eudev-3.2.5)


You've got circular blocking.

Start with unmerging gentoo-systemd-integration.

Second, install openrc, so it won't try to use sysvinit.

Third, remove systemd. Then install eudev.

See if that works.
_________________
---FourChannel---

Put your spare cpu cycles to good use
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3333
Location: de

PostPosted: Thu Jun 07, 2018 12:52 pm    Post subject: Re: how to change from systemd to open-rc? Reply with quote

luck117 wrote:
I do not want to use systemd, so I installed a dristro based on Gentoo that is named exGENT. And everything is ok less that it uses systemd


Instead of installing a Live-DVD, which uses Systemd, wouldn't it be easier to install a plain Gentoo?
Back to top
View user's profile Send private message
fourchannel
n00b
n00b


Joined: 21 Jul 2006
Posts: 17

PostPosted: Thu Jun 07, 2018 1:19 pm    Post subject: Re: how to change from systemd to open-rc? Reply with quote

musv wrote:
Instead of installing a Live-DVD, which uses Systemd, wouldn't it be easier to install a plain Gentoo?


I mean, there's no harm in learning how to remove systemd from a distro.

Maybe he wants to learn so he's not defenseless in the coming wave.

He can take what he learns here and carry it on to another distro, or simply repeat it again if he reinstalls down the road.

There's value in learning how to keep systemd out of your boxes.

: D
_________________
---FourChannel---

Put your spare cpu cycles to good use
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Thu Jun 07, 2018 10:16 pm    Post subject: Reply with quote

I don't often suggest this, but it might be better to backup /home on a USB disk and maybe /etc, then wipe the disk and re-install.

But first, what profile are you using? That message says your profile requires systemd and some do.

eselect profile list
Code:

!!! 'sys-apps/systemd' (virtual/dev-manager) is part of your system profile.
!!! Unmerging it may be damaging to your system.
Back to top
View user's profile Send private message
olger901
l33t
l33t


Joined: 17 Mar 2005
Posts: 625

PostPosted: Wed Jun 13, 2018 7:43 am    Post subject: Reply with quote

What I'd advise first of all is making a backup of your system (snapshot or clone).

- Then what you need to do is set your profile (using eselect set profile) to a none systemd profile
- Then change your USE flags and change systemd to -systemd.
- Then you should use emerge -pve system to check whether there'll be any conflicts and resolve them.
- After resolving the conflicts you should run a emerge -e system and wait until it's done.
- After that you'll need to install a syslog daemon and a cron daemon in case you'd like to use the functionality.
- Finally you'd need to edit your grub.conf and remove the init= part from your kernel so it'll revert to the traditional init system.

The above assumes you have the correct kernel modules compiled for OpenRC.

I've done it once and it's definitely possible, however it might actually take less time just to make a backup and re-install your system.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum