Hi,
This is not directly factory related, but really a systemd question and
a difference w.r.t. behavior after firstboot action.
I have a script that after collecting some data through a YaST module at
first boot sets up a few things and then adds a service to the init
process (insserv < 12.1, systemctl enable >= 12.1).
The problem now is that prior to 12.1 after firstboot was completed and
I had added the services, these services were started by init. However,
in 12.1 with systemd the services do no longer get started after
firstboot is complete. If I insert an explicit 'systemctl start ....'
into the script that enables the service then things hang as the service
wants multi user mode and during first boot we are still in single user
mode. Therefore I trigger a deadlock, not very pleseant when one wants
the system to actually do something "useful".
Question now is, how do I manage this with systemd such that the service
is actually started after firstboot is complete and multiuser mode is
entered?
Thanks,
Robert
--
Robert Schweikert MAY THE SOURCE BE WITH YOU
SUSE-IBM Software Integration Center LINUX
Tech Lead
rjschwei(a)suse.com
rschweik(a)ca.ibm.com
781-464-8147
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-factory+owner(a)opensuse.org