[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 02/16/2013 06:55 PM, Michael Biebl wrote:
I actually don't remember anymore, why that wasn't sufficient.

because the 'new' systemd handling of automatically enabling services that were not explicitly enabled before only happens at first boot time, which doesn't work for us, we need it to be enabled within the to be created image (= at package installation time of live-config-systemd).

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.

i'm afraid the only left over option is to enable it manually (by placing symlinks in the fs etc.), and not use systemctl at all :/

--
Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:          daniel.baumann@progress-technologies.net
Internet:       http://people.progress-technologies.net/~daniel.baumann/


Reply to: