[LEDE-DEV] convention on uid/gid for packages
Alberto Bursi
alberto.bursi at outlook.it
Mon May 15 11:39:31 PDT 2017
On 05/15/2017 07:29 PM, Tobias Welz wrote:
>
> If not, there would be the need to do some post-processing after
> restore to somehow fix gids/uids to make everything work again; but it
> will be an extra level of complexity.
uhm, I might say something very noobish, but...
are all packages groups/uids added to /etc/passwd which is a static
text file?
Would it make sense to backup/restore it on sysupgrade (if it isn't
already in the whitelist)?
That way services get random uids but they are preserved across
sysupgrades in a very easy way.
-Alberto
More information about the Lede-dev
mailing list