diff options
author | davidovski <david@davidovski.xyz> | 2022-03-29 23:37:34 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-03-29 23:37:34 +0100 |
commit | d28d2287b138ede0591d9facd5dbe7ca4f329f83 (patch) | |
tree | cea79933059dd721d6a9578f6214ac6fe9057d56 /extra/openrc/0010-noexec-devfs.patch | |
parent | 14a1fee0a54d94f0f57f50d2532849f3c2383a15 (diff) |
added sysvinit and openrc
Diffstat (limited to 'extra/openrc/0010-noexec-devfs.patch')
-rw-r--r-- | extra/openrc/0010-noexec-devfs.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/openrc/0010-noexec-devfs.patch b/extra/openrc/0010-noexec-devfs.patch new file mode 100644 index 0000000..9a8928c --- /dev/null +++ b/extra/openrc/0010-noexec-devfs.patch @@ -0,0 +1,14 @@ +--- a/init.d/devfs.in ++++ b/init.d/devfs.in +@@ -24,8 +24,9 @@ mount_dev() + action=--mount + conf_d_dir="${RC_SERVICE%/*/*}/conf.d" + msg=Mounting +- # Some devices require exec, Bug #92921 +- mountopts="exec,nosuid,mode=0755" ++ # Some devices require exec, https://bugs.gentoo.org/92921 ++ # Users with such requirements can use an fstab entry for /dev ++ mountopts="noexec,nosuid,mode=0755" + if yesno ${skip_mount_dev:-no} ; then + einfo "/dev will not be mounted due to user request" + return 0 |