Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
17 lines
643 B
Diff
17 lines
643 B
Diff
Use relative fcronsighup to prefer setuid executable over package binary.
|
|
--- fcron-3.2.1.orig/fcrontab.c 2016-06-26 17:02:48.000000000 +0200
|
|
+++ fcron-3.2.1/fcrontab.c 2017-03-05 21:54:24.676871335 +0100
|
|
@@ -154,10 +154,10 @@
|
|
fcrontab_gid);
|
|
exit(ERR);
|
|
}
|
|
- execl(BINDIREX "/fcronsighup", BINDIREX "/fcronsighup", fcronconf,
|
|
+ execlp("fcronsighup", "fcronsighup", fcronconf,
|
|
NULL);
|
|
|
|
- error_e("Could not exec " BINDIREX " fcronsighup");
|
|
+ error_e("Could not exec fcronsighup");
|
|
exit(ERR);
|
|
break;
|
|
|