Fedora 37 시스템에 Nix 패키지 관리자를 설치하려고 합니다. 설치 스크립트를 사용하여 Fedora 및 기타 운영 체제에 Selinux를 사용하여 Nix를 설치하는 방법에 대한 몇 가지 질문을 읽은 후 "nix-installers" rpm 패키지를 통해 설치하기로 결정했습니다.
새 쉘을 시작하고 nix를 사용해 보면 모든 것이 잘 작동합니다. 그러나 컴퓨터를 다시 시작했을 때 Gnome Shell에 로그인하는 대신 검은색 화면이 깜박이고 더 이상 작동하지 않았습니다. 가상 셸을 전환하려고 하면 Alt + F2
1초 동안 로그인된 것으로 표시되었다가 다시 검은색 깜박이는 화면으로 전환됩니다.
Fedora 37에 nix를 설치한 사람이 있거나 문제의 원인이 무엇인지 조언을 줄 수 있는 사람이 있습니까?
이것이 문제와 관련이 있다고 생각하지 않지만 설치 중에 설치 전반에 걸쳐 생성되는 uid가 범위를 벗어났다는 경고가 표시됩니다 SYS_UID_MAX 999
(아래 로그 참조). 그럼에도 불구하고 설치 후 내 OS에 사용자가 생성되어 존재합니다.
경고 자체가 알려진 문제인 것 같습니다(https://github.com/nix-community/nix-installers/issues/16).
설치 중에 기록된 내용:
sudo dnf localinstall ./nix-multi-user-2.9.1.rpm
[sudo] Passwort für firestarter:
Letzte Prüfung auf abgelaufene Metadaten: vor 0:43:30 am Mo 06 Feb 2023 19:33:24 CET.
Abhängigkeiten sind aufgelöst.
=====================================================================================================================================
Paket Architektur Version Paketquelle Größe
=====================================================================================================================================
Installieren:
nix-multi-user x86_64 2.9.1-1 @commandline 40 M
Transaktionszusammenfassung
=====================================================================================================================================
Installieren 1 Paket
Gesamtgröße: 40 M
Installationsgröße: 40 M
Ist dies in Ordnung? [j/N]: j
Pakete werden heruntergeladen:
Transaktionsüberprüfung wird ausgeführt
Transaktionsüberprüfung war erfolgreich.
Transaktion wird getestet
Transaktionstest war erfolgreich.
Transaktion wird ausgeführt
Vorbereitung läuft : 1/1
Installieren : nix-multi-user-2.9.1-1.x86_64 1/1
Ausgeführtes Scriptlet: nix-multi-user-2.9.1-1.x86_64 1/1
useradd warning: nixbld1's uid 30001 is greater than SYS_UID_MAX 999
useradd warning: nixbld2's uid 30002 is greater than SYS_UID_MAX 999
useradd warning: nixbld3's uid 30003 is greater than SYS_UID_MAX 999
useradd warning: nixbld4's uid 30004 is greater than SYS_UID_MAX 999
useradd warning: nixbld5's uid 30005 is greater than SYS_UID_MAX 999
useradd warning: nixbld6's uid 30006 is greater than SYS_UID_MAX 999
useradd warning: nixbld7's uid 30007 is greater than SYS_UID_MAX 999
useradd warning: nixbld8's uid 30008 is greater than SYS_UID_MAX 999
useradd warning: nixbld9's uid 30009 is greater than SYS_UID_MAX 999
useradd warning: nixbld10's uid 30010 is greater than SYS_UID_MAX 999
useradd warning: nixbld11's uid 30011 is greater than SYS_UID_MAX 999
useradd warning: nixbld12's uid 30012 is greater than SYS_UID_MAX 999
useradd warning: nixbld13's uid 30013 is greater than SYS_UID_MAX 999
useradd warning: nixbld14's uid 30014 is greater than SYS_UID_MAX 999
useradd warning: nixbld15's uid 30015 is greater than SYS_UID_MAX 999
useradd warning: nixbld16's uid 30016 is greater than SYS_UID_MAX 999
useradd warning: nixbld17's uid 30017 is greater than SYS_UID_MAX 999
useradd warning: nixbld18's uid 30018 is greater than SYS_UID_MAX 999
useradd warning: nixbld19's uid 30019 is greater than SYS_UID_MAX 999
useradd warning: nixbld20's uid 30020 is greater than SYS_UID_MAX 999
useradd warning: nixbld21's uid 30021 is greater than SYS_UID_MAX 999
useradd warning: nixbld22's uid 30022 is greater than SYS_UID_MAX 999
useradd warning: nixbld23's uid 30023 is greater than SYS_UID_MAX 999
useradd warning: nixbld24's uid 30024 is greater than SYS_UID_MAX 999
useradd warning: nixbld25's uid 30025 is greater than SYS_UID_MAX 999
useradd warning: nixbld26's uid 30026 is greater than SYS_UID_MAX 999
useradd warning: nixbld27's uid 30027 is greater than SYS_UID_MAX 999
useradd warning: nixbld28's uid 30028 is greater than SYS_UID_MAX 999
useradd warning: nixbld29's uid 30029 is greater than SYS_UID_MAX 999
useradd warning: nixbld30's uid 30030 is greater than SYS_UID_MAX 999
useradd warning: nixbld31's uid 30031 is greater than SYS_UID_MAX 999
useradd warning: nixbld32's uid 30032 is greater than SYS_UID_MAX 999
Created symlink /etc/systemd/system/multi-user.target.wants/nix-daemon.service → /usr/lib/systemd/system/nix-daemon.service.
Überprüfung läuft : nix-multi-user-2.9.1-1.x86_64 1/1
Installiert:
nix-multi-user-2.9.1-1.x86_64
Fertig!