[systemd-devel] switching to another default from within a service

2016-12-06 Thread Chris Morin
Hi, I have a service that needs to run before anything else in the system. To accomplish this, I made a new target that only depends on this service, and set that new target as the default.target. The service that runs does it's early boot task. It's then supposed to switch to the original default

Re: [systemd-devel] Monitoring whether all dependencies of a target are active

2016-08-25 Thread Chris Morin
> > We just migrated to Systemd and we love it! > > Now I'm looking for a way to monitor if all the "important units" of my > system are running or not. > My plan is to create a target that "wants" all those important units. > Then I'll just need to check that the dependencies of those units > are

[systemd-devel] What are all the reasons systemd could fall to rescue mode

2016-03-09 Thread Chris Morin
Hi, I'm seeing systemd fall to a rescue shell upon reload and am trying to understand why it's happening. I have a very custom boot graph in case that matters. From reading the systemd documentation and reading the code, as far as I can tell, the following reasons are the only way rescue.servic

Re: [systemd-devel] Fall back to shell and still see failure

2015-05-18 Thread Chris Morin
asfs Flashutil" doesn't get to complete. On Mon, May 18, 2015 at 1:35 PM, Lennart Poettering wrote: > On Mon, 18.05.15 13:23, Chris Morin ([email protected]) wrote: > >> Hi >> >> During a normal boot on my system, the last service to launch starts >>

[systemd-devel] Fall back to shell and still see failure

2015-05-18 Thread Chris Morin
Hi During a normal boot on my system, the last service to launch starts a special shell which isn't your standard linux shell. Unfortunately, before getting to that service, there is a long chain of dependencies which have to run. I want to drop to a normal linux shell when any of these dependen