Bug 68266 - RFE: Allow some tools to be run without systemd being run for making migration smoother
Summary: RFE: Allow some tools to be run without systemd being run for making migratio...
Status: RESOLVED WORKSFORME
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-19 09:46 UTC by Pacho Ramos
Modified: 2013-10-03 17:44 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Pacho Ramos 2013-08-19 09:46:35 UTC
One issue we are hitting while telling people how to migrate on Gentoo from openRC to systemd is that some commands need to be run once you booted using systemd and, then, instead of being able to configure all the stuff before rebooting using new init system, people need to boot using a midworking one -> use the tools to configure their systems properly -> reboot again.

The tools we would like to run outside systemd being run to get it configured before we boot to it would be:
hostnamectl -> at least "hostnamectl set-hostname" should work 
localectl set-locale
localectl set-keymap
localectl set-x11-keymap
timedatectl set-timezone
timedatectl set-local-rtc

Thanks a lot
Comment 1 Zbigniew Jedrzejewski-Szmek 2013-09-12 23:49:12 UTC
If you run systemd-localed, systemd-timedated, systemd-hostnamed (as root), then things should "just work", and localectl, timedatectl, and hostnamectl should be able to connect to them.
Comment 2 Pacho Ramos 2013-09-13 16:19:07 UTC
(In reply to comment #1)
> If you run systemd-localed, systemd-timedated, systemd-hostnamed (as root),
> then things should "just work", and localectl, timedatectl, and hostnamectl
> should be able to connect to them.

Didn't try that, will probably add the our docs then

Thanks a lot for the info!
Comment 3 Zbigniew Jedrzejewski-Szmek 2013-10-03 13:35:02 UTC
(In reply to comment #2)
> Didn't try that, will probably add the our docs then
So, does it work? Can we close this?
Comment 4 Pacho Ramos 2013-10-03 17:44:41 UTC
Looks to work for people, but I couldn't test it myself :S


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.