bastille icon indicating copy to clipboard operation
bastille copied to clipboard

Permissions error on Debian /var/log/journal [BUG]

Open paul-hammant opened this issue 2 years ago • 0 comments

I created a jailed Debian bullseye using bastille-create.

I console in and apt update then apt upgrade and I'm told:

# apt upgrade 
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
#E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)
Setting up systemd (247.3-7+deb11u4) ...
Failed to re-open '/var/log/journal': Permission denied
dpkg: error processing package systemd (--configure):
 installed systemd package post-installation script subprocess returned error exit status 73
Errors were encountered while processing:
 systemd
E: Sub-process /usr/bin/dpkg returned an error code (1)

Is there some chmod/own needed in bastille-create for debian bullseye and above?

paul-hammant avatar Mar 14 '24 13:03 paul-hammant