[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


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).

	if (in->trace)
		argv[argc++] = "/sbin/utrace";
	else if (seccomp)
		argv[argc++] = "/sbin/seccomp-trace";

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:

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