do not run rads outside of boot process

Information

ID: 308
PHID: PHID-TASK-fe4dqmg4bfdm4f2ox5ua
Author: Patrick
Status at Migration Time: resolved
Priority at Migration Time: Normal

Description

There is a bug. When installing/updating rads when no login manager is started, rads is started. Example: when running no login manager and running “apt-get dist-upgrade” during a rads upgrade.

Half solution: make rads exit early if stdin and/or a tty is detected. (When run by systemd during boot, there is no stdin connected.)

Full Solution: somehow distinguish “boot → run rads normally” vs “run by apt-get/dpkg → exit rads early”.

Comments


Patrick

2015-05-18 12:38:19 UTC


Patrick

2015-05-18 13:15:16 UTC


Patrick

2015-05-20 22:42:56 UTC


Patrick

2015-05-23 00:19:08 UTC


Patrick

2015-05-23 15:53:57 UTC


Patrick

2015-05-24 15:18:03 UTC