Update runsv
This commit is contained in:
parent
4f4dfba175
commit
3de225a122
1 changed files with 61 additions and 60 deletions
|
|
@ -8,8 +8,8 @@ abi <abi/3.0>,
|
||||||
|
|
||||||
include <tunables/global>
|
include <tunables/global>
|
||||||
|
|
||||||
@{exec_pathrunsv} = @{bin}/runsv
|
@{exec_path} = @{bin}/runsv
|
||||||
profile runsv @{exec_pathrunsv} flags=(attach_disconnected) {
|
profile runsv @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/bus-session>
|
include <abstractions/bus-session>
|
||||||
include <abstractions/bus-system>
|
include <abstractions/bus-system>
|
||||||
|
|
@ -53,7 +53,7 @@ profile runsv @{exec_pathrunsv} flags=(attach_disconnected) {
|
||||||
ptrace (read) peer=@{p_systemd},
|
ptrace (read) peer=@{p_systemd},
|
||||||
ptrace (trace) peer=@{profile_name},
|
ptrace (trace) peer=@{profile_name},
|
||||||
|
|
||||||
@{exec_pathrunsv} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
@{bin}/sv rPx,
|
@{bin}/sv rPx,
|
||||||
@{bin}/vlogger rPx,
|
@{bin}/vlogger rPx,
|
||||||
|
|
@ -79,25 +79,25 @@ profile runsv @{exec_pathrunsv} flags=(attach_disconnected) {
|
||||||
@{bin}/chpst rPx,
|
@{bin}/chpst rPx,
|
||||||
@{bin}/mkdir rix,
|
@{bin}/mkdir rix,
|
||||||
@{bin}/mktemp rix,
|
@{bin}/mktemp rix,
|
||||||
@{bin}/dbus-send rix, # alt: rix
|
@{bin}/dbus-send rix,
|
||||||
@{bin}/utmpset rix, # alt: rix
|
@{bin}/utmpset rix,
|
||||||
@{lib}exec/elogind/elogind rPx,
|
@{lib}exec/elogind/elogind rPx,
|
||||||
@{lib}exec/elogind/elogind.wrapper rPx, # alt: rix
|
@{lib}exec/elogind/elogind.wrapper rPx,
|
||||||
@{bin}/bash rPx, # alt: rix
|
@{bin}/bash rPx,
|
||||||
@{bin}/tr rPx, # alt:rix
|
@{bin}/tr rPx,
|
||||||
@{bin}/rm rix,
|
@{bin}/rm rix,
|
||||||
@{bin}/touch rix,
|
@{bin}/touch rix,
|
||||||
@{bin}/flock rix,
|
@{bin}/flock rix,
|
||||||
@{bin}/cat rix,
|
@{bin}/cat rix,
|
||||||
@{bin}/grep rPx, # alt:rix
|
@{bin}/grep rPx,
|
||||||
@{bin}/mountpoint rix,
|
@{bin}/mountpoint rix,
|
||||||
@{bin}/systemctl rCx -> systemctl,
|
@{bin}/systemctl rCx -> systemctl,
|
||||||
|
|
||||||
/etc/sv/**/run rix, # rix,
|
/etc/sv/**/run rix,
|
||||||
/etc/sv/**/**/run rix, # rix,
|
/etc/sv/**/**/run rix,
|
||||||
/etc/sv/**/finish rix, # rix,
|
/etc/sv/**/finish rix,
|
||||||
/etc/sv/**/run rix, # rix,
|
/etc/sv/**/run rix,
|
||||||
/etc/sv/dbus/check rix, # rix,
|
/etc/sv/dbus/check rix,
|
||||||
|
|
||||||
mount fstype=tmpfs -> @{run}/systemd/,
|
mount fstype=tmpfs -> @{run}/systemd/,
|
||||||
mount fstype=tmpfs -> @{run}/user/,
|
mount fstype=tmpfs -> @{run}/user/,
|
||||||
|
|
@ -173,5 +173,6 @@ profile runsv @{exec_pathrunsv} flags=(attach_disconnected) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
include if exists <local/runsv>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue