nixpkgs/pkgs/tools/system
Christian Kauhaus 0c0f068f35
cron: fix crontab(5) and cron job PATH
Switch off HAVE_SAVED_UIDS since it activates a code path for temporary
privilege dropping which does not work on NixOS.

Vixie-cron's sources ship with two implementations. Unfortunately, the
one activated by HAVE_SAVED_UIDS (using setuid()) does not work on
NixOS. Saved UIDs work only if the program which is using them has the
setuid bit set on its own executable, not if called from a setuid
wrapper (as we do it in NixOS). The other implementation (using
setreuid()) works without problems.

Quote from
<http://stackoverflow.com/questions/8499296/realuid-saved-uid-effective-uid-whats-going-on>:

    If you're euid is root and you change the uid, the privileges gets
    dropped permanently.If effective user id is not root then saved user
    id is never touched and you can regain the root privilege back
    anytime you want in your program.

Also extend the default PATH with NixOS-specific bin directories as
vixie-cron's default is not really usable on NixOS.

Re #16518

Closes #16522
2016-07-02 00:09:07 +02:00
..
acct acct: update from 6.6.1 to 6.6.2 and adopt it 2014-11-14 12:15:26 +01:00
actkbd actkbd: add version 0.2.8 2015-04-20 16:04:51 +00:00
amtterm amtterm: initial package at 1.4 2016-03-04 14:47:47 +01:00
at Set some meta.platforms 2015-03-20 20:04:42 +01:00
augeas augeas: 1.2.0 -> 1.5.0 2016-06-10 10:23:44 +08:00
awstats awstats: fix build after closure-size merge 2016-04-26 11:15:28 +02:00
bootchart bootchart: 0.9 -> 0.14.7; make pybootchartgui available 2015-11-11 14:52:42 +01:00
collectd collectd: add snmp support 2016-06-23 16:54:28 +02:00
confd Moving from fetchgit generated by go2nix to fetchFromGitHub where rev is 2016-06-09 13:08:10 +02:00
consul-template buildGoPackage: use Go 1.6 by default 2016-06-09 13:08:10 +02:00
cron cron: fix crontab(5) and cron job PATH 2016-07-02 00:09:07 +02:00
daemonize daemonize: 1.7.6 -> 1.7.7 2016-05-16 16:12:18 +02:00
das_watchdog add das_watchdog: a realtime watchdog 2015-05-26 15:13:59 +02:00
dcfldd Captialize meta.description of all packages 2016-06-20 13:55:52 +02:00
dd_rescue rename iElectric to domenkozar to match GitHub 2016-05-17 13:00:47 +01:00
ddrescue rename iElectric to domenkozar to match GitHub 2016-05-17 13:00:47 +01:00
dfc Captialize meta.description of all packages 2016-06-20 13:55:52 +02:00
di di: 4.36 -> 4.37 2016-05-03 16:15:20 +02:00
dog Replace 'with plaforms; platform' with 'platforms.platform' 2015-11-17 21:30:43 +01:00
efibootmgr Unmaintain a bunch of packages 2015-07-01 08:11:05 -04:00
efivar efivar: fix build against linux 4.4 headers 2016-05-15 19:39:18 +02:00
evemu Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
facter facter: ruby support 2016-05-22 18:44:54 +08:00
fakechroot change md5sum to sha256sum for a few packages 2014-10-12 16:13:21 +02:00
fakeroot fakeroot: 1.18.4 -> 1.20.2 2015-10-21 13:29:54 +03:00
fcron
fdisk
fio fio: 2.9 -> 2.12 2016-06-25 11:06:16 +02:00
foreman foreman: init at 0.78.0 2016-03-19 22:47:52 +00:00
foremost Add version attribute where maintainers |= nckx 2016-01-25 17:35:21 +01:00
freeipmi freeipmi: 1.5.1 -> 1.5.2 2016-05-25 16:00:57 +02:00
gdmap gdmap: set meta attributes (license, platforms, maintainers) 2014-12-19 08:01:08 +01:00
gptfdisk ncurses: combine $lib and $out outputs 2016-03-08 11:35:24 -06:00
gt5
hardlink Bring my stdenv.lib.maintainers user name in line with my github nick. 2016-05-16 22:49:55 +02:00
hiera-eyaml hiera-eyaml: init at 2.1.0 2016-06-15 20:19:06 -04:00
honcho buildPythonApplication: use new function for Python applications 2016-02-19 13:16:41 +01:00
htop Bring my stdenv.lib.maintainers user name in line with my github nick. 2016-05-16 22:49:55 +02:00
hwinfo hwinfo: 21.12 -> 21.23 2016-03-30 20:06:58 +02:00
idle3tools
ioping Replace 'with plaforms; platform' with 'platforms.platform' 2015-11-17 21:30:43 +01:00
iops Replace 'with plaforms; platform' with 'platforms.platform' 2015-11-17 21:30:43 +01:00
ipmitool Bring my stdenv.lib.maintainers user name in line with my github nick. 2016-05-16 22:49:55 +02:00
ipmiutil ipmiutil: 2.9.8 -> 2.9.9 2016-05-15 23:49:44 +02:00
logcheck logcheck: update from 1.3.16 to 1.3.17 2014-10-27 07:16:33 +02:00
logrotate logrotate: 3.8.9 -> 3.9.1 2015-06-18 23:52:33 -07:00
lr lr: init at 0.2 2016-02-08 16:30:29 +00:00
lshw Add myself as maintainer 2015-06-22 08:26:09 +02:00
mcron
memtester memtester: init at 4.3.0 2015-07-21 19:59:41 +03:00
monit treewide: Make explicit that 'dev' output of openssl is used 2016-05-19 10:02:23 +02:00
netdata netdata: fix patch 2016-04-17 11:36:33 +02:00
nq nq: init at 0.1 2016-02-08 17:28:24 -05:00
pciutils pciutils: 3.4.1 -> 3.5.1 2016-05-22 23:05:25 +02:00
plan9port Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
proot proot: 4.0.3 -> 5.1.0 2016-02-25 16:21:47 +01:00
rowhammer-test Adding rowhammer test. 2016-03-11 14:29:56 +01:00
rsyslog rsyslog: 8.14.0 -> 8.17.0 2016-04-04 14:31:01 -04:00
runit runit: fix closure size 2016-06-03 06:46:54 -03:00
s6 Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
s6-rc Captialize meta.description of all packages 2016-06-20 13:55:52 +02:00
safe-rm Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
safecopy Captialize meta.description of all packages 2016-06-20 13:55:52 +02:00
setserial setserial: reimplement using mkDerivation 2015-11-24 14:45:15 +01:00
sg3_utils
sleuthkit sleuthkit: 4.1.3 -> 4.2.0 2015-11-28 13:32:18 +01:00
smartmontools Bring my stdenv.lib.maintainers user name in line with my github nick. 2016-05-16 22:49:55 +02:00
storebrowse storebrowse: mark broken 2016-06-09 22:09:07 +02:00
stress add stress: configurable amount of CPU, memory, I/O, and disk stress on the system 2015-01-06 11:15:48 +01:00
stress-ng stress-ng: 0.06.00 -> 0.06.01 2016-05-08 19:42:49 +02:00
suid-chroot Add version attribute where maintainers |= nckx 2016-01-25 17:35:21 +01:00
symlinks
syslog-ng syslog-ng: add explicit pcre build dependency 2016-01-27 15:37:19 +02:00
syslog-ng-incubator Up syslog-ng-incubator to work with syslog-ng 3.6 2014-11-06 21:59:04 +01:00
thermald thermald: 1.4.3 -> 1.5.3 2016-04-30 03:12:34 +03:00
thinkfan rename iElectric to domenkozar to match GitHub 2016-05-17 13:00:47 +01:00
tm Captialize meta.description of all packages 2016-06-20 13:55:52 +02:00
tree Captialize meta.description of all packages 2016-06-20 13:55:52 +02:00
ts Captialize meta.description of all packages 2016-06-20 13:55:52 +02:00
uptimed Replace 'with plaforms; platform' with 'platforms.platform' 2015-11-17 21:30:43 +01:00
vbetool vbetool: use stdenv 2015-12-30 21:15:15 +01:00
vboot_reference Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
which which: 2.20 -> 2.21 2015-03-25 22:42:36 -07:00
wsmancli wsmancli init at 2.6.0 2015-08-24 22:34:16 +03:00
xe xe: init at 0.5 2016-02-08 17:27:44 -05:00
yeshup yeshup: init at 5461a8f 2016-03-11 11:24:41 +00:00