Re: Fresh install (ubuntu) permissions issues

<[email protected]> Mon, 25 May 2026 17:59:22 +0200
Newsgroups gmane.comp.sysutils.backup.backuppc.general
Message-ID <[email protected]>
--===============3632482166896638492==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="tmDsRWFy1geSDWDY"
Content-Disposition: inline


--tmDsRWFy1geSDWDY
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, May 25, 2026 at 04:36:19PM +0100, G.W. Haywood wrote:
> Hi there,
>=20
> On Sun, 24 May 2026, backuppc@sundquist... wrote:
>=20
> > ...
> > I reinstalled Apache2 and backuppc.
> > ...
>=20
> That was probably excessive.  Did you see my private mail?
>=20
> 8<----------------------------------------------------------------------
>=20
> 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
>=20
> 8<----------------------------------------------------------------------
>=20
> > One commenter ... had SELinux running and had to write a policy
> > ...  I don't have SELinux running.
>=20
> On Ubuntu I think it's more likely to be AppArmor than SELinux.
>=20
> > ... 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 =3D Read-only file system, uids =3D 33,113, gids =3D 33 33,33 33,
> > umask =3D 027, ver =3D v5.40.1, prog =3D /usr/bin/perl)
> > ---
> > ...
> > ... the read-only file system message, .. didn't make sense ...
>=20
> 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
--=20
t

--tmDsRWFy1geSDWDY
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCahRx0wAKCRAFyCz1etHa
RmAfAJ0VomZpnN3lezm+64lYcoBYwPyRewCfXvS0cALwCoCnSpfYj6oAyU8+j1Y=
=PKvG
-----END PGP SIGNATURE-----

--tmDsRWFy1geSDWDY--


--===============3632482166896638492==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============3632482166896638492==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
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/

--===============3632482166896638492==--