NixOS / nix

Nix, the purely functional package manager
https://nixos.org/
GNU Lesser General Public License v2.1
12.89k stars 1.52k forks source link

Fedora 36: Cannot link nix-deamon.service #6555

Open shipaviu opened 2 years ago

shipaviu commented 2 years ago

This is al the output I could get. Hope it helps.


Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 6 nixbld6

in order to give nixbld6 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 6
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the build user nixbld7

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo useradd --home-dir /var/empty --comment Nix build user 7 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30007 --password ! nixbld7

Creating the Nix build user, nixbld7

useradd warning: nixbld7's uid 30007 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
           Created:     Yes
            Hidden:     Yes
    Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 7 nixbld7

in order to give nixbld7 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 7
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the build user nixbld8

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo useradd --home-dir /var/empty --comment Nix build user 8 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30008 --password ! nixbld8

Creating the Nix build user, nixbld8

useradd warning: nixbld8's uid 30008 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
           Created:     Yes
            Hidden:     Yes
    Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 8 nixbld8

in order to give nixbld8 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 8
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the build user nixbld9

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo useradd --home-dir /var/empty --comment Nix build user 9 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30009 --password ! nixbld9

Creating the Nix build user, nixbld9

useradd warning: nixbld9's uid 30009 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
           Created:     Yes
            Hidden:     Yes
    Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 9 nixbld9

in order to give nixbld9 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 9
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the build user nixbld10

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo useradd --home-dir /var/empty --comment Nix build user 10 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30010 --password ! nixbld10

Creating the Nix build user, nixbld10

useradd warning: nixbld10's uid 30010 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
           Created:     Yes
            Hidden:     Yes
    Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 10 nixbld10

in order to give nixbld10 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 10
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the build user nixbld11

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo useradd --home-dir /var/empty --comment Nix build user 11 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30011 --password ! nixbld11

Creating the Nix build user, nixbld11

useradd warning: nixbld11's uid 30011 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
           Created:     Yes
            Hidden:     Yes
    Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 11 nixbld11

in order to give nixbld11 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 11
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the build user nixbld12

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo useradd --home-dir /var/empty --comment Nix build user 12 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30012 --password ! nixbld12

Creating the Nix build user, nixbld12

useradd warning: nixbld12's uid 30012 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
           Created:     Yes
            Hidden:     Yes
    Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 12 nixbld12

in order to give nixbld12 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 12
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the build user nixbld13

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo useradd --home-dir /var/empty --comment Nix build user 13 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30013 --password ! nixbld13

Creating the Nix build user, nixbld13

useradd warning: nixbld13's uid 30013 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
           Created:     Yes
            Hidden:     Yes
    Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 13 nixbld13

in order to give nixbld13 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 13
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the build user nixbld14

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo useradd --home-dir /var/empty --comment Nix build user 14 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30014 --password ! nixbld14

Creating the Nix build user, nixbld14

useradd warning: nixbld14's uid 30014 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
           Created:     Yes
            Hidden:     Yes
    Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 14 nixbld14

in order to give nixbld14 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 14
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the build user nixbld15

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo useradd --home-dir /var/empty --comment Nix build user 15 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30015 --password ! nixbld15

Creating the Nix build user, nixbld15

useradd warning: nixbld15's uid 30015 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
           Created:     Yes
            Hidden:     Yes
    Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 15 nixbld15

in order to give nixbld15 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 15
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the build user nixbld16

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo useradd --home-dir /var/empty --comment Nix build user 16 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30016 --password ! nixbld16

Creating the Nix build user, nixbld16

useradd warning: nixbld16's uid 30016 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
           Created:     Yes
            Hidden:     Yes
    Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 16 nixbld16

in order to give nixbld16 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 16
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the build user nixbld17

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo useradd --home-dir /var/empty --comment Nix build user 17 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30017 --password ! nixbld17

Creating the Nix build user, nixbld17

useradd warning: nixbld17's uid 30017 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
           Created:     Yes
            Hidden:     Yes
    Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 17 nixbld17

