Gentoo Archives: gentoo-user

From: Daniel Frey <djqfrey@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Service marked as crashed, but it is running?
Date: Tue, 24 Dec 2019 04:37:49
Message-Id: 86ecc20a-6da7-060c-0d29-b4309ca7ecb7@gmail.com
1 I have this strange issue.
2
3 I install lcdproc to drive a VFD in my HTPC case.
4
5 So I set it up and started it (it is working.)
6
7 However:
8
9 # rc-status | grep LCDd
10 LCDd [ crashed ]
11
12 But it is actually running (and the display is working):
13 # ps aux | grep LCDd
14 nobody 9353 0.0 0.1 2616 2104 ? Ss 20:30 0:00
15 /usr/sbin/LCDd -c /etc/LCDd.conf
16
17 I did notice that there is nothing under /run, which is likely tripping
18 up openrc (as in: no pid file for LCDd.)
19
20 All that is in /etc/init.d/LCDd is:
21 ---
22 instance="${SVCNAME}"
23 name="LCDProc (${instance})"
24 pidfile="/run/${instance}.pid"
25
26 command="/usr/sbin/LCDd"
27 command_args="-c /etc/${instance}.conf"
28
29 depend() {
30 use g15daemon
31 use net
32 }
33 ---
34
35 There is no entry in /etc/conf.d/ for LCDd, does it require one? More
36 curiously, it refers to an instance in the init.d file but I do not know
37 where it is pulling this information from. Does it require a symlink
38 (thinking something like net.lo -> net.eth0 as an example)?
39
40 Hopefully someone knows what it is trying to do and can point me in the
41 right direction.
42
43 Dan