Page 1 of 3 123 LastLast
Results 1 to 10 of 29

Thread: SUSE 12.3 - How to auto start services...?

  1. #1

    Default SUSE 12.3 - How to auto start services...?

    I read that SysV has been replaced by systemd. And that the /etc/init.d structure is now no longer is active.
    So how do I get the same effect that I saw in 12.2 with YaST | System | System Services (Runlevel)?

    If I enabled nfs or xinetd or ddclient or whatever, when I rebooted, these services were up and running for me.
    Now, when I enable the service, sure enough they start. But after a reboot, they are no longer running.

    Days of research have yet to reveal the required technique! Can anyone help?

    Best regards, Martin

  2. #2

    Default Re: SUSE 12.3 - How to auto start services...?

    Which services exactly could not be enabled?

  3. #3
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    22,766

    Default Re: SUSE 12.3 - How to auto start services...?

    On 2013-03-30 17:26, martinprowe wrote:

    > If I enabled nfs or xinetd or ddclient or whatever, when I rebooted,
    > these services were up and running for me.
    > Now, when I enable the service, sure enough they start. But after a
    > reboot, they are no longer running.
    >
    > Days of research have yet to reveal the required technique! Can
    > anyone help?


    I should not be surprised... YaST is broken. Systemd has come, Yast
    developers are a scarce resource, and modules are not working any more
    as a result :-/

    I understand that you have to use "systemadm" now.

    View this
    thread here
    A post by jdmcdaniel3 explains it.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  4. #4

    Default Re: SUSE 12.3 - How to auto start services...?

    Quote Originally Posted by arvidjaar View Post
    Which services exactly could not be enabled?
    The three quoted above (at least).

    Regards,

  5. #5

    Default Re: SUSE 12.3 - How to auto start services...?

    Quote Originally Posted by robin_listas View Post
    I understand that you have to use "systemadm" now.

    View this
    thread here
    A post by jdmcdaniel3 explains it.
    Yes, I have read that. And tried systemadm...

    However, there is only (that I can find) the START | STOP | RESTART buttons. Nowhere can I find a load at startup type setting!
    I know its early days but system-ui seems a little .... er... half finished?

    Regards, Martin

  6. #6
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    5,300
    Blog Entries
    3

    Default Re: SUSE 12.3 - How to auto start services...?

    Quote Originally Posted by martinprowe View Post
    If I enabled nfs or xinetd or ddclient or whatever, when I rebooted, these services were up and running for me.
    I enabled "nfs" and "autofs". I think that implicitely enables "rpcbind". That still works after reboot.

    To do it manually, outside of Yast, I would have needed something like:

    Code:
    systemctl start rpcbind.service
    systemctl enable rpcbind.service
    systemctl start nfs.service
    systemctl enable nfs.service
    systemctl start autofs.service
    systemctl enable autofs.service
    The "start" lines are supposed to start for this session, and the "enable" lines are supposed to configure for automatic start in future sessions.

    There are probably some firewall changes needed for some services.
    opensuse factory; KDE 4.14.1 (main desktop);
    opensuse 13.1, KDE 4.11.5 (laptop);

  7. #7

    Default Re: SUSE 12.3 - How to auto start services...?

    Quote Originally Posted by martinprowe View Post
    The three quoted above (at least).
    All of them are legacy sysvinit scripts, and indeed YaST2 apparently cannot manage them. You can use "systemctl enable xinetd.service" (should work for both native and legacy services) or directly "chkconfig xinetd on".

  8. #8

    Default Re: SUSE 12.3 - How to auto start services...?

    Quote Originally Posted by robin_listas View Post
    I understand that you have to use "systemadm" now.
    All mentioned services are legacy sysvinit scripts, so it is rather chkconfig ...

  9. #9
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    22,766

    Default Re: SUSE 12.3 - How to auto start services...?

    On 2013-03-30 18:16, martinprowe wrote:

    > Yes, I have read that. And tried systemadm...
    >
    > However, there is only (that I can find) the START | STOP | RESTART
    > buttons. Nowhere can I find a load at startup type setting!
    > I know its early days but system-ui seems a little .... er... half
    > finished?


    Oh :-(

    As I have not 12.3 running (only a test partition on the laptop) I did
    not try that myself.

    Did you try if

    Code:
    chkconfig nfs
    chkconfig nfs on
    works? They said it would be maintained.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  10. #10

    Default Re: SUSE 12.3 - How to auto start services...?


    Code:
    chkconfig nfs on
    works?
    Yep. That does it for me! Thanks everyone.

    They said it would be maintained.
    Just out of curiosity. Who are "they"?

    Regards, Martin

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •