summary refs log tree commit diff
path: root/nixos/tests/misc.nix
Commit message (Collapse)AuthorAge
* Remove myself as maintainer from packagesFlorian Friesdorf2019-02-22
| | | | I'm currently not maintaining any packages.
* nixos/tests/misc: Fix reboot-wtmp subtestaszlig2018-10-03
| | | | | | | | | | | | | | | | | | | | | | | From commit b63f65aea0dea11c20e9299210af1d2ee4299b58: I used tmpfiles.d instead of activation snippets to create the logs. It's good enough for upstream and other distros; it's probably good enough for us. The "reboot-wtmp" subtest fails because it it assumes that there is a reboot record even on the initial boot. This is only the case if wtmp is created within the activation script, but the implementation now uses tmpfiles.d, so the creation of the file is done at a much later stage. Apart from that, if you think about the state after the installation as "first boot", using the term "reboot" wouldn't probably make sense either. So in our subtest, we now reboot the machine and check the wtmp record afterwards as we did before. Signed-off-by: aszlig <aszlig@nix.build> Cc: @edolstra, @jameysharp, @Mic92
* nixos: doc: move non-service parts of `service.nixosManual` to ↵Jan Malakhovski2018-09-23
| | | | `documentation.nixos`
* [bot] nixos/*: remove unused arguments in lambdasvolth2018-07-20
|
* nixos/tests/misc: Fix on aarch64Tuomas Tynkkynen2018-03-25
| | | | | | The psmouse module is for PS/2 mouse only, which doesn't exist outside x86. But we can test for the mousedev module just as well which is used for the '-device usb-tablet' emulated by QEMU.
* VM tests: Initialize the Nix database with correct NAR hashes/sizesEelco Dolstra2018-02-07
|
* sudo: define extra rules in Nix language (#33905)Leon Schuermann2018-01-17
|
* nixos/tests: move kernel-params test to miscJoachim Fasting2017-09-16
|
* nixos/tests: move sysctl test to miscJoachim Fasting2017-09-16
|
* nixos tests.misc: unblock a man-page testVladimír Čunát2017-07-11
| | | | | I'm not sure what's wrong, but the pages look OK. Discussion: https://github.com/NixOS/nixpkgs/pull/27061#issuecomment-314330032
* nixos/tests: add tests for exercising various hardening featuresJoachim Fasting2017-04-30
| | | | | | | | This test exercises the linux_hardened kernel along with the various hardening features (enabled via the hardened profile). Move hidepid test from misc, so that misc can go back to testing a vanilla configuration.
* nixos/tests/misc: check hidepid mount via /proc/mountsJoachim Fasting2017-04-23
|
* nixos: add optional process information hidingJoachim Fasting2016-04-10
| | | | | | | | | | | | | | | | | | | This module adds an option `security.hideProcessInformation` that, when enabled, restricts access to process information such as command-line arguments to the process owner. The module adds a static group "proc" whose members are exempt from process information hiding. Ideally, this feature would be implemented by simply adding the appropriate mount options to `fileSystems."/proc".fsOptions`, but this was found to not work in vmtests. To ensure that process information hiding is enforced, we use a systemd service unit that remounts `/proc` after `systemd-remount-fs.service` has completed. To verify the correctness of the feature, simple tests were added to nixos/tests/misc: the test ensures that unprivileged users cannot see process information owned by another user, while members of "proc" CAN. Thanks to @abbradar for feedback and suggestions.
* nixos/tests: implement a trivial test for sudoJoachim Fasting2016-03-25
| | | | | This is an alternative to NixOS/nixpkgs#6721, with improvements suggested by @edolstra
* filesystems: use list of strings for fs optionsAneesh Agrawal2016-02-06
| | | | | | | | | | | | Allow usage of list of strings instead of a comma-separated string for filesystem options. Deprecate the comma-separated string style with a warning message; convert this to a hard error after 16.09. 15.09 was just released, so this provides a deprecation period during the 16.03 release. closes #10518 Signed-off-by: Robin Gloster <mail@glob.in>
* nixos/tests/misc: start systemd-udev-settle manuallyLuca Bruno2015-12-01
| | | | | | | | systemd-udev-settle is not started by default anymore. Because checking for psmouse like that is considered legacy, we start systemd-udev-settle manually in the test. cc @edolstra
* all tests: added meta.maintainers sectionJoachim Schiele2015-07-12
|
* tests/misc.nix: Ensure that the Nix DB is initialised correctlyEelco Dolstra2015-04-07
|
* Don't require a device for tmpfs filesystemsEelco Dolstra2014-07-30
|
* name nixos tests, close #3078Florian Friesdorf2014-06-28
|
* Set session variables in the shell as wellEelco Dolstra2014-06-13
|
* Add a test for automountingEelco Dolstra2014-04-29
|
* UrghEelco Dolstra2014-04-25
| | | | | | Can't figure out why "hostname -s" keeps failing randomly :-( http://hydra.nixos.org/build/10662142
* Make nscd startup synchronousEelco Dolstra2014-04-24
| | | | | | | Nscd forks into the background before it's ready to accept connections. So explicitly wait until it's ready. http://hydra.nixos.org/build/10661767
* Try againEelco Dolstra2014-04-24
|
* Make the misc test a bit more robustEelco Dolstra2014-04-24
|
* Add option ‘systemd.tmpfiles.rules’Eelco Dolstra2014-04-17
| | | | | | | | This allows specifying rules for systemd-tmpfiles. Also, enable systemd-tmpfiles-clean.timer so that stuff is cleaned up automatically 15 minutes after boot and every day, *if* you have the appropriate cleanup rules (which we don't have by default).
* Fix module loading in systemd-udevdEelco Dolstra2014-04-17
|
* Make it easier to run the testsEelco Dolstra2014-04-14
| | | | | | | | | | | You can now run a test in the nixos/tests directory directly using nix-build, e.g. $ nix-build '<nixos/tests/login.nix>' -A test This gets rid of having to add the test to nixos/tests/default.nix. (Of course, you still need to add it to nixos/release.nix if you want Hydra to run the test.)
* Add a regression test for hostname / nss_myhostnameEelco Dolstra2013-11-26
| | | | Issue #1248.
* Fix the misc testEelco Dolstra2013-10-13
| | | | http://hydra.nixos.org/build/6480163
* Move all of NixOS to nixos/ in preparation of the repository mergeEelco Dolstra2013-10-10