jschoubben
cf738cdb90
Read a one-shot that never ran as stopped, and one at rest as stopped to a stopped declaration (issue 1126)
...
The kernel module's boot-time cleanup, linux-modules-cleanup.service (Type=oneshot,
declared stopped and enabled at boot), failed its delivery on ace with 'was asked to
be stopped and is running': ServiceState read every inactive one-shot with
ExecMainStatus=0 as running, and systemd says 0 for one that never ran too. Stopping
an inactive unit changes nothing, so the read back said running again; after a boot
that ran it, the same declaration would fail every apply.
ServiceState now reads ExecMainStartTimestampMonotonic: 0 means never ran, read as
stopped (a package's one-shot declared running is then started, and the hold no
longer counts it as in use). The service apply reads a one-shot at rest as stopped
to a declaration that it be stopped (ServiceAtRest), whatever its last run did.
Quick fix weighed: declare the cleanup running in the catalogue. Thorough chosen:
the reading was wrong for every one-shot, and this is its second fault of the kind
(the firewall's was the first). Unit tests: three arch one-shot tests merged into one
table (7 rows), one apply test (2 rows); 1263 to 1262.
2026-10-28 14:29:16 +01:00
..
2026-10-12 18:43:04 +02:00
2026-10-20 11:16:26 +00:00
2026-10-20 11:16:26 +00:00
2026-10-25 21:50:49 +01:00
2026-10-25 21:50:49 +01:00
2026-10-28 14:29:16 +01:00
2026-10-28 14:29:16 +01:00
2026-10-04 12:20:41 +02:00
2026-10-04 00:17:50 +02:00
2026-10-04 12:20:41 +02:00
2026-10-27 21:01:16 +01:00
2026-09-27 00:09:34 +02:00
2026-10-20 11:16:26 +00:00
2026-10-25 12:14:41 +01:00
2026-10-20 11:16:26 +00:00
2026-10-21 15:34:37 +02:00
2026-10-25 12:18:50 +01:00
2026-10-20 23:32:27 +00:00
2026-10-25 12:09:28 +01:00
2026-10-01 21:24:37 +02:00
2026-10-09 01:54:26 +02:00
2026-10-20 11:16:26 +00:00
2026-10-20 11:16:26 +00:00
2026-10-19 00:11:58 +02:00
2026-10-25 21:50:49 +01:00
2026-10-22 22:29:39 +02:00
2026-10-09 01:54:26 +02:00
2026-10-09 19:58:27 +02:00
2026-10-09 01:54:26 +02:00
2026-10-09 02:03:51 +02:00
2026-10-09 01:54:26 +02:00
2026-10-20 11:16:26 +00:00
2026-10-09 01:54:26 +02:00
2026-10-20 11:16:26 +00:00
2026-10-25 12:14:41 +01:00
2026-10-20 11:16:26 +00:00
2026-10-09 12:36:56 +02:00
2026-10-09 12:36:56 +02:00
2026-10-04 04:07:40 +02:00
2026-10-13 00:11:50 +02:00
2026-10-20 11:16:26 +00:00
2026-10-20 11:16:26 +00:00
2026-10-20 11:16:26 +00:00
2026-10-09 01:54:26 +02:00
2026-10-20 11:16:26 +00:00
2026-10-20 11:16:26 +00:00
2026-10-20 11:16:26 +00:00
2026-10-23 18:54:53 +02:00
2026-10-20 11:16:26 +00:00
2026-10-20 11:16:26 +00:00
2026-10-23 18:54:53 +02:00
2026-10-20 11:16:26 +00:00
2026-10-20 11:16:26 +00:00
2026-10-25 12:14:41 +01:00
2026-10-07 13:11:03 +02:00
2026-10-20 11:16:26 +00:00
2026-10-12 14:00:53 +02:00
2026-10-12 13:57:52 +02:00
2026-10-20 11:16:26 +00:00
2026-10-22 22:23:04 +02:00
2026-10-20 11:16:26 +00:00
2026-10-22 22:27:45 +02:00
2026-09-23 23:15:28 +02:00
2026-10-20 11:16:26 +00:00
2026-10-20 11:16:26 +00:00
2026-10-20 11:16:26 +00:00
2026-10-25 02:54:58 +02:00
2026-10-22 22:29:39 +02:00
2026-10-22 22:29:39 +02:00
2026-10-17 16:09:33 +00:00
2026-10-17 16:09:33 +00:00
2026-10-17 16:09:33 +00:00
2026-10-20 11:16:26 +00:00
2026-10-20 11:16:26 +00:00
2026-10-20 11:16:26 +00:00
2026-10-16 08:24:13 +00:00
2026-10-12 22:11:09 +02:00
2026-10-09 01:54:26 +02:00
2026-10-20 23:32:27 +00:00
2026-10-09 01:54:26 +02:00
2026-10-20 11:16:26 +00:00
2026-10-20 11:16:26 +00:00
2026-10-09 01:54:26 +02:00
2026-10-26 14:22:54 +00:00
2026-10-26 15:01:55 +01:00
2026-10-26 14:22:54 +00:00
2026-10-20 11:16:26 +00:00
2026-10-21 15:41:09 +02:00
2026-10-21 15:41:09 +02:00
2026-10-11 18:51:04 +02:00
2026-10-09 01:54:26 +02:00
2026-10-05 01:30:42 +02:00
2026-10-25 12:18:50 +01:00
2026-10-20 11:16:26 +00:00
2026-10-09 01:54:26 +02:00
2026-10-10 01:10:56 +02:00
2026-10-20 11:16:26 +00:00
2026-10-12 22:11:09 +02:00
2026-10-20 11:16:26 +00:00
2026-10-09 01:22:11 +02:00
2026-10-09 00:55:21 +02:00
2026-10-20 11:16:26 +00:00
2026-10-24 16:39:51 +02:00
2026-10-20 11:16:26 +00:00
2026-10-09 00:28:01 +02:00
2026-10-09 01:54:26 +02:00
2026-10-09 01:54:26 +02:00
2026-10-20 11:16:26 +00:00
2026-10-20 11:16:26 +00:00
2026-10-07 13:11:03 +02:00
2026-10-20 11:16:26 +00:00
2026-10-20 11:16:26 +00:00
2026-10-20 11:16:26 +00:00
2026-10-17 16:09:33 +00:00
2026-10-04 01:47:33 +02:00
2026-09-01 23:45:02 +02:00
2026-10-09 10:07:52 +02:00
2026-08-30 03:22:38 +02:00
2026-10-20 11:16:26 +00:00
2026-10-09 01:54:26 +02:00
2026-10-20 11:16:26 +00:00
2026-10-20 11:16:26 +00:00
2026-10-12 22:18:16 +02:00
2026-10-20 11:16:26 +00:00
2026-10-12 22:18:16 +02:00
2026-10-04 12:54:16 +02:00
2026-10-05 01:30:42 +02:00