Le samedi 27 octobre 2012 à 20:55 +0200, Michael Biebl a écrit :
> Hi Frederic,
> 
> On 24.10.2012 17:51, Frederic Crozat wrote:
> > 
> > First, make sure you have this patch
> >
(https://build.opensuse.org/package/view_file?file=0001-service-Fix-dependencies-added-when-parsing-insserv..patch&package=systemd&project=Base%3ASystem&rev=df941bd8d87aadf2194e1eb4ada5c1d9
> > ) in your tree.
> 
> [..]
> 
> > Without this patch, the dependencies between target were incorrectly
> > set, as you figured (you'll note now UNIT_BEFORE is set with an
> > by_name_inverse call).
> 
> I've merged the bits you had in that patch, but that didn't quite work,
> since the rpcbind.target was not activated. I had a look how
> NetworkManager-wait-online.service does it.
> 
> It has a
> [Unit]
> Wants/Before=network.target
> and a
> [Install]
> WantedBy=network.target
> 
> After changing your patch to not only add a BEFORE dependency but also a
> WANTS dependency, everything seems to work as expected:

Thanks Michael.

I've added your patch + re-added our own "SUSE" changes (pulling
remote-fs from remote-fs-pre and ignoring boot.local / boot.crypto).
I'll push that in Factory.

-- 
Frederic Crozat <[email protected]>
SUSE


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to