You are not logged in.
Pages: 1
Hello
So i have decided to install systemd and so far is working great and i am just getting to know it. I have one problem - i disabled smbd.service but samba is somehow enabled (tough systemd is not showing samba as enabled) because i can reach other Windows computer. What is the trick?
systemctl -t service
UNIT LOAD ACTIVE SUB JOB DESCRIPTION
acpid.service loaded active running ACPI event daemon
console-kit-daemon.service loaded active running Console Manager
console-kit...system-start.service loaded active exited Console System Startup Logging
dbus.service loaded active running D-Bus System Message Bus
getty@tty1.service loaded active running Getty on tty1
kdm.service loaded active running K Display Manager
laptop-mode-tools.service loaded active exited Laptop Power Saving Tools
rtkit-daemon.service loaded active running RealtimeKit Scheduling Policy Servi
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-remount-fs.service loaded active exited Remount Root and Kernel File System
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-tmpfiles-setup.service loaded active exited Recreate Volatile Files and Directo
systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
ufw.service loaded active exited CLI Netfilter Manager
upower.service loaded active running Daemon for power management
wicd.service loaded active running Wicd a wireless and wired network systemctl -t socket
UNIT LOAD ACTIVE SUB JOB DESCRIPTION
acpid.socket loaded active listening ACPID Listen Socket
dbus.socket loaded active running D-Bus System Message Bus Socket
systemd-initctl.socket loaded active listening /dev/initctl Compatibility Named Pipe
systemd-journald.socket loaded active running Journal Socket
systemd-shutdownd.socket loaded active listening Delayed Shutdown Socket
systemd-udevd-control.socket loaded active listening udev Control Socket
systemd-udevd-kernel.socket loaded active running udev Kernel Socket
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
JOB = Pending job for the unit.
7 units listed. Pass --all to see inactive units, too.systemctl -t target
UNIT LOAD ACTIVE SUB JOB DESCRIPTION
basic.target loaded active active Basic System
cryptsetup.target loaded active active Encrypted Volumes
getty.target loaded active active Login Prompts
graphical.target loaded active active Graphical Interface
local-fs-pre.target loaded active active Local File Systems (Pre)
local-fs.target loaded active active Local File Systems
multi-user.target loaded active active Multi-User
network.target loaded active active Network
remote-fs.target loaded active active Remote File Systems
sockets.target loaded active active Sockets
sound.target loaded active active Sound Card
swap.target loaded active active Swap
sysinit.target loaded active active System Initialization
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
JOB = Pending job for the unit.
13 units listed. Pass --all to see inactive units, too.Thanks!
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
have a look in systemd-cgls, to see all the running processes, and which service that owns it.
Offline
Hi
I can't find anything useful, maybe you can help:
systemd-cgls
├ user
│ └ saso
│ └ c1
│ ├ 922 -:0
│ ├ 1039 /bin/sh /usr/bin/startkde
│ ├ 1061 /usr/bin/dbus-launch --sh-syntax --exit-with-session
│ ├ 1062 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
│ ├ 1068 /usr/bin/pulseaudio --start
│ ├ 1087 /usr/lib/pulse/gconf-helper
│ ├ 1089 /usr/lib/GConf/gconfd-2
│ ├ 1110 /usr/bin/gpg-agent -s --daemon --pinentry-program /usr/bin/pinentry-qt4 --writ...
│ ├ 1113 /usr/bin/ssh-agent -s
│ ├ 1127 /usr/lib/kde4/libexec/start_kdeinit +kcminit_startup
│ ├ 1128 kdeinit4: kdeinit4 Running...
│ ├ 1129 kdeinit4: klauncher [kdeinit] --fd=9
│ ├ 1131 kdeinit4: kded4 [kdeinit]
│ ├ 1157 kdeinit4: kglobalaccel [kdeinit]
│ ├ 1165 kwrapper4 ksmserver
│ ├ 1166 kdeinit4: ksmserver [kdeinit]
│ ├ 1192 kwin -session 1011413c144df000134217689000000241270000_1343549886_678034
│ ├ 1210 /usr/bin/kactivitymanagerd
│ ├ 1241 /usr/bin/knotify4
│ ├ 1244 kdeinit4: krunner [kdeinit]
│ ├ 1246 kdeinit4: plasma-desktop [kdeinit]
│ ├ 1259 /usr/bin/kuiserver
│ ├ 1295 kdeinit4: kaccess [kdeinit]
│ ├ 1309 /usr/bin/kwrited
│ ├ 1352 /usr/bin/colibri -session 1011413c144df000134217689800000241270019_1343549886_...
│ ├ 1364 kdeinit4: kmix [kdeinit] -session 1011413c144df000134351262700
│ ├ 1402 /usr/lib/kde4/libexec/polkit-kde-authentication-agent-1
│ ├ 1418 firefox
│ ├ 1421 syndaemon -t -k -i 1 -d
│ ├ 1422 /bin/sh /home/saso/.kde4/Autostart/pim.sh
│ ├ 1423 /bin/bash /home/saso/.kde4/Autostart/temperatura.sh
│ ├ 1680 kdeinit4: kwalletd [kdeinit]
│ ├ 7777 /usr/bin/kontact
│ ├ 7785 /usr/bin/akonadi_control
│ ├ 7787 akonadiserver
│ ├ 7789 /usr/bin/mysqld --defaults-file=/home/saso/.local/share/akonadi/mysql.conf --d...
│ ├ 7830 /usr/bin/akonadi_calendarsearch_agent --identifier akonadi_calendarsearch_agen...
│ ├ 7831 /usr/bin/akonadi_agent_launcher akonadi_contacts_resource akonadi_contacts_res...
│ ├ 7832 /usr/bin/akonadi_agent_launcher akonadi_kalarm_resource akonadi_kalarm_resourc...
│ ├ 7833 /usr/bin/akonadi_agent_launcher akonadi_kalarm_resource akonadi_kalarm_resourc...
│ ├ 7834 /usr/bin/akonadi_agent_launcher akonadi_kalarm_resource akonadi_kalarm_resourc...
│ ├ 7835 /usr/bin/akonadi_agent_launcher akonadi_maildir_resource akonadi_maildir_resou...
│ ├ 7836 /usr/bin/akonadi_maildispatcher_agent --identifier akonadi_maildispatcher_agen...
│ ├ 7837 /usr/bin/akonadi_mailfilter_agent --identifier akonadi_mailfilter_agent
│ ├ 7838 /usr/bin/akonadi_nepomuk_feeder --identifier akonadi_nepomuk_feeder
│ ├ 7839 /usr/bin/akonadi_pop3_resource --identifier akonadi_pop3_resource_11
│ ├ 7840 /usr/bin/akonadi_pop3_resource --identifier akonadi_pop3_resource_6
│ ├ 7841 /usr/bin/akonadi_pop3_resource --identifier akonadi_pop3_resource_7
│ ├ 7842 /usr/bin/akonadi_pop3_resource --identifier akonadi_pop3_resource_9
│ ├ 7885 /usr/bin/nepomukserver
│ ├ 11725 /usr/lib/firefox/plugin-container /usr/lib/mozilla/plugins/libflashplayer.so -...
│ ├ 11946 sleep 120s
│ ├ 11992 sleep 50s
│ ├ 12007 kdeinit4: konsole [kdeinit]
│ ├ 12009 /bin/bash
│ ├ 12017 systemd-cgls
│ └ 12018 less
└ system
├ 1 /sbin/init
├ upower.service
│ └ 1160 /usr/lib/upower/upowerd
├ rtkit-daemon.service
│ └ 1069 /usr/lib/rtkit-daemon
├ console-kit-daemon.service
│ └ 962 /usr/sbin/console-kit-daemon --no-daemon
├ kdm.service
│ ├ 308 /usr/bin/kdm -nodaemon
│ └ 320 /usr/bin/X :0 vt7 -nolisten tcp -auth /var/run/xauth/A:0-8CfcFa
├ getty@.service
│ └ tty1
│ └ 307 /sbin/agetty --noclear tty1 38400
├ dbus.service
│ ├ 297 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-...
│ ├ 1029 /usr/lib/polkit-1/polkitd --no-debug
│ ├ 1200 /usr/lib/udisks/udisks-daemon
│ └ 1201 udisks-daemon: not polling any devices
├ systemd-logind.service
│ └ 296 /usr/lib/systemd/systemd-logind
├ acpid.service
│ └ 293 /usr/sbin/acpid -f
├ wicd.service
│ ├ 291 /usr/bin/python2 -O /usr/share/wicd/daemon/wicd-daemon.py --no-daemon
│ ├ 919 /usr/bin/python2 -O /usr/share/wicd/daemon/monitor.py
│ ├ 9861 wpa_supplicant -B -i wlan0 -c /var/lib/wicd/configurations/00226b5630fc -Dwext
│ └ 9894 /usr/sbin/dhcpcd -h saso-laptop --noipv4ll wlan0
├ systemd-journald.service
│ └ 103 /usr/lib/systemd/systemd-journald
└ systemd-udevd.service
└ 95 /usr/lib/systemd/systemd-udevdEDIT: I think it has something with KDE. When i through Dolphin reach Windows machine i can see this through systemd-cgls:
12480 kdeinit4: kio_smb [kdeinit] smb local:/tmp/ksocket-saso/klaunc...But this disappear when i close Dolphin.
Last edited by Shark (2012-07-29 15:36:31)
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
So what makes you think that the samba daemon is running? Looks to me that only the client is being used (possibly by dolphin) to access a remote server?
Offline
I thought that samba was runnning because i could access remote server and because of kio_smb process (because it has smb suffix). I think that i couldn't reach remote server in past without samba enabled (when i was using initscripts) through Dolphin.
Last edited by Shark (2012-07-29 18:24:21)
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
I thought that samba was runnning because i could access remote server and because of kio_smb process (because it has smb suffix). I think that i couldn't reach remote server in past without samba enabled (when i was using initscripts) through Dolphin.
I see. I must admit it has been too long since I used samba to be certain, but it sounds like the client works without the server running locally. You could try booting with initscripts to verify I guess.
Offline
Pages: 1