On Thu, 6 Jun 2024 at 09:15, Thorsten Kukuk <kukuk@xxxxxxxx> wrote: > > On Wed, Jun 5, 2024 at 3:58 PM Luca Boccassi <luca.boccassi@xxxxxxxxx> wrote: > > > > On Wed, 5 Jun 2024 at 14:45, Thorsten Kukuk <kukuk@xxxxxxxx> wrote: > > > > > > Hi, > > > > > > while playing with soft-reboot and services surviving this: > > > A standard service file works, but if I use a service template (e.g. > > > test@.service), the service get's stopped during soft-reboot. > > > Reasons is: > > > -Slice=system.slice > > > +Slice=system-test.slice > > > Yeah we haven't tested this scenario at all - > > Looks like there are even more scenarios not really tested. > > The default mounts of portable images goes lost during soft-reboot, too. > If you explicitly add them to the service file (e.g. > BindReadOnlyPaths=/run) they survive. Bug report is still on my TODO > list. What do you mean by default mounts here? Everything is defined in either the unit or the profile, apart from proc+sys+dev