On Mon, May 25, 2026 at 04:36:19PM +0100, G.W. Haywood wrote:
> Hi there,
> 
> On Sun, 24 May 2026, backuppc@sundquist... wrote:
> 
> > ...
> > I reinstalled Apache2 and backuppc.
> > ...
> 
> That was probably excessive.  Did you see my private mail?
> 
> 8<----------------------------------------------------------------------
> 
> Date: Fri, 15 May 2026 08:59:25 +0100 (BST)
> From: G.W. Haywood <[email protected]>
> To: [email protected]
> Subject: Re: Fresh install (ubuntu) permissions issues
> 
> 8<----------------------------------------------------------------------
> 
> > One commenter ... had SELinux running and had to write a policy
> > ...  I don't have SELinux running.
> 
> On Ubuntu I think it's more likely to be AppArmor than SELinux.
> 
> > ... One respondent provided some code to add to .../Storage/Text.pm
> > to get more info on the error.  I did this and got ...
> > ---
> > TextFileWrite: Failed to write /etc/backuppc/localhost.pl.new \
> > (errno = Read-only file system, uids = 33,113, gids = 33 33,33 33,
> > umask = 027, ver = v5.40.1, prog = /usr/bin/perl)
> > ---
> > ...
> > ... the read-only file system message, .. didn't make sense ...
> 
> Unless there really is a problem with the filesystem, which is quite
> possible but seems to me unlikely, I wonder if that might just be a
> misleading error message.  Can you point me to the code that you used
> to modify your Text.pm?

I have seen that too: not AppArmor, not SELinux, but some "security"
feature of systemd, mounting (bind-mount?) things like /etc read only:
in that case, the error message /is/ actually correct.

No systemd here, so I can't check. No idea either whether those mounts
are "just" for services like the web server or more widespread.

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature

_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/

Reply via email to