I still fail to understand what went wrong there. /var/crash has correct permission to write to. In case of permission errors, the error should say PermissionError (errno 13 IIRC), but the failure message says "Read- only file system".
Can you paste the content of /proc/mounts? What happens if you try to create a file in /var/crash? E.g. run touch /var/crash/testcase.crash I would expect that to work. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1953720 Title: OSError: [Errno 30] Read-only file system: '/var/crash/... Status in apport package in Ubuntu: Incomplete Bug description: Dec 6 12:02:32 mail-cbf-int pyzor[2966924]: Traceback (most recent call last): Dec 6 12:02:32 mail-cbf-int pyzor[2966924]: File "/usr/bin/pyzor", line 408, in <module> Dec 6 12:02:32 mail-cbf-int pyzor[2966924]: main() Dec 6 12:02:32 mail-cbf-int pyzor[2966924]: File "/usr/bin/pyzor", line 152, in main Dec 6 12:02:32 mail-cbf-int pyzor[2966924]: if not dispatch(client, servers, config): Dec 6 12:02:32 mail-cbf-int pyzor[2966924]: File "/usr/bin/pyzor", line 239, in check Dec 6 12:02:32 mail-cbf-int pyzor[2966924]: send_digest(digested, mock_runner, servers) Dec 6 12:02:32 mail-cbf-int pyzor[2966924]: File "/usr/bin/pyzor", line 262, in send_digest Dec 6 12:02:32 mail-cbf-int pyzor[2966924]: _send_digest(runner, servers[0], digested) Dec 6 12:02:32 mail-cbf-int pyzor[2966924]: File "/usr/bin/pyzor", line 253, in _send_digest Dec 6 12:02:32 mail-cbf-int pyzor[2966924]: runner.run(server, (digested, server)) Dec 6 12:02:32 mail-cbf-int pyzor[2966924]: File "/usr/lib/python3/dist-packages/pyzor/client.py", line 258, in run Dec 6 12:02:32 mail-cbf-int pyzor[2966924]: response = self.routine(*args, **kwargs) Dec 6 12:02:32 mail-cbf-int pyzor[2966924]: File "/usr/lib/python3/dist-packages/pyzor/client.py", line 120, in _mock_check Dec 6 12:02:32 mail-cbf-int pyzor[2966924]: msg = (b"Code: %s\nDiag: OK\nPV: %s\nThread: 1024\nCount: 0\n" Dec 6 12:02:32 mail-cbf-int pyzor[2966924]: TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'int' Dec 6 12:02:32 mail-cbf-int pyzor[2966924]: Error in sys.excepthook: Dec 6 12:02:32 mail-cbf-int pyzor[2966924]: Traceback (most recent call last): Dec 6 12:02:32 mail-cbf-int pyzor[2966924]: File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook Dec 6 12:02:32 mail-cbf-int pyzor[2966924]: with os.fdopen(os.open(pr_filename, Dec 6 12:02:32 mail-cbf-int pyzor[2966924]: OSError: [Errno 30] Read-only file system: '/var/crash/_usr_bin_pyzor.122.crash' 1) due to an encoding error, pyzor is throwing an exception. 2) /usr/lib/python3/dist-packages/apport_python_hook.py is the exception handler invoked (belonging to the python3-apport package) 3) This exception handler tries to write to /var/crash/_usr_bin_pyzor.122.crash, which fails I checked the permissions: # ls -l /var/crash total 0 # ls -ld /var/crash drwxrwxrwt 2 root root 4096 Dec 8 16:45 /var/crash # ls -ld /var/ drwxr-xr-x 18 root root 4096 Jun 23 2020 /var/ # ls -ld / drwxr-xr-x 24 root root 4096 Nov 30 06:19 / /var/crash is sticky, so why can't it write? # cat /proc/mounts |fgrep crash # ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: python3-apport 2.20.11-0ubuntu27.21 ProcVersionSignature: Ubuntu 5.11.0-36.40~20.04.1-generic 5.11.22 Uname: Linux 5.11.0-36-generic x86_64 ApportLog: ApportVersion: 2.20.11-0ubuntu27.21 Architecture: amd64 CasperMD5CheckResult: skip Date: Thu Dec 9 09:39:40 2021 PackageArchitecture: all ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: apport UpgradeStatus: Upgraded to focal on 2021-04-07 (245 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1953720/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp