[2019-08-24 16:03] Jan Braun <janbr...@gmx.de> > Dmitry Bogatov schrob: > > No, I did not consider this aspect. Thank you. > > But since runscripts are conffiles, admin can add line > > > > chown -R trusted_user:0 /run/runit/supervise/foo > > > > into /etc/sv/foo/run, and they will be preserved during upgrade. Not > > that staightforward, but still solution. Is it acceptable?
> That means they'll get a conffile prompt if/whe the maintainer changes > the run file. This can be solved in /lib/runit/invoke-run. Something like running /etc/service/foo/run.pre before "run". Feel free to file wishlist. With heavy heart, but I will implement it. > Personally, I'd prefer linking /etc/sv/foo/supervise to a place of my > choosing and expect that link to be preserved. Not sure how others > would feel, or how they'd try to deal with the issue. Why would you need it? Content of 'supervise' directory is transient, there is nothing valuable in it. While I understand desire to make things as configurable as possible, it will put burden of /properly/ purging things from dpkg to me, which I'd rather avoid. -- Note, that I send and fetch email in batch, once in a few days. Please, mention in body of your reply when you add or remove recepients.