Package: glances
Version: 2.1.1-1
Severity: normal

Dear Ma & Pa Intainer,

   * What led up to the situation?

Trying to start glances as a daemon

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

/etc/init.d/glances start

   * What was the outcome of this action?

* nothing running (of course, /etc/default/glances has: RUN="true")

* glances works on command line

* it also starts as a daemon using this command line order:
  glances -sdC /etc/glances/glances.conf

* remvoving /run/glances is not automatically reinstalled by
  /etc/init.d/glances start, but is by: /etc/init.d/glances restart
  (!?)

* greping for /run/glances/glances.pid PID doesn't return anything

* sylog return that:
  Apr  6 09:55:33 msi systemd[1]: Started LSB: Starts and daemonize Glances
server.

* shitstemd "journal" is of no use as usual, which is quite normal for
  a useless pile of crap.

   * What outcome did you expect instead?

glances to daemonize as any other daemon launched by a start script.



What I don't understand is it starts right on the command line but not
as a system daemon.

Jean-Yves



-- System Information:
Debian Release: 8.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages glances depends on:
ii  adduser                3.113+nmu3
ii  lsb-base               4.1+Debian13+nmu1
ii  python3                3.4.2-2
ii  python3-pkg-resources  5.5.1-1
ii  python3-psutil         2.1.1-1+b1
pn  python3:any            <none>

Versions of packages glances recommends:
ii  hddtemp          0.3-beta15-52
ii  lm-sensors       1:3.3.5-2
pn  python3-bottle   <none>
pn  python3-jinja2   <none>
pn  python3-pysnmp4  <none>

glances suggests no packages.

-- Configuration Files:
/etc/default/glances changed:
RUN="true"


-- no debconf information

Reply via email to