Hi Maxim, Le 12 août 2015 13:25, "Maxim Storchak" <[email protected]> a écrit : > > This allows to build jails with more than a single binary. > May be used to run main program with a wrapper, f.e. ionice, > or to add helper binaries for the main one (like gzip for tar with no > build-in compression support). > > Usage: > directly: > ujail ... -b /usr/bin/main ... -- /bin/wrapper ... /usr/bin/main > ujail ... -b /usr/bin/helper1 -b /bin/helper2 ... -- /usr/bin/main > in init scripts: > procd_add_jail_mount_bin /usr/bin/something /bin/helper > > Signed-off-by: Maxim Storchak <[email protected]> > --- > package/system/procd/files/procd.sh | 18 +++++++ > .../procd/patches/100-ujail-helper-binary.patch | 58 ++++++++++++++++++++++ > .../procd/patches/101-service-helper-binary.patch | 15 ++++++
Procd is an OpenWrt project, you should send a patch against procd git on this ML I haven't tested your patch, but i really like the idea/feature Regards, Etienne
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
