Zbigniew Jędrzejewski-Szmek
0f36a4c897
Try path without sbin even if compiled with split-bin=true
...
I'm working on the transition to merged sbin in Fedora. While the transition is
happening (and probably for a while after), we need to compile systemd with
split-bin=true to support systems upgraded from previous versions. But when the
system has been upgraded and already has /usr/sbin that is a symlink, be nice
and give $PATH without sbin.
We check for both /usr/sbin and /usr/local/sbin. If either exists and is not a
symlink to ./bin, we retain previous behaviour. This means that if both are
converted, we get the same behaviour as split-bin=false, and otherwise we
get the same behaviour as before.
sd-path uses the same logic. This is not a hot path, so I got rid of the nulstr
macros that duplicated the logic.
2024-04-22 09:53:24 +02:00
..
2024-04-10 06:23:55 +09:00
2024-01-30 10:06:44 +01:00
2023-08-09 20:44:57 +08:00
2023-10-19 18:31:44 +09:00
2023-10-20 10:34:33 +02:00
2024-01-24 21:21:57 +08:00
2023-08-16 14:30:51 +02:00
2023-08-14 18:46:08 +02:00
2024-02-21 09:25:46 +01:00
2024-02-21 09:25:46 +01:00
2024-02-27 23:10:49 +08:00
2023-07-30 04:56:38 +09:00
2023-11-28 10:22:39 +01:00
2023-11-07 11:31:53 +01:00
2024-04-06 16:08:23 +02:00
2024-04-06 16:08:23 +02:00
2024-03-20 15:13:44 +01:00
2024-02-16 00:25:37 +09:00
2024-03-05 12:37:21 +01:00
2024-03-06 03:29:12 +08:00
2024-03-07 18:49:44 +01:00
2024-02-09 17:57:41 +01:00
2023-07-14 22:47:37 +01:00
2023-07-06 12:20:04 +01:00
2024-03-08 08:25:07 +01:00
2024-03-20 15:13:44 +01:00
2023-08-13 10:40:36 +01:00
2024-04-03 14:23:04 +01:00
2024-03-05 12:33:44 +01:00
2024-04-03 10:03:53 +08:00
2023-11-03 11:19:19 +01:00
2023-12-25 02:13:49 +09:00
2023-10-31 17:15:21 +09:00
2024-03-12 15:41:51 +08:00
2024-02-28 15:38:00 +01:00
2023-08-16 12:52:56 +02:00
2024-03-07 00:46:21 +00:00
2024-01-16 10:49:26 -07:00
2023-12-25 15:38:59 +09:00
2023-12-19 11:48:05 +09:00
2024-03-03 19:01:00 +08:00
2024-03-03 19:01:00 +08:00
2024-03-12 19:01:00 +01:00
2024-03-12 19:01:00 +01:00
2024-03-20 15:18:21 +01:00
2024-01-26 00:37:59 +08:00
2024-03-11 11:55:36 +00:00
2024-03-20 15:13:44 +01:00
2024-02-14 09:14:13 +01:00
2024-03-14 09:22:09 +01:00
2024-03-14 09:22:09 +01:00
2024-04-03 11:50:25 +01:00
2024-04-03 11:50:25 +01:00
2023-07-16 00:44:46 +01:00
2024-03-01 22:25:42 +01:00
2024-03-01 22:25:42 +01:00
2023-12-25 15:38:59 +09:00
2024-02-14 09:35:36 +01:00
2024-03-02 11:47:34 +09:00
2024-01-09 03:59:15 +09:00
2024-01-09 03:59:15 +09:00
2024-02-25 11:43:37 +00:00
2024-02-25 11:43:37 +00:00
2024-02-28 15:38:00 +01:00
2023-10-26 09:08:28 +02:00
2023-10-26 09:08:28 +02:00
2023-11-22 20:38:38 +00:00
2023-10-20 10:43:50 +02:00
2023-12-13 20:42:05 +08:00
2024-01-11 16:05:20 +01:00
2023-10-20 10:43:50 +02:00
2023-10-20 10:43:50 +02:00
2024-03-18 11:04:42 +00:00
2024-03-18 11:04:42 +00:00
2023-10-11 11:30:53 +02:00
2023-10-04 08:58:10 +09:00
2024-02-28 15:38:00 +01:00
2023-11-23 00:50:46 +09:00
2024-02-16 00:25:37 +09:00
2024-04-06 16:08:23 +02:00
2024-03-22 12:46:32 +01:00
2024-04-05 12:14:18 +02:00
2023-10-20 11:45:37 +01:00
2024-03-20 15:48:05 +00:00
2023-08-01 10:14:50 +02:00
2023-08-01 10:14:49 +02:00
2024-02-03 03:00:51 +09:00
2024-02-03 03:00:51 +09:00
2024-04-17 17:03:48 +02:00
2024-03-20 12:26:24 +01:00
2024-03-20 12:26:16 +01:00
2024-03-20 12:26:16 +01:00
2024-02-20 15:01:36 -05:00
2024-04-06 16:08:23 +02:00
2024-03-20 12:26:16 +01:00
2024-03-20 12:26:16 +01:00
2024-03-20 12:26:16 +01:00
2024-03-20 12:26:16 +01:00
2024-04-10 06:40:32 +09:00
2024-03-20 12:26:16 +01:00
2024-03-20 12:26:16 +01:00
2024-03-20 12:26:16 +01:00
2024-03-20 12:26:16 +01:00
2024-03-20 12:26:16 +01:00
2024-03-20 12:26:16 +01:00
2024-01-05 22:29:55 +01:00
2023-12-05 23:50:25 +09:00
2023-10-19 14:07:54 +03:00
2024-02-12 14:07:19 +01:00
2023-10-19 14:07:54 +03:00
2024-03-20 12:26:16 +01:00
2024-03-20 12:26:16 +01:00
2024-03-20 12:26:16 +01:00
2024-03-04 19:53:51 +00:00
2023-08-14 18:46:08 +02:00
2024-02-06 12:41:43 +00:00
2024-02-06 12:41:43 +00:00
2024-04-06 16:08:23 +02:00
2024-04-06 16:08:23 +02:00
2024-03-22 01:44:45 +08:00
2024-03-22 01:44:45 +08:00
2024-01-26 00:37:59 +08:00
2024-04-06 02:16:53 +08:00
2024-03-28 14:20:20 +00:00
2024-04-13 05:44:04 +09:00
2024-01-06 08:27:14 +09:00
2024-03-20 15:18:21 +01:00
2024-03-07 02:01:57 +08:00
2024-04-22 09:53:24 +02:00
2024-04-22 09:53:24 +02:00
2024-04-10 01:45:12 +08:00
2024-03-11 22:57:50 +08:00
2023-08-10 00:01:04 +08:00
2024-03-20 15:18:21 +01:00
2023-08-13 12:52:15 +08:00
2024-04-14 23:22:13 +08:00
2024-02-19 11:18:11 +00:00
2023-08-16 12:52:56 +02:00
2023-09-07 20:30:44 +08:00
2023-11-22 12:32:31 +00:00
2024-02-16 00:25:37 +09:00
2023-12-06 22:12:48 +01:00
2023-12-14 08:31:29 +00:00
2023-12-14 08:31:29 +00:00
2024-02-13 13:59:27 -05:00
2024-02-13 13:59:27 -05:00
2024-01-04 05:26:01 +09:00
2024-04-03 10:03:53 +08:00
2024-02-23 09:35:12 -08:00
2023-12-25 15:38:59 +09:00
2024-04-09 21:19:15 +02:00
2024-01-12 16:03:19 +01:00
2023-10-20 15:57:58 +01:00
2023-11-01 17:18:15 +00:00
2024-03-09 19:32:09 +00:00
2024-03-23 13:21:06 +01:00
2024-03-14 23:45:27 +08:00
2024-03-25 23:10:52 +08:00
2024-04-17 17:04:23 +08:00
2024-04-17 21:50:22 +08:00
2024-03-08 08:25:07 +01:00
2024-03-07 18:49:44 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2023-11-01 14:07:54 +00:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-25 13:51:36 +01:00
2024-01-23 03:18:01 +09:00
2024-01-23 03:18:01 +09:00
2024-03-20 15:18:21 +01:00
2024-03-19 22:21:56 +01:00
2024-03-20 15:18:21 +01:00
2024-04-03 10:03:53 +08:00
2024-03-14 09:22:09 +01:00
2024-01-09 11:15:00 +01:00
2024-01-09 11:15:00 +01:00
2024-04-08 20:14:38 +08:00
2024-04-08 20:14:38 +08:00
2023-08-22 12:31:45 +02:00
2024-03-29 13:53:01 +09:00
2024-01-30 11:18:15 -05:00
2024-03-20 15:18:21 +01:00
2024-02-09 16:17:59 +08:00
2024-02-02 09:10:02 +09:00
2024-01-22 17:55:07 +01:00
2024-04-08 10:14:50 +02:00
2024-03-24 18:02:42 +00:00
2024-01-10 03:08:31 +09:00
2023-10-26 09:27:00 +02:00
2023-10-26 09:27:00 +02:00