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 | |
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')
-rw-r--r-- | layout/rootfs/etc/group | 1 | ||||
-rw-r--r-- | layout/rootfs/etc/passwd | 1 | ||||
-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 | ||||
-rw-r--r-- | layout/rootfs/etc/shadow | 1 |
11 files changed, 12 insertions, 0 deletions
diff --git a/layout/rootfs/etc/group b/layout/rootfs/etc/group index 9641605..4927100 100644 --- a/layout/rootfs/etc/group +++ b/layout/rootfs/etc/group @@ -5,3 +5,4 @@ nogroup:x:65534: log:x:61: fdh:x:76: utmp:x:99: +nsss:x:97: diff --git a/layout/rootfs/etc/passwd b/layout/rootfs/etc/passwd index 0a7e910..55dc745 100644 --- a/layout/rootfs/etc/passwd +++ b/layout/rootfs/etc/passwd @@ -9,3 +9,4 @@ sysllog:x:104:61:sysllog:/:/nonexistent sysfdh:x:137:76:sysfdh:/:/nonexistent sshlog:x:138:61:sshlog:/var/log/sshd-4:/nonexistent utmp:x:99:99:utmp:/run/utmps:/nonexistent +nsss:x:97:97:nsss:/run/service/nsssd:/nonexistent 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 diff --git a/layout/rootfs/etc/shadow b/layout/rootfs/etc/shadow index 445958f..eb9b0f2 100644 --- a/layout/rootfs/etc/shadow +++ b/layout/rootfs/etc/shadow @@ -9,3 +9,4 @@ sysllog:!:14793:::::: sysfdh:!:15041:::::: sshlog:!:14849:::::: utmp:!:14849:::::: +nsss:!:14849:::::: |