lynn said the following on 05/02/2013 07:51 AM:
On 02/05/13 13:07, Anton Aylward wrote:
lynn said the following on 05/02/2013 03:06 AM:
Question: Why doesn't the kinit work?
Did you enable that service? No. It is a unit;)
Did you use systemctl to see if it had been attempted and failed?
rc-local.service loaded active exited /etc/init.d/boot.local Compatibility
Eh? I thought you said it was a 'unit' Here's its a service.
id you use the debug facilities that come with systemd? No. Did you look in the journal? Yes.
And what did that report?
Did you try adding logging to the script to see if it did execute at that time but failed? No.
*sigh* That's so obvious! You don't know if sss failed or what. maybe sss needs some precondition that doesn't exist at 'boot time' Remember, systemd is asynchronous and runs stuff in parallel whereas the old sysinit is sequential. The example you have had one and only dependency, that networking is up and running. Just a side note: the .service for spamassassin I first had was like that, but spamassassin as I run it uses 'razor' and so it also needed named to be up and running. I also use the long list of exclusions from http://pgl.yoyo.org/ and that can take a while to load. So I had to make spamassassin.service dependent on named.service. I also needed to make the fetchmail service dependent on spamassassin. Oh and there was postfix which also needed named in order to be able to use spamassassin. All those .service files had to be updated on my system. So if something works from the command line and doesn't work from boot, you may well have an necessary precondition you've overlooked. That's why I'm so hot on checking logs and return code.
Systemd logs and traces everything it does, including stuff that it tries to do that fails.
I;'m really disappointed with you in this instance, Lynn. You haven't even attempted to to the very basic investigations that are obvious from reading the man pages.
Thanks. Can anyone help?
I have, bit it seems you've taken offence when I point at the basics. That's why I say I'm disappointed. -- The deepest sin against the human mind is to believe things without evidence. Thomas H. Huxley -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org