On 08/01/2014 12:19 PM, Carlos E. R. wrote: <Sorry Carlos - you get 2 copies, forgot to change the address>
minas-tirith:~ # systemctl enable nfs.service nfs.service is not a native service, redirecting to /sbin/chkconfig. Executing /sbin/chkconfig nfs on
Here there looks to be a bit of confusion between systemd and /etc/init.d. Calling *systemctl enable nfs.service* generally just *enables* the service to start as part of a systemd target -- it doesn't necessarily mean the same as start (i.e. systemctl start nfs). Where there is a bit of disconnect is since there is no systemd nfs.service, it is checking /etc/init.d/nfs and as it says calling *chkconfig nfs on* which in the init.d world does generally mean *start* it too. I don't know why in nfs case you get the [Install] section verbiage, but the log makes sense in that systemd has done its job, it called chkconfig, so it's done with its part and is shutting down. Once it passed off responsibility to sysvinit, it looks like it expects you to follow up there for further information/status on nfs. Of course you can still expect log events to be passed to journalctl, so you could look there for expected nfs entries. This is my understanding of how the compatibility mode works (in summary). My understanding is far from complete, so others will have to chime in and add/correct as needed. But to me, it looks like systemctl did what it was supposed to, handed nfs off to chkconfig, then said it was done with nfs and showed shutting down the systemd nfs launch process. I would still expect nfs to be *on* in chkconfig, and if it was successfully started by *chkconfig nfs on*, then I would expect it to be running. <snip>
minas-tirith:~ # chkconfig nfs nfs on minas-tirith:~ #
That's what I would expect.
As you can see, despite the verbose complain by systemctl, the service is enabled - but I have to find out from chkconfig, because "systemctl status" doesn't say it is. Or I don't see it.
What is that "install" section, what should it have to silence the complains?
I think there is something in the response systemctl is getting from */usr/sbin/chkconfig nfs on* isn't what it needs which is causing it to complain. Other than the response, it looks like it is doing what it should. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org