You are not logged in.

#1 2012-12-05 22:32:03

theking2
Banned
From: Romanshorn Switzerland
Registered: 2009-03-04
Posts: 372

[SOLVED] Daemons list

Hi!


Quit a few daemons on my really simple NAS are not on the https://wiki.archlinux.org/index.php/Daemons_List list.

What can/should I do?

Last edited by theking2 (2012-12-12 09:50:38)


archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise  PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR

Offline

#2 2012-12-05 22:36:05

theking2
Banned
From: Romanshorn Switzerland
Registered: 2009-03-04
Posts: 372

Re: [SOLVED] Daemons list

the daemons in rc.conf

DAEMONS=( syslog-ng crond sensord sensors network dnsmasq sshd ntpd @httpd !netfs @samba @munin-node @minidlna @logitechmediaserver @transmissiond @randomsound )

archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise  PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR

Offline

#3 2012-12-05 22:37:12

tomegun
Developer
From: France
Registered: 2010-05-28
Posts: 661

Re: [SOLVED] Daemons list

That list is probably not up-to-date. Have a look at "systemctl list-unit-files" to see what is available on your system... Every package that used to have an rc script now has a .service file, so if it worked before it _should_ work now.

Offline

#4 2012-12-05 22:38:41

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: [SOLVED] Daemons list

Hi, i assume you prepare to switch to systemd right now and wonder how to start your demons with systemd. You can check if a package ships a systemd service with
$ pacman -Ql package | grep /usr/lib/systemd/system
For a package not installed look up the list on the website.
For example samba:
pacman -Ql samba | grep /usr/lib/systemd/system
samba /usr/lib/systemd/system/
samba /usr/lib/systemd/system/nmbd.service
samba /usr/lib/systemd/system/smbd.service
samba /usr/lib/systemd/system/winbindd.service

If it does not contain the necessary service i suggest looking for a bug report on the topic or filing one on your own.

EDIT: systemctl list-unit-files is the superior method.

Last edited by teateawhy (2012-12-05 22:40:50)

Offline

#5 2012-12-05 23:09:21

theking2
Banned
From: Romanshorn Switzerland
Registered: 2009-03-04
Posts: 372

Re: [SOLVED] Daemons list

tomegun wrote:

That list is probably not up-to-date. Have a look at "systemctl list-unit-files" to see what is available on your system... Every package that used to have an rc script now has a .service file, so if it worked before it _should_ work now.

HI tomegun, Not sure what you mean by not up to date. It is the list of daemons that is currently running. I'm attempting to move to systemd but not sure if I should if it means I break a perfectly working system.


archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise  PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR

Offline

#6 2012-12-06 00:48:05

tomegun
Developer
From: France
Registered: 2010-05-28
Posts: 661

Re: [SOLVED] Daemons list

theking2 wrote:
tomegun wrote:

That list is probably not up-to-date. Have a look at "systemctl list-unit-files" to see what is available on your system... Every package that used to have an rc script now has a .service file, so if it worked before it _should_ work now.

HI tomegun, Not sure what you mean by not up to date. It is the list of daemons that is currently running. I'm attempting to move to systemd but not sure if I should if it means I break a perfectly working system.

I appear to have answered out of context. I was refering to the list you linked to in your first message. All packages now have systemd service files, so there should be no need to compare with that list in the wiki.

Offline

#7 2012-12-06 01:05:39

theking2
Banned
From: Romanshorn Switzerland
Registered: 2009-03-04
Posts: 372

Re: [SOLVED] Daemons list

edit: to answer my original question I found https://wiki.archlinux.org/index.php/Daemons_List very helpful

tomegun wrote:

That list is probably not up-to-date. Have a look at "systemctl list-unit-files" to see what is available on your system... Every package that used to have an rc script now has a .service file, so if it worked before it _should_ work now.

oh cool, I wish you guys and girls could see the colors :-)

