Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #210176

Re: Unreliable systemd user service

From Ansgar Burchardt <"\<script\>alert\('Ohhai'\)\<\/script\>"@43-1.org>
Newsgroups linux.debian.user
Subject Re: Unreliable systemd user service
Date 2019-06-21 08:50 +0200
Message-ID <yblx0-DL-1@gated-at.bofh.it> (permalink)
References <ybeFb-4QJ-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Aidan Gauland writes:
> I have a user service for running xautolock that does not start on login
> reliably, and I have no idea why, because there is no error message,
> just an exit code of 1.  (Unit file and output of systemctl status
> attached.)  Any suggestions on what to do next to troubleshoot this?

I would guess `xautolock` might be started before X is
running/accessible by your user.

Does the journal contain any useful log messages?  Note that there is a
race condition that some messages might not be logged as part of the
user service[1], so you might have to check all log messages and cannot
rely on journalctl's `--user-unit` option.

Ansgar

  [1] https://github.com/systemd/systemd/issues/2913

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Unreliable systemd user service Aidan Gauland <aidalgol@fastmail.net> - 2019-06-21 01:30 +0200
  Re: Unreliable systemd user service Ansgar Burchardt <"\<script\>alert\('Ohhai'\)\<\/script\>"@43-1.org> - 2019-06-21 08:50 +0200
    Re: Unreliable systemd user service Aidan Gauland <aidalgol@fastmail.net> - 2019-06-21 09:10 +0200
      Re: Unreliable systemd user service john doe <johndoe65534@mail.com> - 2019-06-21 09:50 +0200
        Re: Unreliable systemd user service Aidan Gauland <aidalgol@fastmail.net> - 2019-06-22 00:30 +0200
      Re: Unreliable systemd user service Jonathan Dowland <jmtd@debian.org> - 2019-06-21 11:00 +0200
        Re: Unreliable systemd user service Aidan Gauland <aidalgol@fastmail.net> - 2019-06-22 00:40 +0200
          Re: Unreliable systemd user service Michael Biebl <biebl@debian.org> - 2019-06-24 18:10 +0200
            Re: Unreliable systemd user service Aidan Gauland <aidalgol@fastmail.net> - 2019-06-25 03:50 +0200

csiph-web