diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-02-10 13:55:00 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-02-10 13:55:00 +0000 |
commit | ba92397f9a89b92485b684f7435a844f53b4b60a (patch) | |
tree | 3218b43da61dcd8cf750f6fe9e79c6d2c17083ea /layout/rootfs/etc/s6-rc/source-base | |
parent | b30d4de9db9bdadd75110e901d578e23e40c91f7 (diff) | |
download | lh-bootstrap-ba92397f9a89b92485b684f7435a844f53b4b60a.tar.xz |
Add nsss, fix s6li dep on utmps
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'layout/rootfs/etc/s6-rc/source-base')
-rw-r--r-- | layout/rootfs/etc/s6-rc/source-base/btmpd/dependencies.d/nsssd (renamed from layout/rootfs/etc/s6-rc/source-base/utmpd/dependencies.d/mount-rwfs) | 0 | ||||
-rw-r--r-- | layout/rootfs/etc/s6-rc/source-base/mdevd/dependencies.d/nsssd | 0 | ||||
-rw-r--r-- | layout/rootfs/etc/s6-rc/source-base/nsssd/dependencies.d/00 | 0 | ||||
-rw-r--r-- | layout/rootfs/etc/s6-rc/source-base/nsssd/notification-fd | 1 | ||||
-rwxr-xr-x | layout/rootfs/etc/s6-rc/source-base/nsssd/run | 7 | ||||
-rw-r--r-- | layout/rootfs/etc/s6-rc/source-base/nsssd/type | 1 | ||||
-rw-r--r-- | layout/rootfs/etc/s6-rc/source-base/utmpd/dependencies.d/nsssd | 0 | ||||
-rw-r--r-- | layout/rootfs/etc/s6-rc/source-base/wtmpd/dependencies.d/nsssd | 0 |
8 files changed, 9 insertions, 0 deletions
diff --git a/layout/rootfs/etc/s6-rc/source-base/utmpd/dependencies.d/mount-rwfs b/layout/rootfs/etc/s6-rc/source-base/btmpd/dependencies.d/nsssd index e69de29..e69de29 100644 --- a/layout/rootfs/etc/s6-rc/source-base/utmpd/dependencies.d/mount-rwfs +++ b/layout/rootfs/etc/s6-rc/source-base/btmpd/dependencies.d/nsssd diff --git a/layout/rootfs/etc/s6-rc/source-base/mdevd/dependencies.d/nsssd b/layout/rootfs/etc/s6-rc/source-base/mdevd/dependencies.d/nsssd new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/layout/rootfs/etc/s6-rc/source-base/mdevd/dependencies.d/nsssd diff --git a/layout/rootfs/etc/s6-rc/source-base/nsssd/dependencies.d/00 b/layout/rootfs/etc/s6-rc/source-base/nsssd/dependencies.d/00 new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/layout/rootfs/etc/s6-rc/source-base/nsssd/dependencies.d/00 diff --git a/layout/rootfs/etc/s6-rc/source-base/nsssd/notification-fd b/layout/rootfs/etc/s6-rc/source-base/nsssd/notification-fd new file mode 100644 index 0000000..00750ed --- /dev/null +++ b/layout/rootfs/etc/s6-rc/source-base/nsssd/notification-fd @@ -0,0 +1 @@ +3 diff --git a/layout/rootfs/etc/s6-rc/source-base/nsssd/run b/layout/rootfs/etc/s6-rc/source-base/nsssd/run new file mode 100755 index 0000000..df1f556 --- /dev/null +++ b/layout/rootfs/etc/s6-rc/source-base/nsssd/run @@ -0,0 +1,7 @@ +#!/command/execlineb -S1 + +fdmove -c 2 1 +s6-envuidgid nsss +fdmove 1 3 +s6-ipcserver -1 -U -c 1000 -- s +nsssd-unix diff --git a/layout/rootfs/etc/s6-rc/source-base/nsssd/type b/layout/rootfs/etc/s6-rc/source-base/nsssd/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/layout/rootfs/etc/s6-rc/source-base/nsssd/type @@ -0,0 +1 @@ +longrun diff --git a/layout/rootfs/etc/s6-rc/source-base/utmpd/dependencies.d/nsssd b/layout/rootfs/etc/s6-rc/source-base/utmpd/dependencies.d/nsssd new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/layout/rootfs/etc/s6-rc/source-base/utmpd/dependencies.d/nsssd diff --git a/layout/rootfs/etc/s6-rc/source-base/wtmpd/dependencies.d/nsssd b/layout/rootfs/etc/s6-rc/source-base/wtmpd/dependencies.d/nsssd new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/layout/rootfs/etc/s6-rc/source-base/wtmpd/dependencies.d/nsssd |