[GH-ISSUE #6797] ci: test: Error fcopy: invalid ownership for file /etc/localtime #3375

Closed
opened 2026-05-05 09:56:56 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @kmk3 on GitHub (Jul 2, 2025).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6797

Description

The following CI jobs are broken:

  • test-fs
  • test-environment
  • test-network

They seem to have been broken by a runner image upgrade rather than a code
change, as re-runs of old commits now produce the same error.

Last known working run:

First known broken run:

Log

From https://github.com/netblue30/firejail/actions/runs/15803186834/job/44544351138:

test-fs (working)

##[group]Run make test-private-etc
make test-private-etc
shell: /usr/bin/bash -e {0}
env:
  SHELL: /bin/bash
##[endgroup]
make -C test private-etc
make[1]: Entering directory '/home/runner/work/firejail/firejail/test'
cd private-etc && ./private-etc.sh 2>&1 | tee private-etc.log
TESTING: private-etc (test/private-etc/private-etc.exp)
spawn /bin/bash
firejail --private-etc=passwd,group,resolv.conf,X11
runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ 
<firejail --private-etc=passwd,group,resolv.conf,X11
Reading profile /etc/firejail/default.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/landlock-common.inc

** Note: you can use --noprofile to disable default.profile **

firejail version 0.9.75

Parent pid 4572, child pid 4573
Private /etc installed in 200.27 ms
Base filesystem installed in 65.45 ms
firejail /bin/bash
Child process initialized in 305.05 ms
runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ 
<ail/firejail/test/private-etc$ LC_ALL=C ls -al /etc
total 108
drwxr-xr-x  7 nobody nogroup   400 Jun 22 05:09 .
drwxr-xr-x 21 nobody nogroup  4096 Jun 22 05:03 ..
drwxr-xr-x  7 nobody nogroup   220 Jun 22 05:09 X11
drwxr-xr-x  2 nobody nogroup 11200 Jun 22 05:09 alternatives
drwxr-xr-x  4 nobody nogroup   100 Jun 22 05:09 fonts
-rw-r--r--  1 nobody nogroup   922 Jun 22 05:09 group
-rw-r--r--  1 nobody nogroup    11 Jun 22 05:09 hostname
-rw-r--r--  1 nobody nogroup   273 Jun 22 05:09 hosts
-rw-r--r--  1 nobody nogroup 46504 Jun 22 05:09 ld.so.cache
-rw-r--r--  1 nobody nogroup    34 Jun 22 05:09 ld.so.conf
drwxr-xr-x  2 nobody nogroup   120 Jun 22 05:09 ld.so.conf.d
-rw-r--r--  1 nobody nogroup  2996 Jun 22 05:09 locale.alias
-rwxrwxrwx  1 nobody nogroup   114 Jun 22 05:09 localtime
-rw-r--r--  1 nobody nogroup 10734 Jun 22 05:09 login.defs
-r--r--r--  1 nobody nogroup    33 Jun 22 05:09 machine-id
-rw-r--r--  1 nobody nogroup   510 Jun 22 05:09 nsswitch.conf
-rw-r--r--  1 nobody nogroup  2205 Jun 22 05:09 passwd
-rw-r--r--  1 nobody nogroup  2932 Jun 22 05:09 protocols
-rw-r--r--  1 nobody nogroup   970 Jun 22 05:09 resolv.conf
drwxr-xr-x  2 nobody nogroup    60 Jun 22 05:09 selinux
file /etc/shadow
runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ 
<irejail/firejail/test/private-etc$ file /etc/shadow
/etc/shadow: cannot open `/etc/shadow' (No such file or directory)
runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ exit
exit

Parent is shutting down, bye...
runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ 
<ail/test/private-etc$ firejail --private-etc=shadow
Reading profile /etc/firejail/default.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/landlock-common.inc

** Note: you can use --noprofile to disable default.profile **

firejail version 0.9.75

Parent pid 4604, child pid 4605
Error: invalid file type, /etc/shadow.
Error: proc 4604 cannot sync with peer: unexpected EOF
Peer 4605 unexpectedly exited with status 1
runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ 
</test/private-etc$ firejail --private-etc="bla;bla"
Reading profile /etc/firejail/default.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/landlock-common.inc

** Note: you can use --noprofile to disable default.profile **

firejail version 0.9.75

Parent pid 4626, child pid 4627
Error: "bla;bla" is an invalid filename: rejected character: ";"
Error: proc 4626 cannot sync with peer: unexpected EOF
Peer 4627 unexpectedly exited with status 1
runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ 
</test/private-etc$ firejail --private-etc=../bin/ls
Reading profile /etc/firejail/default.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/landlock-common.inc

** Note: you can use --noprofile to disable default.profile **

firejail version 0.9.75

Parent pid 4648, child pid 4649
Error: "../bin/ls" is an invalid filename

all done

TESTING: profile (test/private-etc/profile.exp)
spawn /bin/bash
firejail --private-etc=passwd,group,resolv.conf,X11
runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ 
<firejail --private-etc=passwd,group,resolv.conf,X11
Reading profile /etc/firejail/default.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/landlock-common.inc

** Note: you can use --noprofile to disable default.profile **

firejail version 0.9.75

Parent pid 4683, child pid 4684
Private /etc installed in 44.07 ms
Base filesystem installed in 58.90 ms
firejail /bin/bash
Child process initialized in 137.94 ms
runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ 
<ail/firejail/test/private-etc$ LC_ALL=C ls -al /etc
total 108
drwxr-xr-x  7 nobody nogroup   400 Jun 22 05:09 .
drwxr-xr-x 21 nobody nogroup  4096 Jun 22 05:03 ..
drwxr-xr-x  7 nobody nogroup   220 Jun 22 05:09 X11
drwxr-xr-x  2 nobody nogroup 11200 Jun 22 05:09 alternatives
drwxr-xr-x  4 nobody nogroup   100 Jun 22 05:09 fonts
-rw-r--r--  1 nobody nogroup   922 Jun 22 05:09 group
-rw-r--r--  1 nobody nogroup    11 Jun 22 05:09 hostname
-rw-r--r--  1 nobody nogroup   273 Jun 22 05:09 hosts
-rw-r--r--  1 nobody nogroup 46504 Jun 22 05:09 ld.so.cache
-rw-r--r--  1 nobody nogroup    34 Jun 22 05:09 ld.so.conf
drwxr-xr-x  2 nobody nogroup   120 Jun 22 05:09 ld.so.conf.d
-rw-r--r--  1 nobody nogroup  2996 Jun 22 05:09 locale.alias
-rwxrwxrwx  1 nobody nogroup   114 Jun 22 05:09 localtime
-rw-r--r--  1 nobody nogroup 10734 Jun 22 05:09 login.defs
-r--r--r--  1 nobody nogroup    33 Jun 22 05:09 machine-id
-rw-r--r--  1 nobody nogroup   510 Jun 22 05:09 nsswitch.conf
-rw-r--r--  1 nobody nogroup  2205 Jun 22 05:09 passwd
-rw-r--r--  1 nobody nogroup  2932 Jun 22 05:09 protocols
-rw-r--r--  1 nobody nogroup   970 Jun 22 05:09 resolv.conf
drwxr-xr-x  2 nobody nogroup    60 Jun 22 05:09 selinux
file /etc/shadow
runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ 
<irejail/firejail/test/private-etc$ file /etc/shadow
/etc/shadow: cannot open `/etc/shadow' (No such file or directory)
runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ exit
exit

Parent is shutting down, bye...
runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ 
<ail/test/private-etc$ firejail --private-etc=shadow
Reading profile /etc/firejail/default.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/landlock-common.inc

** Note: you can use --noprofile to disable default.profile **

firejail version 0.9.75

Parent pid 4714, child pid 4715
Error: invalid file type, /etc/shadow.
Error: proc 4714 cannot sync with peer: unexpected EOF
Peer 4715 unexpectedly exited with status 1
runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ 
</test/private-etc$ firejail --private-etc="bla;bla"
Reading profile /etc/firejail/default.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/landlock-common.inc

** Note: you can use --noprofile to disable default.profile **

firejail version 0.9.75

Parent pid 4736, child pid 4737
Error: "bla;bla" is an invalid filename: rejected character: ";"
Error: proc 4736 cannot sync with peer: unexpected EOF
Peer 4737 unexpectedly exited with status 1
runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ 
</test/private-etc$ firejail --private-etc=../bin/ls
Reading profile /etc/firejail/default.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/landlock-common.inc

** Note: you can use --noprofile to disable default.profile **

firejail version 0.9.75

Parent pid 4758, child pid 4759
Error: "../bin/ls" is an invalid filename

all done

TESTING: groups (test/private-etc/groups.exp)
spawn /bin/bash
firejail --private-etc ls -l /etc
runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ 
<test/private-etc$ firejail --private-etc ls -l /etc
Reading profile /etc/firejail/default.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/landlock-common.inc

** Note: you can use --noprofile to disable default.profile **

firejail version 0.9.75

Parent pid 4792, child pid 4793
Private /etc installed in 42.61 ms
Base filesystem installed in 58.90 ms
firejail ls -l /etc
Child process initialized in 136.42 ms
total 104
drwxr-xr-x 2 nobody nogroup 11200 Jun 22 05:09 alternatives
drwxr-xr-x 4 nobody nogroup   100 Jun 22 05:09 fonts
-rw-r--r-- 1 nobody nogroup   922 Jun 22 05:09 group
-rw-r--r-- 1 nobody nogroup     8 Jun 22 05:09 hostname
-rw-r--r-- 1 nobody nogroup   270 Jun 22 05:09 hosts
-rw-r--r-- 1 nobody nogroup 46504 Jun 22 05:09 ld.so.cache
-rw-r--r-- 1 nobody nogroup    34 Jun 22 05:09 ld.so.conf
drwxr-xr-x 2 nobody nogroup   120 Jun 22 05:09 ld.so.conf.d
-rw-r--r-- 1 nobody nogroup  2996 Jun 22 05:09 locale.alias
-rwxrwxrwx 1 nobody nogroup   114 Jun 22 05:09 localtime
-rw-r--r-- 1 nobody nogroup 10734 Jun 22 05:09 login.defs
-r--r--r-- 1 nobody nogroup    33 Jun 22 05:09 machine-id
-rw-r--r-- 1 nobody nogroup   510 Jun 22 05:09 nsswitch.conf
-rw-r--r-- 1 nobody nogroup  2205 Jun 22 05:09 passwd
-rw-r--r-- 1 nobody nogroup  2932 Jun 22 05:09 protocols
-rw-r--r-- 1 nobody nogroup   970 Jun 22 05:09 resolv.conf
drwxr-xr-x 2 nobody nogroup    60 Jun 22 05:09 selinux

Parent is shutting down, bye...
runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ 
<vate-etc$ firejail --private-etc=@tls-ca ls -l /etc
Reading profile /etc/firejail/default.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/landlock-common.inc

** Note: you can use --noprofile to disable default.profile **

firejail version 0.9.75

Parent pid 4815, child pid 4816
Private /etc installed in 106.94 ms
Base filesystem installed in 58.82 ms
firejail ls -l /etc
Child process initialized in 200.76 ms
total 104
drwxr-xr-x 2 nobody nogroup 11200 Jun 22 05:09 alternatives
drwxr-xr-x 3 nobody nogroup    60 Jun 22 05:09 ca-certificates
drwxr-xr-x 4 nobody nogroup   100 Jun 22 05:09 fonts
-rw-r--r-- 1 nobody nogroup   922 Jun 22 05:09 group
-rw-r--r-- 1 nobody nogroup    11 Jun 22 05:09 hostname
-rw-r--r-- 1 nobody nogroup   273 Jun 22 05:09 hosts
-rw-r--r-- 1 nobody nogroup 46504 Jun 22 05:09 ld.so.cache
-rw-r--r-- 1 nobody nogroup    34 Jun 22 05:09 ld.so.conf
drwxr-xr-x 2 nobody nogroup   120 Jun 22 05:09 ld.so.conf.d
-rw-r--r-- 1 nobody nogroup  2996 Jun 22 05:09 locale.alias
-rwxrwxrwx 1 nobody nogroup   114 Jun 22 05:09 localtime
-rw-r--r-- 1 nobody nogroup 10734 Jun 22 05:09 login.defs
-r--r--r-- 1 nobody nogroup    33 Jun 22 05:09 machine-id
-rw-r--r-- 1 nobody nogroup   510 Jun 22 05:09 nsswitch.conf
-rw-r--r-- 1 nobody nogroup  2205 Jun 22 05:09 passwd
-rw-r--r-- 1 nobody nogroup  2932 Jun 22 05:09 protocols
-rw-r--r-- 1 nobody nogroup   970 Jun 22 05:09 resolv.conf
drwxr-xr-x 2 nobody nogroup    60 Jun 22 05:09 selinux
drwxr-xr-x 4 nobody nogroup   100 Jun 22 05:09 ssl

Parent is shutting down, bye...
runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ 
<te-etc$ firejail --private-etc --nosound ls -l /etc
Reading profile /etc/firejail/default.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/landlock-common.inc

** Note: you can use --noprofile to disable default.profile **

firejail version 0.9.75

Parent pid 4842, child pid 4843
Private /etc installed in 41.10 ms
Base filesystem installed in 59.12 ms
firejail ls -l /etc
Child process initialized in 133.87 ms
total 100
drwxr-xr-x 2 nobody nogroup 11200 Jun 22 05:09 alternatives
drwxr-xr-x 4 nobody nogroup   100 Jun 22 05:09 fonts
-rw-r--r-- 1 nobody nogroup   922 Jun 22 05:09 group
-rw-r--r-- 1 nobody nogroup    10 Jun 22 05:09 hostname
-rw-r--r-- 1 nobody nogroup   272 Jun 22 05:09 hosts
-rw-r--r-- 1 nobody nogroup 46504 Jun 22 05:09 ld.so.cache
-rw-r--r-- 1 nobody nogroup    34 Jun 22 05:09 ld.so.conf
drwxr-xr-x 2 nobody nogroup   120 Jun 22 05:09 ld.so.conf.d
-rw-r--r-- 1 nobody nogroup  2996 Jun 22 05:09 locale.alias
-rwxrwxrwx 1 nobody nogroup   114 Jun 22 05:09 localtime
-rw-r--r-- 1 nobody nogroup 10734 Jun 22 05:09 login.defs
-rw-r--r-- 1 nobody nogroup   510 Jun 22 05:09 nsswitch.conf
-rw-r--r-- 1 nobody nogroup  2205 Jun 22 05:09 passwd
-rw-r--r-- 1 nobody nogroup  2932 Jun 22 05:09 protocols
-rw-r--r-- 1 nobody nogroup   970 Jun 22 05:09 resolv.conf
drwxr-xr-x 2 nobody nogroup    60 Jun 22 05:09 selinux

Parent is shutting down, bye...
runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ 
<e-etc$ firejail --private-etc --net=none ls -l /etc
Reading profile /etc/firejail/default.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/landlock-common.inc

** Note: you can use --noprofile to disable default.profile **

firejail version 0.9.75

Parent pid 4864, child pid 4865
Private /etc installed in 37.34 ms
Base filesystem installed in 58.87 ms
firejail ls -l /etc
Child process initialized in 143.20 ms
total 88
drwxr-xr-x 2 nobody nogroup 11200 Jun 22 05:09 alternatives
drwxr-xr-x 4 nobody nogroup   100 Jun 22 05:09 fonts
-rw-r--r-- 1 nobody nogroup   922 Jun 22 05:09 group
-rw-r--r-- 1 nobody nogroup 46504 Jun 22 05:09 ld.so.cache
-rw-r--r-- 1 nobody nogroup    34 Jun 22 05:09 ld.so.conf
drwxr-xr-x 2 nobody nogroup   120 Jun 22 05:09 ld.so.conf.d
-rw-r--r-- 1 nobody nogroup  2996 Jun 22 05:09 locale.alias
-rwxrwxrwx 1 nobody nogroup   114 Jun 22 05:09 localtime
-rw-r--r-- 1 nobody nogroup 10734 Jun 22 05:09 login.defs
-r--r--r-- 1 nobody nogroup    33 Jun 22 05:09 machine-id
-rw-r--r-- 1 nobody nogroup   510 Jun 22 05:09 nsswitch.conf
-rw-r--r-- 1 nobody nogroup  2205 Jun 22 05:09 passwd
drwxr-xr-x 2 nobody nogroup    60 Jun 22 05:09 selinux

Parent is shutting down, bye...
runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ 
<private-etc$ firejail --private-etc=@x11 ls -l /etc
Reading profile /etc/firejail/default.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/landlock-common.inc

** Note: you can use --noprofile to disable default.profile **

firejail version 0.9.75

Parent pid 4884, child pid 4885
Private /etc installed in 455.59 ms
Base filesystem installed in 58.81 ms
firejail ls -l /etc
Child process initialized in 549.43 ms
total 104
drwxr-xr-x 7 nobody nogroup   220 Jun 22 05:09 X11
drwxr-xr-x 2 nobody nogroup 11200 Jun 22 05:09 alternatives
drwxr-xr-x 3 nobody nogroup    60 Jun 22 05:09 dconf
drwxr-xr-x 4 nobody nogroup   100 Jun 22 05:09 fonts
-rw-r--r-- 1 nobody nogroup   922 Jun 22 05:09 group
drwxr-xr-x 2 nobody nogroup    80 Jun 22 05:09 gtk-3.0
-rw-r--r-- 1 nobody nogroup    11 Jun 22 05:09 hostname
-rw-r--r-- 1 nobody nogroup   273 Jun 22 05:09 hosts
-rw-r--r-- 1 nobody nogroup 46504 Jun 22 05:09 ld.so.cache
-rw-r--r-- 1 nobody nogroup    34 Jun 22 05:09 ld.so.conf
drwxr-xr-x 2 nobody nogroup   120 Jun 22 05:09 ld.so.conf.d
-rw-r--r-- 1 nobody nogroup  2996 Jun 22 05:09 locale.alias
-rwxrwxrwx 1 nobody nogroup   114 Jun 22 05:09 localtime
-rw-r--r-- 1 nobody nogroup 10734 Jun 22 05:09 login.defs
-r--r--r-- 1 nobody nogroup    33 Jun 22 05:09 machine-id
-rw-r--r-- 1 nobody nogroup   510 Jun 22 05:09 nsswitch.conf
-rw-r--r-- 1 nobody nogroup  2205 Jun 22 05:09 passwd
-rw-r--r-- 1 nobody nogroup  2932 Jun 22 05:09 protocols
-rw-r--r-- 1 nobody nogroup   970 Jun 22 05:09 resolv.conf
drwxr-xr-x 2 nobody nogroup    60 Jun 22 05:09 selinux
drwxr-xr-x 5 nobody nogroup   100 Jun 22 05:09 vulkan
drwxr-xr-x 4 nobody nogroup   120 Jun 22 05:09 xdg

all done

TESTING: etc-cleanup (test/private-etc/etc-cleanup.exp)

From https://github.com/netblue30/firejail/actions/runs/15993200776/job/45132302849:

test-fs (broken)

##[group]Run make test-private-etc
make test-private-etc
shell: /usr/bin/bash -e {0}
env:
  SHELL: /bin/bash
##[endgroup]
make -C test private-etc
make[1]: Entering directory '/home/runner/work/firejail/firejail/test'
cd private-etc && ./private-etc.sh 2>&1 | tee private-etc.log
TESTING: private-etc (test/private-etc/private-etc.exp)
spawn /bin/bash
firejail --private-etc=passwd,group,resolv.conf,X11
runner@pkrvmdyo8zrnvmk:~/work/firejail/firejail/test/private-etc$ 
<firejail --private-etc=passwd,group,resolv.conf,X11
Reading profile /etc/firejail/default.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/landlock-common.inc

** Note: you can use --noprofile to disable default.profile **

firejail version 0.9.75

Parent pid 4426, child pid 4427
Error fcopy: invalid ownership for file /etc/localtime
Error: failed to run /run/firejail/lib/fcopy, exiting...
Error: proc 4426 cannot sync with peer: unexpected EOF
Peer 4427 unexpectedly exited with status 1
runner@pkrvmdyo8zrnvmk:~/work/firejail/firejail/test/private-etc$ TESTING ERROR 1

TESTING: profile (test/private-etc/profile.exp)
spawn /bin/bash
firejail --private-etc=passwd,group,resolv.conf,X11
runner@pkrvmdyo8zrnvmk:~/work/firejail/firejail/test/private-etc$ 
<firejail --private-etc=passwd,group,resolv.conf,X11
Reading profile /etc/firejail/default.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/landlock-common.inc

** Note: you can use --noprofile to disable default.profile **

firejail version 0.9.75

Parent pid 4463, child pid 4464
Error fcopy: invalid ownership for file /etc/localtime
Error: failed to run /run/firejail/lib/fcopy, exiting...
Error: proc 4463 cannot sync with peer: unexpected EOF
Peer 4464 unexpectedly exited with status 1
runner@pkrvmdyo8zrnvmk:~/work/firejail/firejail/test/private-etc$ TESTING ERROR 1

TESTING: groups (test/private-etc/groups.exp)
spawn /bin/bash
firejail --private-etc ls -l /etc
runner@pkrvmdyo8zrnvmk:~/work/firejail/firejail/test/private-etc$ 
<test/private-etc$ firejail --private-etc ls -l /etc
Reading profile /etc/firejail/default.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/landlock-common.inc

** Note: you can use --noprofile to disable default.profile **

firejail version 0.9.75

Parent pid 4501, child pid 4502
Error fcopy: invalid ownership for file /etc/localtime
Error: failed to run /run/firejail/lib/fcopy, exiting...
Error: proc 4501 cannot sync with peer: unexpected EOF
Peer 4502 unexpectedly exited with status 1
runner@pkrvmdyo8zrnvmk:~/work/firejail/firejail/test/private-etc$ TESTING ERROR 0

TESTING: etc-cleanup (test/private-etc/etc-cleanup.exp)

Relates to:

Originally created by @kmk3 on GitHub (Jul 2, 2025). Original GitHub issue: https://github.com/netblue30/firejail/issues/6797 ### Description The following CI jobs are broken: * test-fs * test-environment * test-network They seem to have been broken by a runner image upgrade rather than a code change, as re-runs of old commits now produce the same error. Last known working run: * URL: <https://github.com/netblue30/firejail/actions/runs/15803186834> * Commit: <https://github.com/netblue30/firejail/commit/7471a24b8f16dbc931971b3f522b5b90aa2fa75b> * Date: 2025-06-22 * Runner Image: * Image: ubuntu-22.04 * Version: 20250615.1.0 * Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20250615.1/images/ubuntu/Ubuntu2204-Readme.md * Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20250615.1 First known broken run: * URL: <https://github.com/netblue30/firejail/actions/runs/15993200776> * PR: <https://github.com/netblue30/firejail/pull/6794> * Date: 2025-07-01 * Runner Image: * Image: ubuntu-22.04 * Version: 20250622.1.0 * Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20250622.1/images/ubuntu/Ubuntu2204-Readme.md * Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20250622.1 ### Log From <https://github.com/netblue30/firejail/actions/runs/15803186834/job/44544351138>: <details> <summary>test-fs (working)</summary> <p> ``` ##[group]Run make test-private-etc make test-private-etc shell: /usr/bin/bash -e {0} env: SHELL: /bin/bash ##[endgroup] make -C test private-etc make[1]: Entering directory '/home/runner/work/firejail/firejail/test' cd private-etc && ./private-etc.sh 2>&1 | tee private-etc.log TESTING: private-etc (test/private-etc/private-etc.exp) spawn /bin/bash firejail --private-etc=passwd,group,resolv.conf,X11 runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ <firejail --private-etc=passwd,group,resolv.conf,X11 Reading profile /etc/firejail/default.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/landlock-common.inc ** Note: you can use --noprofile to disable default.profile ** firejail version 0.9.75 Parent pid 4572, child pid 4573 Private /etc installed in 200.27 ms Base filesystem installed in 65.45 ms firejail /bin/bash Child process initialized in 305.05 ms runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ <ail/firejail/test/private-etc$ LC_ALL=C ls -al /etc total 108 drwxr-xr-x 7 nobody nogroup 400 Jun 22 05:09 . drwxr-xr-x 21 nobody nogroup 4096 Jun 22 05:03 .. drwxr-xr-x 7 nobody nogroup 220 Jun 22 05:09 X11 drwxr-xr-x 2 nobody nogroup 11200 Jun 22 05:09 alternatives drwxr-xr-x 4 nobody nogroup 100 Jun 22 05:09 fonts -rw-r--r-- 1 nobody nogroup 922 Jun 22 05:09 group -rw-r--r-- 1 nobody nogroup 11 Jun 22 05:09 hostname -rw-r--r-- 1 nobody nogroup 273 Jun 22 05:09 hosts -rw-r--r-- 1 nobody nogroup 46504 Jun 22 05:09 ld.so.cache -rw-r--r-- 1 nobody nogroup 34 Jun 22 05:09 ld.so.conf drwxr-xr-x 2 nobody nogroup 120 Jun 22 05:09 ld.so.conf.d -rw-r--r-- 1 nobody nogroup 2996 Jun 22 05:09 locale.alias -rwxrwxrwx 1 nobody nogroup 114 Jun 22 05:09 localtime -rw-r--r-- 1 nobody nogroup 10734 Jun 22 05:09 login.defs -r--r--r-- 1 nobody nogroup 33 Jun 22 05:09 machine-id -rw-r--r-- 1 nobody nogroup 510 Jun 22 05:09 nsswitch.conf -rw-r--r-- 1 nobody nogroup 2205 Jun 22 05:09 passwd -rw-r--r-- 1 nobody nogroup 2932 Jun 22 05:09 protocols -rw-r--r-- 1 nobody nogroup 970 Jun 22 05:09 resolv.conf drwxr-xr-x 2 nobody nogroup 60 Jun 22 05:09 selinux file /etc/shadow runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ <irejail/firejail/test/private-etc$ file /etc/shadow /etc/shadow: cannot open `/etc/shadow' (No such file or directory) runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ exit exit Parent is shutting down, bye... runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ <ail/test/private-etc$ firejail --private-etc=shadow Reading profile /etc/firejail/default.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/landlock-common.inc ** Note: you can use --noprofile to disable default.profile ** firejail version 0.9.75 Parent pid 4604, child pid 4605 Error: invalid file type, /etc/shadow. Error: proc 4604 cannot sync with peer: unexpected EOF Peer 4605 unexpectedly exited with status 1 runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ </test/private-etc$ firejail --private-etc="bla;bla" Reading profile /etc/firejail/default.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/landlock-common.inc ** Note: you can use --noprofile to disable default.profile ** firejail version 0.9.75 Parent pid 4626, child pid 4627 Error: "bla;bla" is an invalid filename: rejected character: ";" Error: proc 4626 cannot sync with peer: unexpected EOF Peer 4627 unexpectedly exited with status 1 runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ </test/private-etc$ firejail --private-etc=../bin/ls Reading profile /etc/firejail/default.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/landlock-common.inc ** Note: you can use --noprofile to disable default.profile ** firejail version 0.9.75 Parent pid 4648, child pid 4649 Error: "../bin/ls" is an invalid filename all done TESTING: profile (test/private-etc/profile.exp) spawn /bin/bash firejail --private-etc=passwd,group,resolv.conf,X11 runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ <firejail --private-etc=passwd,group,resolv.conf,X11 Reading profile /etc/firejail/default.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/landlock-common.inc ** Note: you can use --noprofile to disable default.profile ** firejail version 0.9.75 Parent pid 4683, child pid 4684 Private /etc installed in 44.07 ms Base filesystem installed in 58.90 ms firejail /bin/bash Child process initialized in 137.94 ms runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ <ail/firejail/test/private-etc$ LC_ALL=C ls -al /etc total 108 drwxr-xr-x 7 nobody nogroup 400 Jun 22 05:09 . drwxr-xr-x 21 nobody nogroup 4096 Jun 22 05:03 .. drwxr-xr-x 7 nobody nogroup 220 Jun 22 05:09 X11 drwxr-xr-x 2 nobody nogroup 11200 Jun 22 05:09 alternatives drwxr-xr-x 4 nobody nogroup 100 Jun 22 05:09 fonts -rw-r--r-- 1 nobody nogroup 922 Jun 22 05:09 group -rw-r--r-- 1 nobody nogroup 11 Jun 22 05:09 hostname -rw-r--r-- 1 nobody nogroup 273 Jun 22 05:09 hosts -rw-r--r-- 1 nobody nogroup 46504 Jun 22 05:09 ld.so.cache -rw-r--r-- 1 nobody nogroup 34 Jun 22 05:09 ld.so.conf drwxr-xr-x 2 nobody nogroup 120 Jun 22 05:09 ld.so.conf.d -rw-r--r-- 1 nobody nogroup 2996 Jun 22 05:09 locale.alias -rwxrwxrwx 1 nobody nogroup 114 Jun 22 05:09 localtime -rw-r--r-- 1 nobody nogroup 10734 Jun 22 05:09 login.defs -r--r--r-- 1 nobody nogroup 33 Jun 22 05:09 machine-id -rw-r--r-- 1 nobody nogroup 510 Jun 22 05:09 nsswitch.conf -rw-r--r-- 1 nobody nogroup 2205 Jun 22 05:09 passwd -rw-r--r-- 1 nobody nogroup 2932 Jun 22 05:09 protocols -rw-r--r-- 1 nobody nogroup 970 Jun 22 05:09 resolv.conf drwxr-xr-x 2 nobody nogroup 60 Jun 22 05:09 selinux file /etc/shadow runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ <irejail/firejail/test/private-etc$ file /etc/shadow /etc/shadow: cannot open `/etc/shadow' (No such file or directory) runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ exit exit Parent is shutting down, bye... runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ <ail/test/private-etc$ firejail --private-etc=shadow Reading profile /etc/firejail/default.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/landlock-common.inc ** Note: you can use --noprofile to disable default.profile ** firejail version 0.9.75 Parent pid 4714, child pid 4715 Error: invalid file type, /etc/shadow. Error: proc 4714 cannot sync with peer: unexpected EOF Peer 4715 unexpectedly exited with status 1 runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ </test/private-etc$ firejail --private-etc="bla;bla" Reading profile /etc/firejail/default.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/landlock-common.inc ** Note: you can use --noprofile to disable default.profile ** firejail version 0.9.75 Parent pid 4736, child pid 4737 Error: "bla;bla" is an invalid filename: rejected character: ";" Error: proc 4736 cannot sync with peer: unexpected EOF Peer 4737 unexpectedly exited with status 1 runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ </test/private-etc$ firejail --private-etc=../bin/ls Reading profile /etc/firejail/default.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/landlock-common.inc ** Note: you can use --noprofile to disable default.profile ** firejail version 0.9.75 Parent pid 4758, child pid 4759 Error: "../bin/ls" is an invalid filename all done TESTING: groups (test/private-etc/groups.exp) spawn /bin/bash firejail --private-etc ls -l /etc runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ <test/private-etc$ firejail --private-etc ls -l /etc Reading profile /etc/firejail/default.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/landlock-common.inc ** Note: you can use --noprofile to disable default.profile ** firejail version 0.9.75 Parent pid 4792, child pid 4793 Private /etc installed in 42.61 ms Base filesystem installed in 58.90 ms firejail ls -l /etc Child process initialized in 136.42 ms total 104 drwxr-xr-x 2 nobody nogroup 11200 Jun 22 05:09 alternatives drwxr-xr-x 4 nobody nogroup 100 Jun 22 05:09 fonts -rw-r--r-- 1 nobody nogroup 922 Jun 22 05:09 group -rw-r--r-- 1 nobody nogroup 8 Jun 22 05:09 hostname -rw-r--r-- 1 nobody nogroup 270 Jun 22 05:09 hosts -rw-r--r-- 1 nobody nogroup 46504 Jun 22 05:09 ld.so.cache -rw-r--r-- 1 nobody nogroup 34 Jun 22 05:09 ld.so.conf drwxr-xr-x 2 nobody nogroup 120 Jun 22 05:09 ld.so.conf.d -rw-r--r-- 1 nobody nogroup 2996 Jun 22 05:09 locale.alias -rwxrwxrwx 1 nobody nogroup 114 Jun 22 05:09 localtime -rw-r--r-- 1 nobody nogroup 10734 Jun 22 05:09 login.defs -r--r--r-- 1 nobody nogroup 33 Jun 22 05:09 machine-id -rw-r--r-- 1 nobody nogroup 510 Jun 22 05:09 nsswitch.conf -rw-r--r-- 1 nobody nogroup 2205 Jun 22 05:09 passwd -rw-r--r-- 1 nobody nogroup 2932 Jun 22 05:09 protocols -rw-r--r-- 1 nobody nogroup 970 Jun 22 05:09 resolv.conf drwxr-xr-x 2 nobody nogroup 60 Jun 22 05:09 selinux Parent is shutting down, bye... runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ <vate-etc$ firejail --private-etc=@tls-ca ls -l /etc Reading profile /etc/firejail/default.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/landlock-common.inc ** Note: you can use --noprofile to disable default.profile ** firejail version 0.9.75 Parent pid 4815, child pid 4816 Private /etc installed in 106.94 ms Base filesystem installed in 58.82 ms firejail ls -l /etc Child process initialized in 200.76 ms total 104 drwxr-xr-x 2 nobody nogroup 11200 Jun 22 05:09 alternatives drwxr-xr-x 3 nobody nogroup 60 Jun 22 05:09 ca-certificates drwxr-xr-x 4 nobody nogroup 100 Jun 22 05:09 fonts -rw-r--r-- 1 nobody nogroup 922 Jun 22 05:09 group -rw-r--r-- 1 nobody nogroup 11 Jun 22 05:09 hostname -rw-r--r-- 1 nobody nogroup 273 Jun 22 05:09 hosts -rw-r--r-- 1 nobody nogroup 46504 Jun 22 05:09 ld.so.cache -rw-r--r-- 1 nobody nogroup 34 Jun 22 05:09 ld.so.conf drwxr-xr-x 2 nobody nogroup 120 Jun 22 05:09 ld.so.conf.d -rw-r--r-- 1 nobody nogroup 2996 Jun 22 05:09 locale.alias -rwxrwxrwx 1 nobody nogroup 114 Jun 22 05:09 localtime -rw-r--r-- 1 nobody nogroup 10734 Jun 22 05:09 login.defs -r--r--r-- 1 nobody nogroup 33 Jun 22 05:09 machine-id -rw-r--r-- 1 nobody nogroup 510 Jun 22 05:09 nsswitch.conf -rw-r--r-- 1 nobody nogroup 2205 Jun 22 05:09 passwd -rw-r--r-- 1 nobody nogroup 2932 Jun 22 05:09 protocols -rw-r--r-- 1 nobody nogroup 970 Jun 22 05:09 resolv.conf drwxr-xr-x 2 nobody nogroup 60 Jun 22 05:09 selinux drwxr-xr-x 4 nobody nogroup 100 Jun 22 05:09 ssl Parent is shutting down, bye... runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ <te-etc$ firejail --private-etc --nosound ls -l /etc Reading profile /etc/firejail/default.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/landlock-common.inc ** Note: you can use --noprofile to disable default.profile ** firejail version 0.9.75 Parent pid 4842, child pid 4843 Private /etc installed in 41.10 ms Base filesystem installed in 59.12 ms firejail ls -l /etc Child process initialized in 133.87 ms total 100 drwxr-xr-x 2 nobody nogroup 11200 Jun 22 05:09 alternatives drwxr-xr-x 4 nobody nogroup 100 Jun 22 05:09 fonts -rw-r--r-- 1 nobody nogroup 922 Jun 22 05:09 group -rw-r--r-- 1 nobody nogroup 10 Jun 22 05:09 hostname -rw-r--r-- 1 nobody nogroup 272 Jun 22 05:09 hosts -rw-r--r-- 1 nobody nogroup 46504 Jun 22 05:09 ld.so.cache -rw-r--r-- 1 nobody nogroup 34 Jun 22 05:09 ld.so.conf drwxr-xr-x 2 nobody nogroup 120 Jun 22 05:09 ld.so.conf.d -rw-r--r-- 1 nobody nogroup 2996 Jun 22 05:09 locale.alias -rwxrwxrwx 1 nobody nogroup 114 Jun 22 05:09 localtime -rw-r--r-- 1 nobody nogroup 10734 Jun 22 05:09 login.defs -rw-r--r-- 1 nobody nogroup 510 Jun 22 05:09 nsswitch.conf -rw-r--r-- 1 nobody nogroup 2205 Jun 22 05:09 passwd -rw-r--r-- 1 nobody nogroup 2932 Jun 22 05:09 protocols -rw-r--r-- 1 nobody nogroup 970 Jun 22 05:09 resolv.conf drwxr-xr-x 2 nobody nogroup 60 Jun 22 05:09 selinux Parent is shutting down, bye... runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ <e-etc$ firejail --private-etc --net=none ls -l /etc Reading profile /etc/firejail/default.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/landlock-common.inc ** Note: you can use --noprofile to disable default.profile ** firejail version 0.9.75 Parent pid 4864, child pid 4865 Private /etc installed in 37.34 ms Base filesystem installed in 58.87 ms firejail ls -l /etc Child process initialized in 143.20 ms total 88 drwxr-xr-x 2 nobody nogroup 11200 Jun 22 05:09 alternatives drwxr-xr-x 4 nobody nogroup 100 Jun 22 05:09 fonts -rw-r--r-- 1 nobody nogroup 922 Jun 22 05:09 group -rw-r--r-- 1 nobody nogroup 46504 Jun 22 05:09 ld.so.cache -rw-r--r-- 1 nobody nogroup 34 Jun 22 05:09 ld.so.conf drwxr-xr-x 2 nobody nogroup 120 Jun 22 05:09 ld.so.conf.d -rw-r--r-- 1 nobody nogroup 2996 Jun 22 05:09 locale.alias -rwxrwxrwx 1 nobody nogroup 114 Jun 22 05:09 localtime -rw-r--r-- 1 nobody nogroup 10734 Jun 22 05:09 login.defs -r--r--r-- 1 nobody nogroup 33 Jun 22 05:09 machine-id -rw-r--r-- 1 nobody nogroup 510 Jun 22 05:09 nsswitch.conf -rw-r--r-- 1 nobody nogroup 2205 Jun 22 05:09 passwd drwxr-xr-x 2 nobody nogroup 60 Jun 22 05:09 selinux Parent is shutting down, bye... runner@fv-az520-904:~/work/firejail/firejail/test/private-etc$ <private-etc$ firejail --private-etc=@x11 ls -l /etc Reading profile /etc/firejail/default.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/landlock-common.inc ** Note: you can use --noprofile to disable default.profile ** firejail version 0.9.75 Parent pid 4884, child pid 4885 Private /etc installed in 455.59 ms Base filesystem installed in 58.81 ms firejail ls -l /etc Child process initialized in 549.43 ms total 104 drwxr-xr-x 7 nobody nogroup 220 Jun 22 05:09 X11 drwxr-xr-x 2 nobody nogroup 11200 Jun 22 05:09 alternatives drwxr-xr-x 3 nobody nogroup 60 Jun 22 05:09 dconf drwxr-xr-x 4 nobody nogroup 100 Jun 22 05:09 fonts -rw-r--r-- 1 nobody nogroup 922 Jun 22 05:09 group drwxr-xr-x 2 nobody nogroup 80 Jun 22 05:09 gtk-3.0 -rw-r--r-- 1 nobody nogroup 11 Jun 22 05:09 hostname -rw-r--r-- 1 nobody nogroup 273 Jun 22 05:09 hosts -rw-r--r-- 1 nobody nogroup 46504 Jun 22 05:09 ld.so.cache -rw-r--r-- 1 nobody nogroup 34 Jun 22 05:09 ld.so.conf drwxr-xr-x 2 nobody nogroup 120 Jun 22 05:09 ld.so.conf.d -rw-r--r-- 1 nobody nogroup 2996 Jun 22 05:09 locale.alias -rwxrwxrwx 1 nobody nogroup 114 Jun 22 05:09 localtime -rw-r--r-- 1 nobody nogroup 10734 Jun 22 05:09 login.defs -r--r--r-- 1 nobody nogroup 33 Jun 22 05:09 machine-id -rw-r--r-- 1 nobody nogroup 510 Jun 22 05:09 nsswitch.conf -rw-r--r-- 1 nobody nogroup 2205 Jun 22 05:09 passwd -rw-r--r-- 1 nobody nogroup 2932 Jun 22 05:09 protocols -rw-r--r-- 1 nobody nogroup 970 Jun 22 05:09 resolv.conf drwxr-xr-x 2 nobody nogroup 60 Jun 22 05:09 selinux drwxr-xr-x 5 nobody nogroup 100 Jun 22 05:09 vulkan drwxr-xr-x 4 nobody nogroup 120 Jun 22 05:09 xdg all done TESTING: etc-cleanup (test/private-etc/etc-cleanup.exp) ``` </p> </details> #### From <https://github.com/netblue30/firejail/actions/runs/15993200776/job/45132302849>: <details> <summary>test-fs (broken)</summary> <p> ``` ##[group]Run make test-private-etc make test-private-etc shell: /usr/bin/bash -e {0} env: SHELL: /bin/bash ##[endgroup] make -C test private-etc make[1]: Entering directory '/home/runner/work/firejail/firejail/test' cd private-etc && ./private-etc.sh 2>&1 | tee private-etc.log TESTING: private-etc (test/private-etc/private-etc.exp) spawn /bin/bash firejail --private-etc=passwd,group,resolv.conf,X11 runner@pkrvmdyo8zrnvmk:~/work/firejail/firejail/test/private-etc$ <firejail --private-etc=passwd,group,resolv.conf,X11 Reading profile /etc/firejail/default.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/landlock-common.inc ** Note: you can use --noprofile to disable default.profile ** firejail version 0.9.75 Parent pid 4426, child pid 4427 Error fcopy: invalid ownership for file /etc/localtime Error: failed to run /run/firejail/lib/fcopy, exiting... Error: proc 4426 cannot sync with peer: unexpected EOF Peer 4427 unexpectedly exited with status 1 runner@pkrvmdyo8zrnvmk:~/work/firejail/firejail/test/private-etc$ TESTING ERROR 1 TESTING: profile (test/private-etc/profile.exp) spawn /bin/bash firejail --private-etc=passwd,group,resolv.conf,X11 runner@pkrvmdyo8zrnvmk:~/work/firejail/firejail/test/private-etc$ <firejail --private-etc=passwd,group,resolv.conf,X11 Reading profile /etc/firejail/default.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/landlock-common.inc ** Note: you can use --noprofile to disable default.profile ** firejail version 0.9.75 Parent pid 4463, child pid 4464 Error fcopy: invalid ownership for file /etc/localtime Error: failed to run /run/firejail/lib/fcopy, exiting... Error: proc 4463 cannot sync with peer: unexpected EOF Peer 4464 unexpectedly exited with status 1 runner@pkrvmdyo8zrnvmk:~/work/firejail/firejail/test/private-etc$ TESTING ERROR 1 TESTING: groups (test/private-etc/groups.exp) spawn /bin/bash firejail --private-etc ls -l /etc runner@pkrvmdyo8zrnvmk:~/work/firejail/firejail/test/private-etc$ <test/private-etc$ firejail --private-etc ls -l /etc Reading profile /etc/firejail/default.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/landlock-common.inc ** Note: you can use --noprofile to disable default.profile ** firejail version 0.9.75 Parent pid 4501, child pid 4502 Error fcopy: invalid ownership for file /etc/localtime Error: failed to run /run/firejail/lib/fcopy, exiting... Error: proc 4501 cannot sync with peer: unexpected EOF Peer 4502 unexpectedly exited with status 1 runner@pkrvmdyo8zrnvmk:~/work/firejail/firejail/test/private-etc$ TESTING ERROR 0 TESTING: etc-cleanup (test/private-etc/etc-cleanup.exp) ``` <p> </details> Relates to: * #1531
gitea-mirror 2026-05-05 09:56:56 -06:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#3375
No description provided.