| View previous topic :: View next topic |
| Author |
Message |
yarjie n00b

Joined: 20 Dec 2013 Posts: 25
|
Posted: Fri Jan 03, 2014 6:29 am Post subject: How does Systemd start /etc/local.d/baselayout1.start ? |
|
|
What executables and libraries take part in executing the /etc/local.d/baselayout1.start script, especially within Systemd init system?
Probably some of them come from /usr/... folder - what makes pay special attention when booting via initramfs, don't they?
----------------------------------
"systemd-analyse blame" shows (among others) such an entity:
gentoo-local-baselayout1.service
which closer looks like:
| Code: |
# systemctl status gentoo-local-baselayout1.service
gentoo-local-baselayout1.service - Service for local.d/baselayout1.*
Loaded: loaded (/run/systemd/generator/gentoo-local-baselayout1.service)
Active: active (exited) since Fri 2014-01-03 10:01:10 CET; 7min ago
Process: 260 ExecStart=/usr/bin/env /etc/local.d/baselayout1.start (code=exited, status=0/SUCCESS)
...
|
So, now we know one culprit: /usr/bin/env
but after all this unit seems automatically generated - has anybody any idea by what?
-----------------------------------------------
The unit /run/systemd/generator/gentoo-local-baselayout1.service appears as generated by
/usr/lib/systemd/system-generators/gentoo-local-generator
however this scripts seems not included in original systemd ebuild package, so where has it come from? |
|
| Back to top |
|
 |
Kompi Apprentice


Joined: 05 Oct 2002 Posts: 252 Location: Germany
|
Posted: Sun Jan 05, 2014 8:52 am Post subject: Re: How does Systemd start /etc/local.d/baselayout1.start ? |
|
|
| yarjie wrote: |
The unit /run/systemd/generator/gentoo-local-baselayout1.service appears as generated by
/usr/lib/systemd/system-generators/gentoo-local-generator
however this scripts seems not included in original systemd ebuild package, so where has it come from? |
It belongs to sys-apps/gentoo-systemd-integration. You can find that out with equery (from app-portage/gentoolkit):
| Code: | $ equery belongs /usr/lib/systemd/system-generators/gentoo-local-generator
* Searching for /usr/lib/systemd/system-generators/gentoo-local-generator ...
sys-apps/gentoo-systemd-integration-2 (/usr/lib/systemd/system-generators/gentoo-local-generator) |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|