[opensuse-autoinstall] openSUSE 12.2 and autoyast-configured services
Hello list,
I'm having difficulties enabling systemd services in openSUSE 12.2 from
the autoyast file.
Our current way doesn't work anymore:
<runlevel>
<default>3</default>
<services config:type="list">
<service>
On Tue, Jun 26, 2012 at 2:21 PM, Conny Seidel
I'm having difficulties enabling systemd services in openSUSE 12.2 from the autoyast file. [...] At least not for rpcbind. My workaround currently is to use a post-script to do a "systemctl enable rpcbind.service".
"Have you tried turning it off and on again?"
Seriously, as described in the other thread, I'm seeing a similar
problem on 12.*1* where systemd/systemctl does neither display
correctly nor bring up the <runlevel>-defined services during first
boot. When I use <general><mode>
On Tue, 26 Jun 2012 15:35:44 +0200 686f6c6d <686f6c6d@googlemail.com> wrote:
On Tue, Jun 26, 2012 at 2:21 PM, Conny Seidel
wrote: I'm having difficulties enabling systemd services in openSUSE 12.2 from the autoyast file. [...] At least not for rpcbind. My workaround currently is to use a post-script to do a "systemctl enable rpcbind.service".
"Have you tried turning it off and on again?"
Yes, but rpcbind isn't working even after an reboot so our systemd-service file to start testing, which relies on $remotefs, doesn't start and the machine just boots and does nothing.
Seriously, as described in the other thread, I'm seeing a similar problem on 12.*1* where systemd/systemctl does neither display correctly nor bring up the <runlevel>-defined services during first boot. When I use <general><mode>
config:type="boolean"true </mode></general>, the services are correctly configured and running after the reboot.
I knew that. ;) But unfortunately it doesn't work. rpcbind seems to get enabled, but without enabling rpcbind.socket, which pretty much renders nfs-mounts useless without the "-o nolock" option. Our way with systemctl shows this in the logfile, we generate for each script we run within the install process: ln -s '/lib/systemd/system/rpcbind.service' \ '/etc/systemd/system/multi-user.target.wants/rpcbind.service' ln -s '/lib/systemd/system/rpcbind.socket' \ '/etc/systemd/system/sockets.target.wants/rpcbind.socket' -- Kind regards. Conny Seidel ################################################################## # Email : conny.seidel@amd.com GnuPG-Key : 0xA6AB055D # # Fingerprint: 17C4 5DB2 7C4C C1C7 1452 8148 F139 7C09 A6AB 055D # ################################################################## # Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach # # General Managers: Alberto Bozzo # # Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen # # HRB Nr. 43632 # ##################################################################
On 27.06.2012 13:02, Conny Seidel wrote:
rpcbind seems to get enabled, but without enabling rpcbind.socket, which pretty much renders nfs-mounts useless without the "-o nolock" option.
Our way with systemctl shows this in the logfile, we generate for each script we run within the install process: ln -s '/lib/systemd/system/rpcbind.service' \ '/etc/systemd/system/multi-user.target.wants/rpcbind.service' ln -s '/lib/systemd/system/rpcbind.socket' \ '/etc/systemd/system/sockets.target.wants/rpcbind.socket'
but that sounds like a general problem with rpcbind on 12.2 You should open a bugreport for that. At least that's independent from the bug I opened today, where services are only started after a reboot of the installed system. -- ciao, Uwe Gansert SUSE LINUX Products GmbH, HRB 16746 (AG Nürnberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer Home: http://www.suse.de/~ug - Blog: http://suse.gansert.net -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
On 07/04/2012 01:30 PM, Uwe Gansert wrote:
On 27.06.2012 13:02, Conny Seidel wrote:
rpcbind seems to get enabled, but without enabling rpcbind.socket, which pretty much renders nfs-mounts useless without the "-o nolock" option.
Our way with systemctl shows this in the logfile, we generate for each script we run within the install process: ln -s '/lib/systemd/system/rpcbind.service' \ '/etc/systemd/system/multi-user.target.wants/rpcbind.service' ln -s '/lib/systemd/system/rpcbind.socket' \ '/etc/systemd/system/sockets.target.wants/rpcbind.socket'
but that sounds like a general problem with rpcbind on 12.2 You should open a bugreport for that. At least that's independent from the bug I opened today, where services are only started after a reboot of the installed system.
Just to add my 2¢, I configure NIS client and NFS server with autoyast in their respective sections (not in <services>). Is my setup rpcbind starts (after reboot, see Bug 769924) and is enabled. I guess this issue only happens when rpcbind is enabled manually and not by dependency. Best regards Robert -- Robert Klein - Max Planck-Institut für Polymerforschung Ackermannweg 10 55128 Mainz -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
Hello,
I am coming back to this thread, because I have a problem with services
**not** starting, although configured in AutoYast.
I my profile I have:
------------------
<mode>
...
<forceboot config:type="boolean">false</forceboot>
</mode>
<runlevel>
<default>5</default>
<services config:type="list">
<service>
participants (5)
-
686f6c6d
-
Conny Seidel
-
Joschi Brauchle
-
Robert Klein
-
Uwe Gansert