[OpenWrt-Devel] RFC: procd patch to run as container/lxd

Jo-Philipp Wich jo at mein.io
Wed Mar 20 18:02:17 EDT 2019


Hi,

> procd causes trouble when running in a LXD container, however would be
> nice to use OpenWrt as small VMs.
> 
> There are patches [0] "fixing" the issue, but they're not really
> upstream ready (for obvious reasons).
> 
> Would it be possible to add a detection to procd if it's running in an
> "unprivileged" container and behave accordingly?

Ideally a fix would be added that allows normal operation in both
container and non-container setups.

For the cases where there is really a need to behave differently, maybe
a keyword in the kernel command line (/proc/cmdline) would be acceptable
to make procd behave differently.

~ Jo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20190320/efbb6b43/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list