New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider better alternative to setting default "runlevel" in /etc/systemd/system #2392

Open
Rudd-O opened this Issue Oct 23, 2016 · 3 comments

Comments

Projects
None yet
4 participants
@Rudd-O

Rudd-O commented Oct 23, 2016

core-vm.spec in qubes-core-agent-linux screws with /etc/systemd/system:

# Set default "runlevel"
rm -f /etc/systemd/system/default.target
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target

This is unnecessary. A simple boot command line parameter "systemd.unit=multi-user.target" does the trick. Of course, the fix needs to be applied in qubes-core-dom0 as well.

@unman

This comment has been minimized.

Show comment
Hide comment
@unman

unman Nov 2, 2016

Member

@Rudd-O

core-vm.spec in qubes-core-agent-linux screws with /etc/systemd/system:

No it doesn't - this is the canonical way of changing default runlevel.
See here
No fix is needed.

Member

unman commented Nov 2, 2016

@Rudd-O

core-vm.spec in qubes-core-agent-linux screws with /etc/systemd/system:

No it doesn't - this is the canonical way of changing default runlevel.
See here
No fix is needed.

@Rudd-O

This comment has been minimized.

Show comment
Hide comment
@Rudd-O

Rudd-O Nov 5, 2016

This bug was more about NOT changing the default runlevel, but rather providing a graphical.target that did the right thing, instead of trying to override stuff in the base image.

How should I summarize that idea in the bug's title?

Rudd-O commented Nov 5, 2016

This bug was more about NOT changing the default runlevel, but rather providing a graphical.target that did the right thing, instead of trying to override stuff in the base image.

How should I summarize that idea in the bug's title?

@andrewdavidwong andrewdavidwong changed the title from Do not touch /etc/systemd/system files. to Consider better alternative to setting default "runlevel" in /etc/systemd/system Nov 5, 2016

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Nov 5, 2016

Member

@Rudd-O: How's that?

Member

andrewdavidwong commented Nov 5, 2016

@Rudd-O: How's that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment