[FS#3355] UMDNS: does not start on master with seccomp
OpenWrt Bugs
openwrt-bugs at lists.openwrt.org
Tue Nov 16 20:02:46 PST 2021
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#3355 - UMDNS: does not start on master with seccomp
User who did this - Kirill Elagin (kirelagin)
----------
This is the relevant code from procd (it is building the command line to execute).
#ifdef SECCOMP_SUPPORT
if (in->trace)
argv[argc++] = "/sbin/utrace";
else if (seccomp)
argv[argc++] = "/sbin/seccomp-trace";
#else
So, if //procd// is built with seccomp support (which is controlled by make menuconfig) and the init script sets the //seccomp// option (and does not set the //trace// option), ///sbin/seccomp-trace// will be prepended.
I don’t know, it kind of looks like //procd-seccomp// does need to be a dependency of any package whose init scripts request seccomp?
An alternative would be to always install //procd-seccomp// if //CONFIG_SECCOMP// is set and then make packages that want to use it check this configuration option and conditionally keep or remove the seccomp logic in their script?
----------
More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3355#comment10304
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the openwrt-bugs
mailing list