in order to give nixbld17 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 17
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the build user nixbld18

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo useradd --home-dir /var/empty --comment Nix build user 18 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30018 --password ! nixbld18

Creating the Nix build user, nixbld18

useradd warning: nixbld18's uid 30018 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
           Created:     Yes
            Hidden:     Yes
    Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 18 nixbld18

in order to give nixbld18 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 18
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the build user nixbld19

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo useradd --home-dir /var/empty --comment Nix build user 19 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30019 --password ! nixbld19

Creating the Nix build user, nixbld19

useradd warning: nixbld19's uid 30019 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
           Created:     Yes
            Hidden:     Yes
    Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 19 nixbld19

in order to give nixbld19 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 19
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the build user nixbld20

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo useradd --home-dir /var/empty --comment Nix build user 20 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30020 --password ! nixbld20

Creating the Nix build user, nixbld20

useradd warning: nixbld20's uid 30020 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
           Created:     Yes
            Hidden:     Yes
    Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 20 nixbld20

in order to give nixbld20 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 20
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the build user nixbld21

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo useradd --home-dir /var/empty --comment Nix build user 21 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30021 --password ! nixbld21

Creating the Nix build user, nixbld21

useradd warning: nixbld21's uid 30021 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
           Created:     Yes
            Hidden:     Yes
    Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 21 nixbld21

in order to give nixbld21 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 21
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the build user nixbld22

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo useradd --home-dir /var/empty --comment Nix build user 22 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30022 --password ! nixbld22

Creating the Nix build user, nixbld22

useradd warning: nixbld22's uid 30022 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
           Created:     Yes
            Hidden:     Yes
    Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 22 nixbld22

in order to give nixbld22 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 22
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the build user nixbld23

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo useradd --home-dir /var/empty --comment Nix build user 23 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30023 --password ! nixbld23

Creating the Nix build user, nixbld23

useradd warning: nixbld23's uid 30023 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
           Created:     Yes
            Hidden:     Yes
    Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 23 nixbld23

in order to give nixbld23 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 23
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the build user nixbld24

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo useradd --home-dir /var/empty --comment Nix build user 24 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30024 --password ! nixbld24

Creating the Nix build user, nixbld24

useradd warning: nixbld24's uid 30024 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
           Created:     Yes
            Hidden:     Yes
    Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 24 nixbld24

in order to give nixbld24 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 24
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the build user nixbld25

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo useradd --home-dir /var/empty --comment Nix build user 25 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30025 --password ! nixbld25

Creating the Nix build user, nixbld25

useradd warning: nixbld25's uid 30025 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
           Created:     Yes
            Hidden:     Yes
    Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 25 nixbld25

in order to give nixbld25 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 25
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the build user nixbld26

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo useradd --home-dir /var/empty --comment Nix build user 26 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30026 --password ! nixbld26

Creating the Nix build user, nixbld26

useradd warning: nixbld26's uid 30026 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
           Created:     Yes
            Hidden:     Yes
    Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 26 nixbld26

in order to give nixbld26 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 26
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the build user nixbld27

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo useradd --home-dir /var/empty --comment Nix build user 27 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30027 --password ! nixbld27

Creating the Nix build user, nixbld27

useradd warning: nixbld27's uid 30027 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
           Created:     Yes
            Hidden:     Yes
    Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 27 nixbld27

in order to give nixbld27 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 27
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the build user nixbld28

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo useradd --home-dir /var/empty --comment Nix build user 28 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30028 --password ! nixbld28

Creating the Nix build user, nixbld28

useradd warning: nixbld28's uid 30028 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
           Created:     Yes
            Hidden:     Yes
    Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 28 nixbld28

in order to give nixbld28 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 28
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the build user nixbld29

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo useradd --home-dir /var/empty --comment Nix build user 29 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30029 --password ! nixbld29

Creating the Nix build user, nixbld29

useradd warning: nixbld29's uid 30029 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
           Created:     Yes
            Hidden:     Yes
    Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 29 nixbld29

in order to give nixbld29 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 29
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the build user nixbld30

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo useradd --home-dir /var/empty --comment Nix build user 30 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30030 --password ! nixbld30

Creating the Nix build user, nixbld30

useradd warning: nixbld30's uid 30030 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
           Created:     Yes
            Hidden:     Yes
    Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 30 nixbld30

in order to give nixbld30 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 30
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the build user nixbld31

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo useradd --home-dir /var/empty --comment Nix build user 31 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30031 --password ! nixbld31

Creating the Nix build user, nixbld31

useradd warning: nixbld31's uid 30031 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
           Created:     Yes
            Hidden:     Yes
    Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 31 nixbld31

in order to give nixbld31 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 31
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the build user nixbld32

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo useradd --home-dir /var/empty --comment Nix build user 32 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30032 --password ! nixbld32

Creating the Nix build user, nixbld32

useradd warning: nixbld32's uid 30032 outside of the SYS_UID_MIN 201 and SYS_UID_MAX 999 range.
           Created:     Yes
            Hidden:     Yes
    Home Directory:     /var/empty

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo usermod --comment Nix build user 32 nixbld32

in order to give nixbld32 a useful comment

usermod: Keine Änderungen
              Note:     Nix build user 32
   Logins Disabled:     Yes
  Member of nixbld:     Yes
    PrimaryGroupID:     30000

~~> Setting up the basic directory structure

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo install -dv -m 0755 /nix /nix/var /nix/var/log /nix/var/log/nix /nix/var/log/nix/drvs /nix/var/nix /nix/var/nix/db /nix/var/nix/gcroots /nix/var/nix/profiles /nix/var/nix/temproots /nix/var/nix/userpool /nix/var/nix/daemon-socket /nix/var/nix/gcroots/per-user /nix/var/nix/profiles/per-user

to make the basic directory structure of Nix (part 1)

install: Verzeichnis '/nix' wird angelegt
install: Verzeichnis '/nix/var' wird angelegt
install: Verzeichnis '/nix/var/log' wird angelegt
install: Verzeichnis '/nix/var/log/nix' wird angelegt
install: Verzeichnis '/nix/var/log/nix/drvs' wird angelegt
install: Verzeichnis '/nix/var/nix' wird angelegt
install: Verzeichnis '/nix/var/nix/db' wird angelegt
install: Verzeichnis '/nix/var/nix/gcroots' wird angelegt
install: Verzeichnis '/nix/var/nix/profiles' wird angelegt
install: Verzeichnis '/nix/var/nix/temproots' wird angelegt
install: Verzeichnis '/nix/var/nix/userpool' wird angelegt
install: Verzeichnis '/nix/var/nix/daemon-socket' wird angelegt
install: Verzeichnis '/nix/var/nix/gcroots/per-user' wird angelegt
install: Verzeichnis '/nix/var/nix/profiles/per-user' wird angelegt

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo install -dv -g nixbld -m 1775 /nix/store

to make the basic directory structure of Nix (part 2)

install: Verzeichnis '/nix/store' wird angelegt

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo install -dv -m 0555 /etc/nix

to place the default nix daemon configuration (part 1)

install: Verzeichnis '/etc/nix' wird angelegt

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo install -m 0664 /tmp/tmp.CguYKKGw1b/.nix-channels /root/.nix-channels

to set up the default system channel (part 1)

