[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#700597: Re: live-config-systemd: fails to install: post-installation script returned error exit status 1



On Fri, Feb 15, 2013 at 08:20:02PM +0100, Daniel Baumann wrote:
> On 02/15/2013 07:45 PM, Andreas Beckmann wrote:
> >https://lists.debian.org/debian-release/2013/02/msg00496.html
> 
> i've discussed that with michael two days ago, no.

I actually don't remember anymore, why that wasn't sufficient.

So, the issue most likely is, that systemd is installed but not actually
the active PID 1, which means the systemd dependency alone is not
sufficient
"systemctl enable" should work, even when systemd is not PID 1,
apparently it doesn't do that (will investigate).

I think the auto-enabler in systemd should be sufficient, but if you want
to keep the current postinst, wrapping the systemctl call into a
if [ -e /sys/fs/cgroup/systemd ] ; then .. fi
should do the trick.

Michael


Reply to: