Rémy Grünblatt
c9e3cc43c7
nixos: fix iproute2 invocations ( #263976 )
...
When using iproute2's ip binary, you can omit the dev parameter, e.g. ip link set up eth0 instead of ip link set up dev eth0.
This breaks if for some reason your device is named e.g. he, hel, … because it is interpreted as ip link set up help.
I just encountered this bug using networking.bridges trying to create an interface named he.
I used a grep on nixpkgs to try to find iproute2 invocations using variables without the dev keyword, and found a few, and fixed them by providing the dev keyword.
I merely fixed what I found, but the use of abbreviated commands makes it a bit hard to be sure everything has been found (e.g. ip l set … up instead of ip link set … up).
2023-10-29 18:27:16 +01:00
Will Fancher
5cea7ee452
Merge pull request #262583 from ElvishJerricco/systemd-stage-1-shells
...
systemd-stage-1: Support for user shells
2023-10-29 13:22:47 -04:00
K900
7ea67d7cb6
Revert "nixos/activation: remove specialfs activationScript"
...
This reverts commit a8f50f9919
.
Broke installer tests, need to figure out how to fix nixos-enter before attempting this again.
2023-10-29 20:08:48 +03:00
Ryan Lahfa
92fdbd284c
Merge pull request #262839 from RaitoBezarius/qemu-vm/timeout
2023-10-29 17:21:10 +01:00
K900
220241421f
Merge pull request #263744 from K900/stateversion-docs
...
treewide: rewrite stateVersion docs (again), clean up some stateVersion usages (again)
2023-10-29 16:25:48 +03:00
Aaron Andersen
3b848391b6
Merge pull request #227442 from christoph-heiss/openssh/allowusers
...
openssh: add {Allow,Deny}{Users,Groups} settings
2023-10-29 08:20:22 -04:00
K900
424b0cefa4
nixos/version: rewrite stateVersion documentation
...
Match the comment in nixos-generate-config and add some more details for the curious.
2023-10-29 15:02:50 +03:00
K900
fb1ccc91f7
nixos-generate-config: rewrite stateVersion comment again
...
Hopefully this version is clearer. Also tried to make it less technical.
2023-10-29 15:02:50 +03:00
Ryan Lahfa
72bd71a44a
Merge pull request #263977 from JulienMalka/fix-netdata-test
2023-10-29 12:48:31 +01:00
Raito Bezarius
05dd78cf4b
nixos/lib/test-driver: add driver-timeout as a passthru test
...
From now on, we will aim to ensure that the test driver
gets tested by OfBorg using all our available tests.
This commit adds the driver timeout test to the driver.
2023-10-29 12:45:00 +01:00
Raito Bezarius
c90219633c
nixos/tests/nixos-test-driver: test timeout failures
...
We test that the test framework timeouts are working as expected.
2023-10-29 12:45:00 +01:00
Raito Bezarius
a0dc17bd57
nixos/lib/testing/run: expose rawTestDerivation
...
For `testBuildFailure` and similar functions, we need a full blown derivation and not a lazy one.
This is an internal option for test framework developers.
2023-10-29 12:45:00 +01:00
Raito Bezarius
d4d7550108
nixos/test-driver: provide a global timeout
...
Since the debut of the test-driver, we didn't obtain
a race timer with the test execution to ensure that tests doesn't run beyond
a certain amount of time.
This is particularly important when you are running into hanging tests
which cannot be detected by current facilities (requires more pvpanic wiring up, QMP
API stuff, etc.).
Two easy examples:
- Some QEMU tests may get stuck in some situation and run for more than 24 hours → we default to 1 hour max.
- Some QEMU tests may panic in the wrong place, e.g. UEFI firmware or worse → end users can set a "reasonable" amount of time
And then, we should let the retry logic retest them until they succeed and adjust
their global timeouts.
Of course, this does not help with the fact that the timeout may need to be
a function of the actual busyness of the machine running the tests.
This is only one step towards increased reliability.
2023-10-29 12:45:00 +01:00
nikstur
7cb1ab909a
Merge pull request #264082 from josephst/systemd-domainname
...
systemd domainname unit - use nix store path of `net tools` for `domainname`
2023-10-29 10:35:04 +01:00
Guillaume Girol
98b63514f0
Merge pull request #261862 from vifino/syslog-ng-4.4.0
...
syslogng: Late cleanup
2023-10-29 09:51:02 +01:00
Robert Hensing
8b385c91c3
Merge pull request #263462 from nikstur/rebuildable-system
...
Rebuildable system & appliance
2023-10-29 08:02:35 +01:00
Peder Bergebakken Sundt
37c7104f53
Merge pull request #262915 from chayleaf/certspotter
...
certspotter: init at 0.17.0; nixos/certspotter: init
2023-10-29 05:10:04 +01:00
Joseph Stahl
137a3c1303
systemd domainname service - fix missing domainname binary
...
needs nettools in path
2023-10-28 22:30:14 -04:00
Weijia Wang
eaf8053ad5
Merge pull request #264036 from wegank/unifi-hotfix
...
nixos/unifi: fix use of optionalString
2023-10-29 00:33:19 +02:00
Weijia Wang
88e82879f4
nixos/unifi: fix use of optionalString
2023-10-28 23:01:44 +02:00
Ryan Lahfa
de47b2e8a5
Merge pull request #263033 from ElvishJerricco/systemd-stage-1-filesystems-encrypted
...
systemd-stage-1: Enable more encrypted installer tests
2023-10-28 20:38:14 +02:00
Christoph Heiss
cc8ba21629
nixos/sshd: add comment explaining different list option types
...
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2023-10-28 20:13:26 +02:00
Julien Malka
a000d9fff6
tests/netdata: fix test after upgrade to 1.43.0
2023-10-28 14:43:19 +00:00
Jörg Thalheim
6177463501
nixos/netboot: fix eval on non x86_64 systems
...
pkgs is x86_64-linux, which makes the build on aarch64-linux i.e. fail.
2023-10-28 15:54:32 +02:00
Weijia Wang
66ab26fce8
Merge pull request #262084 from imlonghao/borgmatic/fix-262020
...
borgmatic: fix deprecation warning check failed
2023-10-28 15:33:39 +02:00
Julian Stecklina
e8bed1eec9
nixos/profiles: add image-based-appliance profile
2023-10-28 13:26:39 +02:00
nikstur
8dfe8e447e
nixos/profiles/minimal: remove some perl
2023-10-28 13:26:39 +02:00
nikstur
79eba74561
nixos: release notes for system.switch.enable
2023-10-28 13:26:39 +02:00
nikstur
996cf6ac56
nixos/docs: add non-switchable-systems section
2023-10-28 13:26:33 +02:00
Linus Heckemann
8670794565
Merge pull request #263203 from nikstur/replace-activation
...
Replace simple activationScripts
2023-10-28 10:17:15 +02:00
chayleaf
f4aeeb9e81
nixos/certspotter: init
2023-10-28 14:19:36 +07:00
tomf
e426508098
Merge pull request #254412 from helsinki-systems/nvme-kmod-by-default
...
nixos/boot/kernel: include nvme kmod by default
2023-10-28 18:01:18 +11:00
Peder Bergebakken Sundt
dc42e2603b
Merge pull request #263335 from anthonyroussel/nixos-goss
...
nixos/goss: init
2023-10-28 06:36:43 +02:00
imlonghao
88bc98a073
borgmatic: fix deprecation warning check failed
2023-10-28 11:32:38 +08:00
Peder Bergebakken Sundt
a9d001fd4a
Merge pull request #260877 from moritzrickert/plausible-registration-invite-only
...
nixos/plausible: add invite only registrations
2023-10-27 23:49:49 +02:00
Artturi
61f2bd3178
Merge pull request #254386 from erikarvstedt/nginx-js-mime-type
2023-10-27 23:32:20 +03:00
tomf
d18f272a39
Merge pull request #262408 from evandeaubl/master
...
nixos/tailscale: add openFirewall option
2023-10-28 05:19:41 +11:00
Peder Bergebakken Sundt
fb1c60b65a
Merge pull request #262224 from chayleaf/tsja
...
postgresqlPackages.tsja: init at 0.5.0
2023-10-27 19:53:14 +02:00
Jacek Galowicz
04c4853380
Merge pull request #262975 from tfc/bittorrent-test-fix
...
bittorrent NixOS Test: Un-Uncomment seeder takedown
2023-10-27 18:49:26 +01:00
Weijia Wang
7ee7a3fc98
Merge pull request #263796 from bjornfor/nixos-fix-ddclient-release-notes
...
nixos/release-notes: remove wrong entry about services.ddclient
2023-10-27 19:43:38 +02:00
tomf
b42ca6b992
Merge pull request #260346 from l0b0/feat/shiori-webroot
...
nixos/shiori: add web root option
2023-10-28 04:25:40 +11:00
Emily
f4e67057e8
Merge pull request #263234 from CobaltCause/garage-statedirectory
...
nixos/garage: set `StateDirectory` if used at all
2023-10-27 17:26:39 +02:00
Bjørn Forsman
7a81d99872
nixos/release-notes: remove wrong entry about services.ddclient
...
ddclient was later restored.
2023-10-27 16:26:33 +02:00
Herwig Hochleitner
a5e03844dc
Merge pull request #260091 from bendlas/fix-cdemu-service
...
cdemu: fix service setup
2023-10-27 14:46:57 +02:00
Alyssa Ross
44ff5dfca2
nixos/restic: remove s3CredentialsFile option
...
This has been deprecated since 2021, so all users should have seen the
warning and migrated by now.
2023-10-27 12:31:54 +00:00
Mario Rodas
ae1374a337
Merge pull request #250525 from ivan-timokhin/junicode-2.00
...
junicode: 1.003 -> 2.200
2023-10-27 06:46:28 -05:00
Martin Weinelt
2e09b8e5af
Merge pull request #260246 from christoph-heiss/new/floorp
...
floorp: init at 11.5.0
2023-10-27 12:36:43 +02:00
K900
5323b93e9d
nixos/tests: remove unnecessary stateVersion assignments
2023-10-27 12:56:13 +03:00
K900
6f06066e94
nixos/containers: use latest stateVersion as example
...
Hopefully this way we don't confuse people into thinking you have to set it to 21.05.
2023-10-27 12:56:12 +03:00
K900
118694944d
nixos/virtualbox-demo: use latest stateVersion
...
Just like we do for the other live images
2023-10-27 12:56:12 +03:00