[Bug 1973589] Re: Restart loop when using PathExistsGlob
Antonios Tsianakas
1973589 at bugs.launchpad.net
Mon May 16 15:10:22 UTC 2022
** Description changed:
When using PathExistsGlob in a path unit, systemd starts the
corresponding service unit in an infinite loop. We have observed this
problem only under Jammy.
--------------
[Unit]
Description=Test
[Path]
PathExistsGlob=/home/www-data/test/*.so
Unit=test.service
[Install]
WantedBy=multi-user.target
--------------
[Unit]
Description=Test
[Service]
Type=simple
ExecStart=echo test
StartLimitBurst=1000
[Install]
WantedBy=multi-user.target
+
+ -------------
+ www-data at josi-test-jammy03:~ $ systemctl --user status test.path
+ × test.path - Test
+ Loaded: loaded (/home/www-data/.config/systemd/user/test.path; disabled; vendor preset: enabled)
+ Active: failed (Result: unit-start-limit-hit) since Mon 2022-05-16 17:08:08 CEST; 121ms ago
+ Triggers: ● test.service
+
+ May 16 17:08:04 josi-test-jammy03 systemd[24979]: Started Test
+ May 16 17:08:08 josi-test-jammy03 systemd[24979]: test.path: Failed with result 'unit-start-limit-hit'.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1973589
Title:
Restart loop when using PathExistsGlob
Status in systemd package in Ubuntu:
Confirmed
Bug description:
When using PathExistsGlob in a path unit, systemd starts the
corresponding service unit in an infinite loop. We have observed this
problem only under Jammy.
--------------
[Unit]
Description=Test
[Path]
PathExistsGlob=/home/www-data/test/*.so
Unit=test.service
[Install]
WantedBy=multi-user.target
--------------
[Unit]
Description=Test
[Service]
Type=simple
ExecStart=echo test
StartLimitBurst=1000
[Install]
WantedBy=multi-user.target
-------------
www-data at josi-test-jammy03:~ $ systemctl --user status test.path
× test.path - Test
Loaded: loaded (/home/www-data/.config/systemd/user/test.path; disabled; vendor preset: enabled)
Active: failed (Result: unit-start-limit-hit) since Mon 2022-05-16 17:08:08 CEST; 121ms ago
Triggers: ● test.service
May 16 17:08:04 josi-test-jammy03 systemd[24979]: Started Test
May 16 17:08:08 josi-test-jammy03 systemd[24979]: test.path: Failed with result 'unit-start-limit-hit'.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1973589/+subscriptions
More information about the foundations-bugs
mailing list