** 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@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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1973589

Title:
  Restart loop when using PathExistsGlob

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1973589/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to