On Fri, Jun 13, 2014 at 05:51:34PM +0200, Tom Gundersen wrote: > On Fri, Jun 13, 2014 at 4:41 PM, Werner Fink <[email protected]> wrote: > > From: Frederic Crozat <[email protected]> > > Hm, this would not help at all for modules loaded on-demand (which are > most of them). What is the problem being solved here?
Indeed this does not help for the loaded on-demand modules as this requires
an other approach. Nevertheless for the modules loaded by the service
systemd-modules-load.service it helps to load the the kernel parameters
afterwards as with many modules there will be *new* entiers below /proc/sys/
> > ---
> > units/systemd-sysctl.service.in | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git units/systemd-sysctl.service.in units/systemd-sysctl.service.in
> > index 5baf22c..c4bc0da 100644
> > --- units/systemd-sysctl.service.in
> > +++ units/systemd-sysctl.service.in
> > @@ -10,7 +10,7 @@ Description=Apply Kernel Variables
> > Documentation=man:systemd-sysctl.service(8) man:sysctl.d(5)
> > DefaultDependencies=no
> > Conflicts=shutdown.target
> > -After=systemd-readahead-collect.service systemd-readahead-replay.service
> > +After=systemd-readahead-collect.service systemd-readahead-replay.service
> > systemd-modules-load.service
> > Before=sysinit.target shutdown.target
> > ConditionPathIsReadWrite=/proc/sys/
> > ConditionDirectoryNotEmpty=|/lib/sysctl.d
> > --
> > 1.7.9.2
Werner
--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
pgpd5qI1icqi_.pgp
Description: PGP signature
_______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
