Commit Graph
15 Commits
Author SHA1 Message Date
Christian Kauhaus 881ea26382 vulnix: 1.7 -> 1.7.1
Closes NixOS/nixpkgs#43999
2018-07-23 15:39:37 +02:00
Christian Kauhaus 69454943b7 vulnix: 1.6.3 -> 1.7
The updated version brings selective whitelisting, i.e. when some CVEs
of a package are whitelisted and others are not, only the new CVEs are
reported.

Also correct license to match upstream BSD-3-Clause and clean up source.
2018-07-20 15:24:40 +02:00
Christian Kauhaus cca45cc3e1 Get libtiff on the same patch level as Debian. The imported patch file contains:
CVE-2017-9935
CVE-2017-11613
CVE-2017-17095
CVE-2017-18013
CVE-2018-5784
CVE-2018-7456

Re #41748 (master)
Re #41749 (release-18.03 - needs to be cherry-picked)
2018-06-09 15:49:36 +02:00
Christian Kauhaus 46aa5200f4 vulnix: 1.6.1 -> 1.6.3 2018-05-03 11:00:48 +02:00
Christian Kauhaus 7808216f7b vulnix: 1.4.0 -> 1.6.1
Update to current vulnix which features greatly improved whitelist
handling among others.

- Temporarly disable flake8 until #39206 is solved.
- Split docs into own output.
2018-04-20 17:42:04 +02:00
Christian Kauhaus bca80d67a0 Clarify installation steps w.r.t. disk partitions
- mkfs.fat needs `-n` to set a partition label, not `-L`.
- create /mnt/boot before mounting
- leave out detailed LVM example as advanced users already how to create
  LVs while it is detracting for novices.

Re #38674
2018-04-17 14:29:07 +02:00
Christian Kauhaus 18cf038d6f Update my e-mail address
My work address is more appropriate now.
2018-01-09 12:09:36 +01:00
Christian Kauhaus 880c9a22b9 symlinks: 1.4 -> 1.4.3
This version updated by J. Brandt Buckley <brandt@runlevel1.com>
features macOS support and has a proper license.
2018-01-08 15:09:20 +01:00
Christian Kauhaus 10c2dcef82 vulnix: 1.3.4 -> 1.4.0
The new vulnix release contains auto-detection of CVE patches.
2017-12-04 09:41:05 +01:00
Christian Kauhaus afc66e121d vulnix: 1.2.2 -> 1.3.4
The build needs the ZODB fix in PR #30925 to succeed.
2017-10-29 15:43:58 +01:00
Christian Kauhaus dccfe68ade ZODB 5.3.0: fix broken tests
Re #30892
2017-10-29 12:31:46 +01:00
Christian Kauhaus 09f24f628b buildRustPackage: Fix "warning: file ... may be generated" (#24471)
Every Rust derivation used to emit a warning like the following:

```
setting SOURCE_DATE_EPOCH to timestamp 1490877042 of file cargo-6e0c18c/Cargo.lock
warning: file cargo-6e0c18c/Cargo.lock may be generated; SOURCE_DATE_EPOCH may be non-deterministic
```

The reason is that the dependencies are copied without preserving
timestamps. Changing the build script to timestamp-preserving copy
removes the warning.
2017-03-30 15:15:49 +02:00
Christian Kauhaus ea7e705cd9 varnish: fix localstatedir for varnish* tools (#17508)
The varnish tools (varnishstat, varnishlog, ...) tried to load the VSM
file from a spurious var directory in the Nix store. Fix the default so
the tools "just work" when also keeping services.varnish.stateDir at the
default.

Notes:
- The tools use $localstatedir/$HOSTNAME so I've adapted the default for
  stateDir as well to contain hostName.
- Added postStop action to remove the localstatedir. There is no point
  in keeping it around when varnish does not run, as it regenerates it
  on startup anyway.

Fixes #7495
2016-08-04 15:25:23 +02:00
Christian Kauhaus 3530f3f20a systemd: make ctrl-alt-del target configurable. (#16911)
We currently only allow upstream's default of "reboot.target" due to the
way the symlinks are initialized. I made this configurable similar to the
default unit.
2016-07-19 09:42:53 +02:00
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