[opensuse] 13.1 missing services
Grepping for smb, nmb and telnet through systemctl list-unit-files and systemctl list-units produce nada, even though packages providing them are installed. All are missing from chkconfig -l output too. Smb & nmb produce inactive (dead), telnet not-found. What have I forgotten or missed for finding or changing services from cmdline? Is systemctl broken in 13.1? -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Felix Miata <mrmazda@earthlink.net> [01-18-15 22:38]:
Grepping for smb, nmb and telnet through systemctl list-unit-files and systemctl list-units produce nada, even though packages providing them are installed. All are missing from chkconfig -l output too. Smb & nmb produce inactive (dead), telnet not-found. What have I forgotten or missed for finding or changing services from cmdline? Is systemctl broken in 13.1?
23:11 Crash: ~ # systemctl list-units |grep smb smb.service loaded active running Samba SMB Daemon 23:12 Crash: ~ # systemctl list-units |grep nmb nmb.service loaded active running Samba NMB Daemon to my knowledge, there is no telnet "service" but telnet is a "protocol", not a "service". -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2015-01-19 05:18, Patrick Shanahan wrote:
to my knowledge, there is no telnet "service" but telnet is a "protocol", not a "service".
It is also a service if you install the daemon, which is not recommended, in favour of sshd. The correct name would be telnetd, I guess (I don't have it installed). -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
* Felix Miata <mrmazda@earthlink.net> [01-18-15 22:38]:
Grepping for smb, nmb and telnet through systemctl list-unit-files and systemctl list-units produce nada, even though packages providing them are installed. All are missing from chkconfig -l output too. Smb & nmb produce inactive (dead), telnet not-found. What have I forgotten or missed for finding or changing services from cmdline? Is systemctl broken in 13.1?
23:11 Crash: ~ # systemctl list-units |grep smb smb.service loaded active running Samba SMB Daemon 23:12 Crash: ~ # systemctl list-units |grep nmb nmb.service loaded active running Samba NMB Daemon /usr/lib/systemd/system/smb.service rpm -qf /usr/lib/systemd/system/smb.service samba-4.1.14-2.1.x86_64 /usr/lib/systemd/system/nmb.service rpm -qf /usr/lib/systemd/system/nmb.service samba-4.1.14-2.1.x86_64 to my knowledge, there is no telnet "service" but telnet is a "protocol", not a "service". -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Patrick Shanahan composed on 2015-01-18 23:23 (UTC-0500):
Felix Miata composed:
Grepping for smb, nmb and telnet through systemctl list-unit-files and systemctl list-units produce nada, even though packages providing them are installed. All are missing from chkconfig -l output too. Smb & nmb produce inactive (dead), telnet not-found. What have I forgotten or missed for finding or changing services from cmdline? Is systemctl broken in 13.1?
23:11 Crash: ~ # systemctl list-units |grep smb smb.service loaded active running Samba SMB Daemon
23:12 Crash: ~ # systemctl list-units |grep nmb nmb.service loaded active running Samba NMB Daemon
/usr/lib/systemd/system/smb.service rpm -qf /usr/lib/systemd/system/smb.service samba-4.1.14-2.1.x86_64
/usr/lib/systemd/system/nmb.service rpm -qf /usr/lib/systemd/system/nmb.service samba-4.1.14-2.1.x86_64
to my knowledge, there is no telnet "service" but telnet is a "protocol", not a "service".
Sorry. telnet-server was not installed. I can't find how to get it to run any better than smb/nmb. # cat /pub/Tmp/out # grep PRETTY /etc/*lease /etc/os-release:PRETTY_NAME="openSUSE 13.1 (Bottle) (i586)" # uname -a Linux gx28c 3.12.33-1-desktop #1 SMP PREEMPT Thu Dec 18 22:32:44 UTC 2014 (c3fef5f) i686 i686 i386 GNU/Linux # rpm -qa | grep samba ... samba-4.1.11-3.26.1.i586 samba-client-4.1.11-3.26.1.i586 ... # systemctl list-units | grep nmb # ls -l /usr/lib/systemd/system/nmb.service -rw-r--r-- 1 root root 339 Jul 7 2014 /usr/lib/systemd/system/nmb.service # systemctl list-units | grep smb # which /usr/lib/systemd/system/nmb.service which: no nmb.service in (/usr/lib/systemd/system) # ls -l /usr/lib/systemd/system/smb.service -rw-r--r-- 1 root root 445 Jul 7 2014 /usr/lib/systemd/system/smb.service # which /usr/lib/systemd/system/smb.service which: no smb.service in (/usr/lib/systemd/system) # rpm -qa | grep telnet telnet-1.2-164.4.1.i586 telnet-server-1.2-164.4.1.i586 # systemctl list-units | grep telnet # ls -l /usr/lib/systemd/system/telne* ls: cannot access /usr/lib/systemd/system/telne*: No such file or directory O_O :~( -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Felix Miata wrote:
Patrick Shanahan composed on 2015-01-18 23:23 (UTC-0500):
Felix Miata composed:
Grepping for smb, nmb and telnet through systemctl list-unit-files and systemctl list-units produce nada, even though packages providing them are installed. All are missing from chkconfig -l output too. Smb & nmb produce inactive (dead), telnet not-found. What have I forgotten or missed for finding or changing services from cmdline? Is systemctl broken in 13.1?
23:11 Crash: ~ # systemctl list-units |grep smb smb.service loaded active running Samba SMB Daemon
23:12 Crash: ~ # systemctl list-units |grep nmb nmb.service loaded active running Samba NMB Daemon
/usr/lib/systemd/system/smb.service rpm -qf /usr/lib/systemd/system/smb.service samba-4.1.14-2.1.x86_64
/usr/lib/systemd/system/nmb.service rpm -qf /usr/lib/systemd/system/nmb.service samba-4.1.14-2.1.x86_64
to my knowledge, there is no telnet "service" but telnet is a "protocol", not a "service".
Sorry. telnet-server was not installed. I can't find how to get it to run any better than smb/nmb.
# cat /pub/Tmp/out # grep PRETTY /etc/*lease /etc/os-release:PRETTY_NAME="openSUSE 13.1 (Bottle) (i586)" # uname -a Linux gx28c 3.12.33-1-desktop #1 SMP PREEMPT Thu Dec 18 22:32:44 UTC 2014 (c3fef5f) i686 i686 i386 GNU/Linux # rpm -qa | grep samba ... samba-4.1.11-3.26.1.i586 samba-client-4.1.11-3.26.1.i586 ... # systemctl list-units | grep nmb # ls -l /usr/lib/systemd/system/nmb.service -rw-r--r-- 1 root root 339 Jul 7 2014 /usr/lib/systemd/system/nmb.service # systemctl list-units | grep smb # which /usr/lib/systemd/system/nmb.service which: no nmb.service in (/usr/lib/systemd/system) # ls -l /usr/lib/systemd/system/smb.service -rw-r--r-- 1 root root 445 Jul 7 2014 /usr/lib/systemd/system/smb.service # which /usr/lib/systemd/system/smb.service which: no smb.service in (/usr/lib/systemd/system) # rpm -qa | grep telnet telnet-1.2-164.4.1.i586 telnet-server-1.2-164.4.1.i586 # systemctl list-units | grep telnet # ls -l /usr/lib/systemd/system/telne* ls: cannot access /usr/lib/systemd/system/telne*: No such file or directory
I'll venture a guess and say telnet is probably served by xinetd. (by default). -- Per Jessen, Zürich (6.9°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 01/19/2015 02:07 AM, Per Jessen wrote:
I'll venture a guess and say telnet is probably served by xinetd. (by default).
~> sudo zypper search telnet Loading repository data... Reading installed packages... S | Name | Summary --+---------------+--------------------------------------------- | Telnet | A client program for the telnet remote login protocol | Telnet-server | A Server Program for the Telnet Remote Login Protocol -- /"\ \ / ASCII Ribbon Campaign X Against HTML Mail / \ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 01/19/2015 02:07 AM, Per Jessen wrote:
I'll venture a guess and say telnet is probably served by xinetd. (by default).
YES! I try installing the server package to see if there is a systemd unit for it and LO!, it requires that xinetd is is installed. -- /"\ \ / ASCII Ribbon Campaign X Against HTML Mail / \ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2015-01-19 06:06, Felix Miata wrote:
samba-4.1.11-3.26.1.i586 samba-client-4.1.11-3.26.1.i586 ... # systemctl list-units | grep nmb
You are searching for "nmb", or for "smb"? Typo... I noticed when I pasted your command in my system and got strange results.
# ls -l /usr/lib/systemd/system/nmb.service -rw-r--r-- 1 root root 339 Jul 7 2014 /usr/lib/systemd/system/nmb.service # systemctl list-units | grep smb # which /usr/lib/systemd/system/nmb.service which: no nmb.service in (/usr/lib/systemd/system)
'which' searches for programs (in the path), not for data files (a service file is not executable). I don't think it will work the way you are trying. Telcontar:~ # systemctl list-units | grep smb smb.service loaded active running Samba SMB Daemon Telcontar:~ # Telcontar:~ # rcsmb status smb.service - Samba SMB Daemon Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled) Active: active (running) since Fri 2015-01-09 13:04:02 CET; 1 weeks 3 days ago Main PID: 2804 (smbd) Status: "smbd: ready to serve connections..." CGroup: /system.slice/smb.service ├─ 2804 /usr/sbin/smbd -D ├─ 3100 /usr/sbin/smbd -D └─14565 /usr/sbin/smbd -D Jan 09 13:03:59 Telcontar systemd[1]: smb.service: Supervising process 2804 which is not our child. We'll most likely not notice when it exits. Jan 09 13:04:02 Telcontar smbd[2804]: [2015/01/09 13:04:02.072096, 0] ../lib/util/become_daemon.c:137(daemon_ready) Jan 09 13:04:02 Telcontar smbd[2804]: STATUS=daemon 'smbd' finished starting up and ready to serve connections Jan 09 13:04:02 Telcontar systemd[1]: Started Samba SMB Daemon. Jan 19 13:29:14 Telcontar smbd[2751]: [2015/01/19 13:29:10.617406, 0] ../source3/smbd/process.c:2656(keepalive_fn) Jan 19 13:29:14 Telcontar smbd[2751]: send_keepalive failed for client 0.0.0.0. Error Connection reset by peer - exiting Telcontar:~ # About nmb: Telcontar:~ # systemctl list-units | grep nmb Telcontar:~ # Telcontar:~ # systemctl status nmb.service nmb.service - Samba NMB Daemon Loaded: loaded (/usr/lib/systemd/system/nmb.service; disabled) Active: inactive (dead) Telcontar:~ # systemctl list-units | grep nmb Telcontar:~ # rcnmb status nmb.service - Samba NMB Daemon Loaded: loaded (/usr/lib/systemd/system/nmb.service; disabled) Active: inactive (dead) Telcontar:~ # But: Telcontar:~ # rcnmb start Telcontar:~ # systemctl list-units | grep nmb nmb.service loaded active running Samba NMB Daemon Telcontar:~ # Telcontar:~ # rcnmb stop Telcontar:~ # systemctl list-units | grep nmb Telcontar:~ # Ie, it is only listed by list-units when it is running.
# rpm -qa | grep telnet telnet-1.2-164.4.1.i586 telnet-server-1.2-164.4.1.i586 # systemctl list-units | grep telnet # ls -l /usr/lib/systemd/system/telne* ls: cannot access /usr/lib/systemd/system/telne*: No such file or directory
O_O :~(
As it is not running, it is not listed. No error, no problem :-) -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
participants (5)
-
Anton Aylward
-
Carlos E. R.
-
Felix Miata
-
Patrick Shanahan
-
Per Jessen