After installing >=sys-apps/systemd-242 there is no console on tty1. The workaround is to manually enable getty@tty1.service. machines.target and remote-fs.target are also disabled. This affects both upgrades and new installs (from stage3). Old version (239 in my case): # emerge --info systemd <skipped> sys-apps/systemd-239-r2::gentoo was built with the following: USE="acl elfutils gcrypt idn kmod lz4 lzma pam pcre seccomp (split-usr) ssl sysv-utils -apparmor -audit -build -cryptsetup -curl -gnuefi -http -importd -libidn2 -nat -policykit -qrcode -resolvconf (-selinux) -test -vanilla -xkb" ABI_X86="(64) -32 (-x32)" <skipped> # equery f systemd <skipped> /etc/systemd/system/getty.target.wants /etc/systemd/system/getty.target.wants/getty@tty1.service -> ../../../../lib/systemd/system/getty@.service /etc/systemd/system/multi-user.target.wants /etc/systemd/system/multi-user.target.wants/machines.target -> ../../../../lib/systemd/system/machines.target /etc/systemd/system/multi-user.target.wants/remote-fs.target -> ../../../../lib/systemd/system/remote-fs.target <skipped> New version: # emerge --info systemd <skipped> sys-apps/systemd-242-r6::gentoo was built with the following: USE="acl elfutils gcrypt idn kmod libidn2 lz4 lzma pam pcre seccomp (split-usr) sysv-utils -apparmor -audit -build -cryptsetup -curl -dns-over-tls -gnuefi -http -importd -nat -policykit -qrcode -resolvconf (-selinux) -test -vanilla -xkb" ABI_X86="(64) -32 (-x32)" <skipped> # equery f systemd <skipped> /etc/systemd/system/getty.target.wants /etc/systemd/system/multi-user.target.wants <skipped> # ls -la /etc/systemd/system/getty.target.wants/ total 8 drwxr-xr-x 2 root root 4096 Aug 9 13:54 . drwxr-xr-x 10 root root 4096 Aug 9 14:56 .. Also see: https://github.com/systemd/systemd/issues/12345
https://github.com/systemd/systemd/blob/v242/NEWS#L223
I had the same issue after a new installation using the Admin Live CD. Since the Admin Live CD has no systemd, a lot of commands inside the chroot arent't working (systemctl, timedatectl etc.). The command below resolved the issue. P.S.: I did a stage1 installation, but just tried it with a stage3 in a VM and produces the same behavior
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d627c578b9e27b5349f39fcd238f108734c115f5 commit d627c578b9e27b5349f39fcd238f108734c115f5 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2019-08-11 16:07:32 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2019-08-11 16:07:32 +0000 sys-apps/systemd: add postinst message about "systemctl preset-all" Closes: https://bugs.gentoo.org/691854 Package-Manager: Portage-2.3.71, Repoman-2.3.16_p24 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-apps/systemd/systemd-242-r6.ebuild | 5 +++++ sys-apps/systemd/systemd-243_rc1-r1.ebuild | 5 +++++ sys-apps/systemd/systemd-9999.ebuild | 5 +++++ 3 files changed, 15 insertions(+)
Note that "systemctl preset-all" disables all 3rd party services. So people who have already enabled some services should use "systemctl preset-all --preset-mode=enable-only" instead.
Why don't run it automatically for first installation? It seems all people shall run it manually anyway for those cases :/
preset-all may enable a bunch of unneeded stuff. I think better solution is just to enable some services by default, as Arch & Ubuntu does (namely: getty@tty1.service and remote-fs.target) and leave other services at user discretion.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d80667d80ec11906c6b3b570f5bb9a55a0e7b318 commit d80667d80ec11906c6b3b570f5bb9a55a0e7b318 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2019-08-12 14:11:15 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2019-08-12 14:12:02 +0000 sys-apps/systemd: enable some basic services for new installs Also update the preset-all postinst message. Bug: https://bugs.gentoo.org/691854 Package-Manager: Portage-2.3.71, Repoman-2.3.16_p24 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-apps/systemd/systemd-242-r6.ebuild | 13 ++++++++----- sys-apps/systemd/systemd-243_rc1-r2.ebuild | 13 ++++++++----- sys-apps/systemd/systemd-9999.ebuild | 13 ++++++++----- 3 files changed, 24 insertions(+), 15 deletions(-)
Thanks!