I’m trying to strip away unnecessary services from running on my openSuse 12.3 system, but have found it difficult to really kill them dead. I’ve read through Chapter 8 - Systemd in the documentation, but there are problems that I can’t quite figure out.
I’m trying to stop rcpbind and ldap from automatically starting up in my default multi-user mode (runlevel5). I have executed
“systemctl disable ldap.service” and “systemctl disable rpcbind.service”, but they still launch on a reboot. I verified that the system took my commands:[INDENT=2]pabst:~ # systemctl status ldap.service
ldap.service - LSB: OpenLDAP Server (slapd)
Loaded: loaded (/etc/init.d/ldap)
Active: active (running) since Tue, 2013-07-30 04:06:06 EDT; 4h 54min ago
Process: 624 ExecStart=/etc/init.d/ldap start (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/ldap.service
â 787 /usr/lib/openldap/slapd -h ldap:/// -f /etc/openldap/slapd.conf -u ldap -g ldap -o slp=o…
Jul 30 04:06:05 pabst.beer slapd[787]: bdb_monitor_db_open: monitoring disabled; configure monitor database to enable
Jul 30 04:06:05 pabst.beer slapd[787]: slapd starting
Jul 30 04:06:06 pabst.beer slapd[787]: conn=1000 fd=13 ACCEPT from IP=127.0.0.1:58969 (IP=0.0.0.0:389)
Jul 30 04:06:06 pabst.beer slapd[787]: conn=1000 op=0 BIND dn="" method=128
Jul 30 04:06:06 pabst.beer slapd[787]: conn=1000 op=0 RESULT tag=97 err=0 text=
Jul 30 04:06:06 pabst.beer slapd[787]: conn=1000 op=1 SRCH base="" scope=0 deref=0 filter="(objectClass=*)"
Jul 30 04:06:06 pabst.beer slapd[787]: conn=1000 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
Jul 30 04:06:06 pabst.beer slapd[787]: conn=1000 op=2 UNBIND
Jul 30 04:06:06 pabst.beer slapd[787]: conn=1000 fd=13 closed
Jul 30 04:06:06 pabst.beer systemd[1]: Started LSB: OpenLDAP Server (slapd).
pabst:~ # systemctl status rpcbind.service
rpcbind.service - RPC Bind
Loaded: loaded (/usr/lib/systemd/system/rpcbind.service; disabled)
Active: active (running) since Tue, 2013-07-30 04:05:58 EDT; 4h 55min ago
Main PID: 503 (rpcbind)
CGroup: name=systemd:/system/rpcbind.service
â 503 /sbin/rpcbind -w -f
Jul 30 04:05:58 pabst.beer systemd[1]: Starting RPC Bind…
Jul 30 04:05:58 pabst.beer systemd[1]: Started RPC Bind.
[/INDENT]
I also noticed that ypbind.service seems to be trying to start, as well, but isn’t successful only because of a fatal error.[INDENT=2]
[size=1]pabst:/usr/lib/systemd/system # systemctl status ypbind.service
ypbind.service - NIS/YP (Network Information Service) Clients to NIS Domain Binder
Loaded: loaded (/usr/lib/systemd/system/ypbind.service; disabled)
Active: failed (Result: exit-code) since Tue, 2013-07-30 04:06:03 EDT; 5h 41min ago
Process: 710 ExecStopPost=/bin/sh -c /bin/rm -f /var/yp/binding/* /var/run/ypbind.pid (code=exited, status=0/SUCCESS)
Process: 632 ExecStartPost=/usr/share/ypbind/ypbind-systemd-post (code=exited, status=0/SUCCESS)
Process: 631 ExecStart=/bin/sh -c /usr/share/ypbind/ypbind-systemd-pre; exec /usr/sbin/ypbind -n $OTHER_YPBIND_OPTS (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/ypbind.service
Jul 30 04:06:01 pabst.beer systemd[1]: Started NIS/YP (Network Information Service) Clients to NIS Domain Binder.
Jul 30 04:06:01 pabst.beer sh[631]:
Error: NIS domain not specified.
Jul 30 04:06:02 pabst.beer sh[631]: domainname not set - aborting.
Jul 30 04:06:02 pabst.beer systemd[1]: ypbind.service: main process exited, code=exited, status=1/FAILURE
Jul 30 04:06:03 pabst.beer systemd[1]: Unit ypbind.service entered failed state[/size]
[/INDENT]
chkconfig shows them as off also, if it matters. (chkconfig is depreciated?)
Any help in tracking down what is launching these, where I am missing it, and how to successfully stop them would be greatly appreciated. Thank you in advance.