UNIT FILE                              STATE
proc-sys-fs-binfmt_misc.automount      static
dev-hugepages.mount                    static
dev-mqueue.mount                       static
proc-fs-nfsd.mount                     static
proc-sys-fs-binfmt_misc.mount          static
sys-fs-fuse-connections.mount          static
sys-kernel-config.mount                static
sys-kernel-debug.mount                 static
tmp.mount                              static
var-lib-nfs-rpc_pipefs.mount           static
systemd-ask-password-console.path      static
systemd-ask-password-wall.path         static
adsl.service                           disabled
alsa-restore.service                   static
alsa-store.service                     static
autovt@.service                        disabled
avahi-daemon.service                   disabled
avahi-dnsconfd.service                 disabled
blkmapd.service                        disabled
collectd.service                       disabled
console-getty.service                  disabled
console-shell.service                  disabled
dbus-org.freedesktop.hostname1.service static
dbus-org.freedesktop.locale1.service   static
dbus-org.freedesktop.login1.service    static
dbus-org.freedesktop.timedate1.service static
dbus.service                           static
dcron.service                          disabled
debug-shell.service                    disabled
dhcpcd.service                         disabled
dhcpcd@.service                        disabled
dnsmasq.service                        disabled
emergency.service                      static
fancontrol.service                     disabled
ftpd.service                           disabled
getty@.service                         enabled
git-daemon@.service                    static
gpm.service                            disabled
healthd.service                        disabled
httpd.service                          enabled
incrond.service                        disabled
ip6tables.service                      disabled
iptables.service                       disabled
irexec.service                         disabled
krb5-kadmind.service                   disabled
krb5-kdc.service                       disabled
krb5-kpropd.service                    disabled
:
UNIT FILE                              STATE
proc-sys-fs-binfmt_misc.automount      static
dev-hugepages.mount                    static
dev-mqueue.mount                       static
proc-fs-nfsd.mount                     static
proc-sys-fs-binfmt_misc.mount          static
sys-fs-fuse-connections.mount          static
sys-kernel-config.mount                static
sys-kernel-debug.mount                 static
tmp.mount                              static
var-lib-nfs-rpc_pipefs.mount           static
systemd-ask-password-console.path      static
systemd-ask-password-wall.path         static
adsl.service                           disabled
alsa-restore.service                   static
alsa-store.service                     static
autovt@.service                        disabled
avahi-daemon.service                   disabled
avahi-dnsconfd.service                 disabled
blkmapd.service                        disabled
collectd.service                       disabled
console-getty.service                  disabled
console-shell.service                  disabled
dbus-org.freedesktop.hostname1.service static
dbus-org.freedesktop.locale1.service   static
dbus-org.freedesktop.login1.service    static
dbus-org.freedesktop.timedate1.service static
dbus.service                           static
dcron.service                          disabled
debug-shell.service                    disabled
dhcpcd.service                         disabled
dhcpcd@.service                        disabled
dnsmasq.service                        disabled
emergency.service                      static
fancontrol.service                     disabled
ftpd.service                           disabled
getty@.service                         enabled
git-daemon@.service                    static
gpm.service                            disabled
healthd.service                        disabled
httpd.service                          enabled
incrond.service                        disabled
ip6tables.service                      disabled
iptables.service                       disabled
irexec.service                         disabled
krb5-kadmind.service                   disabled
krb5-kdc.service                       disabled
krb5-kpropd.service                    disabled
krb5-kpropd@.service                   static
lirc.service                           disabled
lircm.service                          disabled
lm_sensors.service                     disabled
logitechmediaserver.service            enabled
lvm-on-crypt.service                   disabled
lvm.service                            disabled
mdadm.service                          disabled
minidlna.service                       enabled

but lvm.service disabled does not seem encouraging.

can I use my existing mdraid / LVM2 installation with systemd  and if yes, how?


including "init=/usr/lib/systemd/systemd" in my kernel line didn't really work.

The systemd wiki is slightly misleading. The lvm  service can be enabled by running systemclt enable lvm. Yet, systemctl cannot be run without the kernel init parameter. I've added the workaround in the wiki's Supplementay Information. After this the system could boot.

Thanks for baring with me

Last edited by theking2 (2012-12-12 09:50:24)


archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise  PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR

Offline

Board footer

Powered by FluxBB