Bug 68266

Summary: RFE: Allow some tools to be run without systemd being run for making migration smoother
Product: systemd Reporter: Pacho Ramos <pachoramos1>
Component: generalAssignee: systemd-bugs
Status: RESOLVED WORKSFORME QA Contact: systemd-bugs
Severity: normal    
Priority: medium CC: systemd
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

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.