~~> Installing Nix

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo cp -RPp ./store/0l8kkiv0d31hwh2f4x6142drcdibhx7n-keyutils-1.6.3-lib ./store/2npn6mbl8fx14df3avk7sgplr7aaif3c-editline-1.17.1 ./store/2qd7zgbsdsbf4gwlap2nhsb5da00rw86-zstd-1.4.9 ./store/3ss84qd3j02pd10sagbpbk8gz5411hjc-perl-5.32.1 ./store/3zi155ps4sf8y1h2yp6wbghvhpk1h6d6-aws-c-io-0.9.1 ./store/5qbx0wy48f55pybnii26428z24zh07ln-nss-cacert-3.66 ./store/69x2irfhvhscdb61j51qda7l93jzlim3-brotli-1.0.9-lib ./store/6dgkss765krj2x8k7cj1b1gnxvjxnm8f-aws-checksums-0.1.11 ./store/6mjgljq8sm9bsz6k22as5ar3jw78644m-nix-2.8.1 ./store/6sh733l9nz46j5bnbndybndl4s35dg7k-attr-2.4.48 ./store/71ifgy0c7w99kprfxi7iiv85f2bm7c7p-aws-c-common-0.5.5 ./store/7bzaif84k0ia8zkh4mg0c1kgibnb744n-libidn2-2.3.1 ./store/86nwp1qr2q54gaz07hz5h55rqz962qds-nlohmann_json-3.9.1 ./store/8930fqjjypcnqgraxrbgnym64vvi8dmk-boehm-gc-8.0.4 ./store/8jn2afds8gxpz5zq3dd667j2mrcjlch8-sqlite-3.35.5 ./store/b48mzk6yf4i897zzy0waqybdkv7ws227-zlib-1.2.11 ./store/b4bclrfy1jljzvic10qv5iymw68mzrc0-openssl-1.1.1l ./store/c6inislcbc0g5c0i4ck0a0pmkskar1sg-libsodium-1.0.18 ./store/cd91x4x64ijzyxapqp68c8i6q1r66pri-libkrb5-1.18 ./store/dzrvibwj2vjwqmc34wk3x1ffsjpp4av7-bash-4.4-p23 ./store/fkxbprfwzz14509236621bfvj9xwq6dg-nghttp2-1.43.0-lib ./store/j15xgicdd80l2qkirqq2yd7s60ckhhs1-openssl-1.1.1l-bin ./store/jy3gc3sdyd8j2ylw346f5zw2bn3705gd-aws-sdk-cpp-1.8.121 ./store/l4k6scch9g55v1g9j347ninn7k5g096q-libcpuid-0.5.1 ./store/lm88rijmrs98k3svxlypwll0p23zp2zc-libxml2-2.9.12 ./store/lvqrpsasgr3jan8l6yfhvcv628jayk2x-busybox-static-x86_64-unknown-linux-musl-1.32.1 ./store/nizz9fc4wd7qs916x9y343rg80vya4hp-curl-7.76.1 ./store/nprym6lf8lzhp1irb42lb4vp8069l5rj-glibc-2.32-54 ./store/nxkcjcdb9bfh9fvili44b6g2all08vr3-libunistring-0.9.10 ./store/paqfl70z4zxip8lvpsijbspi0y2wzg4i-gcc-10.3.0-lib ./store/pjcrnw6yk4y7793yxz231nslq3ar31lj-aws-c-cal-0.4.5 ./store/pla78sns8gz0l0picyajgmgrcfp4m2k5-libssh2-1.9.0 ./store/r8ba12j6x2771jd1q252xgq2iflcrw3g-xz-5.2.5 ./store/sg1nhv53f5skcb20566kpr8jqfv7cnjl-libarchive-3.5.2-lib ./store/vxnh0p57lh7xvsbvd6mr7rb7dmk6j2la-acl-2.3.0 ./store/whfwl7jbf4n45zxa9rl53d4hdwx67abn-libseccomp-2.5.1-lib ./store/wr80zn4fj1h4a0mqrqdqayk11p8cr3di-openssl-1.1.1l-dev ./store/x8lng14s9w4qpasdcqj3zlfaf6ajnlkq-aws-c-event-stream-0.2.7 ./store/y41s1vcn0irn9ahn9wh62yx2cygs7qjj-coreutils-8.32 ./store/yyc3wki6rx2kfhfa7vg37rk1zgxzwpc0-s2n-tls-1.0.0 ./store/zix9d9fqc4k1jn6gc6510c25irnziav1-bzip2-1.0.6.0.2 /nix/store/

to copy the basic Nix files to the new store at /nix/store

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo chmod -R ugo-w /nix/store/

to make the new store non-writable at /nix/store

      Alright! We have our first nix at /nix/store/6mjgljq8sm9bsz6k22as5ar3jw78644m-nix-2.8.1

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo /nix/store/6mjgljq8sm9bsz6k22as5ar3jw78644m-nix-2.8.1/bin/nix-store --load-db

