Cześć,
Zgodnie z zaleceniami Qnap przesiadłem się z LXC na LXD wszystko poszło bez problemu niestety po jakimś czasie po zalogowaniu się na kontener dostaje takiego typu błędy z uprawnieniami:
lxc exec Calibre -- /bin/bash
bash: /root/.bashrc: Permission denied
root@Calibre:/# apt update
Reading package lists... Done
W: chown to _apt:root of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
W: chown to _apt:root of directory /var/lib/apt/lists/auxfiles failed - SetupAPTPartialDirectory (1: Operation not permitted)
W: chmod 0755 of directory /var/lib/apt/lists/auxfiles failed - SetupAPTPartialDirectory (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
Zainstalowanie nowego systemu rozwiązuje sprawę na jakiś czas
System na kontenerze:
Debian
Marcin
Zgodnie z zaleceniami Qnap przesiadłem się z LXC na LXD wszystko poszło bez problemu niestety po jakimś czasie po zalogowaniu się na kontener dostaje takiego typu błędy z uprawnieniami:
lxc exec Calibre -- /bin/bash
bash: /root/.bashrc: Permission denied
root@Calibre:/# apt update
Reading package lists... Done
W: chown to _apt:root of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
W: chown to _apt:root of directory /var/lib/apt/lists/auxfiles failed - SetupAPTPartialDirectory (1: Operation not permitted)
W: chmod 0755 of directory /var/lib/apt/lists/auxfiles failed - SetupAPTPartialDirectory (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
Zainstalowanie nowego systemu rozwiązuje sprawę na jakiś czas
System na kontenerze:
Debian
Marcin