On 09/05/2012 11:21 PM, Jan Engelhardt wrote:
On Tuesday 2012-09-04 17:18, Larry Finger wrote:
On 09/04/2012 12:04 AM, Cristian Rodríguez wrote:
On 03/09/12 21:13, Larry Finger wrote:
One defect in the 12.1 and 12.2 implementations is that after.local is ignored. There is an easy fix given by James McDaniel in his blog at http://forums.opensuse.org/blogs/comments/comment549.html. This file should be a part of any update of systemd.
after.local is complete non-sense in this model, because there is NO after !!
As I understand it, the after refers to reaching a certain run level. Certainly, that is still a valid concept, even though not all initialization processes are finished. What is the approved systemd method for executing scripts at that point?
# after.eight.service [Unit] After=default.target
[Service] ExecStart=/etc/init.d/after.local
I wonder if that works, i.e. does not introduce a dependency cycle of sorts..
The above would probably work. The version of /lib/systemd/system/after-local.service by James McDaniel that is in the link quoted above has some additional directives. His version that is known to work is ================================================ [Unit] Description=/etc/init.d/after.local Compatibility ConditionFileIsExecutable=/etc/init.d/after.local [Service] Type=oneshot ExecStart=/etc/init.d/after.local TimeoutSec=0 StandardOutput=tty RemainAfterExit=yes SysVStartPriority=99 [Install] WantedBy=multi-user.target ========================================================== Larry -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org