[opensuse] Help with rebootable systemd configuration
Hello, I just got two of my computers running opensuse 13.2 to communicate over ssh and mount each others directories via NFS. In order to do accomplish this I had to load and start numerous services. sudo systemctl enable rpcbind.service sudo systemctl start rpcbind.service sudo systemctl enable nfsserver.service sudo systemctl start nfsserver.service sudo systemctl enable sshd.service sudo systemctl start sshd.service Reading the documentation I think that the way this is to be automated is to include links to the desired services residing in /usr/lib/systemd/system/* to the directory /etc/systemd/system/multi-user.target.wants. Then during boot when the mujltiuser starts all of these services will be started again. Is this interpretation correct? I notice that when I installed the sshd service it already made one of these links for me. Thanks, Don -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, Apr 23, 2015 at 5:05 AM, don fisher
Hello,
I just got two of my computers running opensuse 13.2 to communicate over ssh and mount each others directories via NFS. In order to do accomplish this I had to load and start numerous services.
sudo systemctl enable rpcbind.service sudo systemctl start rpcbind.service sudo systemctl enable nfsserver.service sudo systemctl start nfsserver.service sudo systemctl enable sshd.service sudo systemctl start sshd.service
Reading the documentation I think that the way this is to be automated is to include links to the desired services residing in /usr/lib/systemd/system/* to the directory /etc/systemd/system/multi-user.target.wants.
that is exactly what "systemctl enable" does except it may not always be multi-user.target.
Then during boot when the mujltiuser starts all of these services will be started again. Is this interpretation correct? I notice that when I installed the sshd service it already made one of these links for me.
Thanks, Don -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 04/23/2015 02:13 AM, Andrei Borzenkov wrote:
On Thu, Apr 23, 2015 at 5:05 AM, don fisher
wrote: Hello,
I just got two of my computers running opensuse 13.2 to communicate over ssh and mount each others directories via NFS. In order to do accomplish this I had to load and start numerous services.
sudo systemctl enable rpcbind.service sudo systemctl start rpcbind.service sudo systemctl enable nfsserver.service sudo systemctl start nfsserver.service sudo systemctl enable sshd.service sudo systemctl start sshd.service
Reading the documentation I think that the way this is to be automated is to include links to the desired services residing in /usr/lib/systemd/system/* to the directory /etc/systemd/system/multi-user.target.wants.
that is exactly what "systemctl enable" does except it may not always be multi-user.target.
Thanks, I verified all but the nfsserver.service. It does not appear to be a standard service in /usr/lib/systemd/system/, but instead is a directory: /sys/fs/cgroup/systemd/system.slice/nfsserver.service/ The that file name appears nowhere else in the file system. systemd-cgls does list it under system.slice, so I need to read more on control groups and how they are started. Thanks again, Don -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, Apr 23, 2015 at 7:17 PM, don fisher
On 04/23/2015 02:13 AM, Andrei Borzenkov wrote:
On Thu, Apr 23, 2015 at 5:05 AM, don fisher
wrote: Hello,
I just got two of my computers running opensuse 13.2 to communicate over ssh and mount each others directories via NFS. In order to do accomplish this I had to load and start numerous services.
sudo systemctl enable rpcbind.service sudo systemctl start rpcbind.service sudo systemctl enable nfsserver.service sudo systemctl start nfsserver.service sudo systemctl enable sshd.service sudo systemctl start sshd.service
Reading the documentation I think that the way this is to be automated is to include links to the desired services residing in /usr/lib/systemd/system/* to the directory /etc/systemd/system/multi-user.target.wants.
that is exactly what "systemctl enable" does except it may not always be multi-user.target.
Thanks,
I verified all but the nfsserver.service. It does not appear to be a standard service in /usr/lib/systemd/system/,
IIRC it is sysvinit script. systemd generates service definitions for them on the fly during startup.
but instead is a directory:
/sys/fs/cgroup/systemd/system.slice/nfsserver.service/
The that file name appears nowhere else in the file system. systemd-cgls does list it under system.slice, so I need to read more on control groups and how they are started.
Thanks again, Don
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello, Will you explain why the previous email, and I assume my response, are
On 04/22/2015 07:05 PM, don fisher wrote: limited by "the moderators are being asked to review it before releasing it to the list because of an access rule". Please tell me what access rule you feel I may have impinged upon so I do not repeat the error. Thanks, Don -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thursday 23 Apr 2015 13:31:29 don fisher wrote:
On 04/22/2015 07:05 PM, don fisher wrote:
Hello,
Will you explain why the previous email, and I assume my response, are limited by "the moderators are being asked to review it before releasing it to the list because of an access rule". Please tell me what access rule you feel I may have impinged upon so I do not repeat the error.
Thanks, Don
possibly because its got the word "s y s t e m d" in the email, its due to all the flame wars about it -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hey, On 24.04.2015 11:51, ianseeks wrote:
On Thursday 23 Apr 2015 13:31:29 don fisher wrote:
On 04/22/2015 07:05 PM, don fisher wrote:
Will you explain why the previous email, and I assume my response, are limited by "the moderators are being asked to review it before releasing it to the list because of an access rule".
possibly because its got the word "s y s t e m d" in the email, its due to all the flame wars about it
Exactly. Nothing you can do about it, sorry... Henne -- Henne Vogelsang, Mailinglist Admin http://www.opensuse.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Andrei Borzenkov
-
don fisher
-
Henne Vogelsang
-
ianseeks