Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#34657 - [systemd-sysvcompat] 198-1 or newer. Runlevel support is broken.

Attached to Project: Arch Linux
Opened by Jörg Kriegel (sokoban65) - Sunday, 07 April 2013, 13:06 GMT
Last edited by Dave Reisner (falconindy) - Friday, 10 May 2013, 13:11 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Dave Reisner (falconindy)
Tom Gundersen (tomegun)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: The runlevel support is broken. The runlevel command always gives unknown and telinit can not change to runlevels 2 to 5.

Steps to reproduce:

$ runlevel
unknown

# telinit 3
Failed to issue method call: Operation refused, unit may not be isolated.

Additional info: Systemd is build without SysV support (--with-sysvinit-path= --with-sysvrcnd-path=). So the following directories/symlinks are missing:

usr/lib/systemd/system/runlevel0.target
usr/lib/systemd/system/runlevel1.target
usr/lib/systemd/system/runlevel1.target.wants/
usr/lib/systemd/system/runlevel1.target.wants/systemd-update-utmp-runlevel.service
usr/lib/systemd/system/runlevel2.target
usr/lib/systemd/system/runlevel2.target.wants/
usr/lib/systemd/system/runlevel2.target.wants/systemd-update-utmp-runlevel.service
usr/lib/systemd/system/runlevel3.target
usr/lib/systemd/system/runlevel3.target.wants/
usr/lib/systemd/system/runlevel3.target.wants/systemd-update-utmp-runlevel.service
usr/lib/systemd/system/runlevel4.target
usr/lib/systemd/system/runlevel4.target.wants/
usr/lib/systemd/system/runlevel4.target.wants/systemd-update-utmp-runlevel.service
usr/lib/systemd/system/runlevel5.target
usr/lib/systemd/system/runlevel5.target.wants/
usr/lib/systemd/system/runlevel5.target.wants/systemd-update-utmp-runlevel.service
usr/lib/systemd/system/runlevel6.target

As those sysmlinks are only required by the systemd-sysvcompat package, they should IMHO be included there.
This task depends upon

Closed by  Dave Reisner (falconindy)
Friday, 10 May 2013, 13:11 GMT
Reason for closing:  Won't fix
Additional comments about closing:  targets are far superior to runlevels (which are an obsolete concept).
Comment by John (graysky) - Sunday, 07 April 2013, 13:26 GMT
Been this way for a while which I assumed to be by design... just make a few aliases if Arch support for these is indeed deprecated:

% which t3
t3: aliased to sudo systemctl isolate multi-user.target
% which t5
t5: aliased to sudo systemctl isolate graphical.target

Loading...