to load data for the first time in to the Nix Database

      Just finished getting the nix database ready.

~~> Setting up shell profiles: /etc/bashrc /etc/profile.d/nix.sh /etc/zshrc /etc/bash.bashrc /etc/zsh/zshrc

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo cp /etc/bashrc /etc/bashrc.backup-before-nix

to back up your current /etc/bashrc to /etc/bashrc.backup-before-nix

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo tee -a /etc/bashrc

extend your /etc/bashrc with nix-daemon settings

# Nix
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
  . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi
# End Nix

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo touch /etc/profile.d/nix.sh

to create a stub /etc/profile.d/nix.sh which will be updated

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo tee -a /etc/profile.d/nix.sh

extend your /etc/profile.d/nix.sh with nix-daemon settings

# Nix
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
  . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi
# End Nix

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo touch /etc/zshrc

to create a stub /etc/zshrc which will be updated

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo tee -a /etc/zshrc

extend your /etc/zshrc with nix-daemon settings

# Nix
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
  . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi
# End Nix

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo touch /etc/bash.bashrc

to create a stub /etc/bash.bashrc which will be updated

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo tee -a /etc/bash.bashrc

extend your /etc/bash.bashrc with nix-daemon settings

# Nix
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
  . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi
# End Nix

~~> Setting up the default profile

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo HOME=/root /nix/store/6mjgljq8sm9bsz6k22as5ar3jw78644m-nix-2.8.1/bin/nix-env -i /nix/store/6mjgljq8sm9bsz6k22as5ar3jw78644m-nix-2.8.1

to install a bootstrapping Nix in to the default profile

installing 'nix-2.8.1'
building '/nix/store/nm6hhmwxvyhyzdja261jp2y04kq4bmn1-user-environment.drv'...

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo HOME=/root /nix/store/6mjgljq8sm9bsz6k22as5ar3jw78644m-nix-2.8.1/bin/nix-env -i /nix/store/5qbx0wy48f55pybnii26428z24zh07ln-nss-cacert-3.66

to install a bootstrapping SSL certificate just for Nix in to the default profile

installing 'nss-cacert-3.66'
building '/nix/store/v1d4q2jiv4ypiv8xrzhpp5i34rs8cpyd-user-environment.drv'...

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo HOME=/root NIX_SSL_CERT_FILE=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt /nix/store/6mjgljq8sm9bsz6k22as5ar3jw78644m-nix-2.8.1/bin/nix-channel --update nixpkgs

to update the default channel in the default profile

unpacking channels...

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo install -m 0664 /tmp/tmp.CguYKKGw1b/nix.conf /etc/nix/nix.conf

to place the default nix daemon configuration (part 2)

~~> Setting up the nix-daemon systemd service

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo ln -sfn /nix/var/nix/profiles/default//lib/tmpfiles.d/nix-daemon.conf /etc/tmpfiles.d/nix-daemon.conf

to create the nix-daemon tmpfiles config

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo systemd-tmpfiles --create --prefix=/nix/var/nix

to run systemd-tmpfiles once to pick that path up

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo systemctl link /nix/var/nix/profiles/default/lib/systemd/system/nix-daemon.service

to set up the nix-daemon service

Failed to link unit: Access denied

---- oh no! --------------------------------------------------------------------
Jeeze, something went wrong. If you can take all the output and open
an issue, we'd love to fix the problem so nobody else has this issue.

:(

We'd love to help if you need it.

You can open an issue at https://github.com/nixos/nix/issues

Or feel free to contact the team:
 - Matrix: #nix:nixos.org
 - IRC: in #nixos on irc.libera.chat
 - twitter: @nixos_org
 - forum: https://discourse.nixos.org```
thufschmitt commented 2 years ago

I suspect this is the same SELinux-related issue as https://github.com/NixOS/nix/issues/2374

Afaict there’s only two solutions yet

shipaviu commented 2 years ago

@thufschmitt Thank you! I'll do that.

The single user installation is working