[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to shutdown in less than 8 minutes



On Fri, 17 Oct 2014, Andrei POPESCU wrote:

On Vi, 17 oct 14, 14:48:19, Pierre Frenkiel wrote:

   running: systemctl -a -t service | grep samba gives:
       samba.service    loaded    inactive dead    LSB: ensure Samba daemons are started (nmbd and smbd)
   This still not answers to my question.

Why are you grepping for 'samba' when the started daemons are 'smbd' and
'nmbd'? According to 'apt-file' the package 'samba' contains initscripts
with those names.

  Of course, I also ran
  systemctl -a -t service | grep mbd, which gives

     nmbd.service    loaded    active   running LSB: start Samba NetBIOS nameserver (nmbd)
     samba.service   loaded    inactive dead    LSB: ensure Samba daemons are started (nmbd and smbd)
     smbd.service    loaded    active   running LSB: start Samba SMB/CIFS daemon (smbd)

  but that still does not provide the needed informmation, i.e.

    how come nmbd and smbd are launched, although the links in all /etc/rcxx to /etc/init.d/samba
    have been removed ?

Other than that you could also look at the logs, something like

   journalctl -ab | grep nmbd

       journalctl -ab | grep mbd
       Oct 17 09:09:59 pfr2 systemd[1]: Starting LSB: start Samba NetBIOS nameserver (nmbd)...
       Oct 17 09:10:19 pfr2 nmbd[4597]: Starting NetBIOS name server: nmbd.
       Oct 17 09:10:19 pfr2 systemd[1]: Started LSB: start Samba NetBIOS nameserver (nmbd).
       Oct 17 09:10:29 pfr2 systemd[1]: Starting LSB: start Samba SMB/CIFS daemon (smbd)...
       Oct 17 09:10:29 pfr2 smbd[5887]: Starting SMB/CIFS daemon: smbd.
       Oct 17 09:10:29 pfr2 systemd[1]: Started LSB: start Samba SMB/CIFS daemon (smbd).

    I don't see how this can help to answer the previous question.

best regards,
--
Pierre Frenkiel


Reply to: