Size: a a a

2020 October 26

G

GNU/Cab in NixOS
источник

AS

Alexey Shmalko in NixOS
done
источник

G

GNU/Cab in NixOS
источник

АБ

Александр Бантьев... in NixOS
Я даже скомпилировать не успел
источник

И

Ильфат in NixOS
Как заставить  systemd-nspawn работать?
источник

SU

Sir Updatesalot in NixOS
Ильфат
Как заставить  systemd-nspawn работать?
у меня сейчас так
{config, pkgs, ...}:
{
 systemd.services."systemd-nspawn@archlinux".enable = true;
 systemd.targets.machines.enable = true;

 systemd.nspawn.archlinux = {
   enable = true;    
   wantedBy = [ "machines.target" ];
   execConfig = {
     Boot = true;
     LimitCPU = "150%";
     PrivateUsers = "pick";
   };
   filesConfig.Bind = ["/media/storage/buildbot/packages:/output"];
   networkConfig.VirtualEthernet = false;
 };
}
источник

И

Ильфат in NixOS
Sir Updatesalot
у меня сейчас так
{config, pkgs, ...}:
{
 systemd.services."systemd-nspawn@archlinux".enable = true;
 systemd.targets.machines.enable = true;

 systemd.nspawn.archlinux = {
   enable = true;    
   wantedBy = [ "machines.target" ];
   execConfig = {
     Boot = true;
     LimitCPU = "150%";
     PrivateUsers = "pick";
   };
   filesConfig.Bind = ["/media/storage/buildbot/packages:/output"];
   networkConfig.VirtualEthernet = false;
 };
}
Да не, я просто хотел зачрутиться в систему, а systemd-nspawn ничего не знает про концепцию:
Spawning container neon on /run/media/ilfat/KDE-neon.
Press ^] three times within 1s to kill container.
/etc/localtime does not point into /usr/share/zoneinfo/, not updating container timezone.
-bash: groups: command not found
Command 'lesspipe' is available in the following places
* /bin/lesspipe
* /usr/bin/lesspipe
The command could not be located because '/usr/bin:/bin' is not included in the PATH environment variable.
lesspipe: command not found
Command 'dircolors' is available in the following places
* /bin/dircolors
* /usr/bin/dircolors
The command could not be located because '/usr/bin:/bin' is not included in the PATH environment variable.
dircolors: command not found
источник

SU

Sir Updatesalot in NixOS
Ильфат
Да не, я просто хотел зачрутиться в систему, а systemd-nspawn ничего не знает про концепцию:
Spawning container neon on /run/media/ilfat/KDE-neon.
Press ^] three times within 1s to kill container.
/etc/localtime does not point into /usr/share/zoneinfo/, not updating container timezone.
-bash: groups: command not found
Command 'lesspipe' is available in the following places
* /bin/lesspipe
* /usr/bin/lesspipe
The command could not be located because '/usr/bin:/bin' is not included in the PATH environment variable.
lesspipe: command not found
Command 'dircolors' is available in the following places
* /bin/dircolors
* /usr/bin/dircolors
The command could not be located because '/usr/bin:/bin' is not included in the PATH environment variable.
dircolors: command not found
попробуй флаг -b чтобы прогнать его через загрузку
источник

И

Ильфат in NixOS
Sir Updatesalot
попробуй флаг -b чтобы прогнать его через загрузку
Так тоже пробовал, но в этом случае у юзера sudo не работает
источник

SU

Sir Updatesalot in NixOS
Ильфат
Так тоже пробовал, но в этом случае у юзера sudo не работает
проверь suid у sudo
источник

И

Ильфат in NixOS
Sir Updatesalot
проверь suid у sudo
-rwsr-xr-x 1 root root 166056 июл 15 03:17 /bin/sudo
источник

И

Ильфат in NixOS
Sir Updatesalot
проверь suid у sudo
sudo: эффективный uid не равен 0, возможно, /usr/bin/sudo находится в файловой системе, смонтированной с битом «nosuid» или в файловой системе NFS без прав суперпользователя?
источник

И

Ильфат in NixOS
Sir Updatesalot
проверь suid у sudo
А, все понял. Я через Долфин монтировал, а через него по умолчанию с nosud монтируется:
/dev/sda5 on /run/media/ilfat/KDE-neon type ext4 (rw,nosuid,nodev,relatime,uhelper=udisks2)
источник

И

Ильфат in NixOS
@sirupdatesalot Спасибо
источник

И

Ильфат in NixOS
Ильфат
Да не, я просто хотел зачрутиться в систему, а systemd-nspawn ничего не знает про концепцию:
Spawning container neon on /run/media/ilfat/KDE-neon.
Press ^] three times within 1s to kill container.
/etc/localtime does not point into /usr/share/zoneinfo/, not updating container timezone.
-bash: groups: command not found
Command 'lesspipe' is available in the following places
* /bin/lesspipe
* /usr/bin/lesspipe
The command could not be located because '/usr/bin:/bin' is not included in the PATH environment variable.
lesspipe: command not found
Command 'dircolors' is available in the following places
* /bin/dircolors
* /usr/bin/dircolors
The command could not be located because '/usr/bin:/bin' is not included in the PATH environment variable.
dircolors: command not found
Интересно много еще таких сюрпризов в NixOS?
источник

MG

Misha Gusarov in NixOS
Linux сложный. Фичи взаимодействуют неожиданным образом.
источник

SU

Sir Updatesalot in NixOS
источник

АБ

Александр Бантьев... in NixOS
Ильфат
Интересно много еще таких сюрпризов в NixOS?
А причем тут nixos?
источник

АБ

Александр Бантьев... in NixOS
но сюрпризов много, да
источник

И

Ильфат in NixOS
Александр Бантьев
А причем тут nixos?
Не причем?
источник