Re: How to remove settings from a systemd unit file

2024-06-05 Thread R. G. Newbury
On 2024-06-05 00:06, users-requ...@lists.fedoraproject.org wrote: From: Jeffrey Walton On Tue, Jun 4, 2024 at 7:24 PM Sam Varshavchik wrote: So I was tearing my hair out trying to figure out why attempts to push via DAV to a git repo were failing. However this apparently did not work.

Re: How to remove settings from a systemd unit file

2024-06-05 Thread Todd Zullinger
Patrick O'Callaghan wrote: > On Wed, 2024-06-05 at 06:41 -0400, Sam Varshavchik wrote: >> Then, when you get to the actual description: >> >> ProtectHome= >> Takes a boolean argument or the special values >> "read-only" or "tmpfs". If true, the directories >> /home/, /root, and /run

Re: How to remove settings from a systemd unit file

2024-06-05 Thread Patrick O'Callaghan
On Wed, 2024-06-05 at 06:41 -0400, Sam Varshavchik wrote: > Good luck finding where this is documented in the  > man pages, for overrides. There were barrels of laughs in > systemd.exec(5).  > First, there are several instances of "ProtectHome=yes" sprinkled in > random  > places. Then, when you

Re: How to remove settings from a systemd unit file

2024-06-05 Thread Sam Varshavchik
Felix Miata writes: > I tried using > systemctl edit httpd > And putting this in there: > [Service] > ProtectHome= > However this apparently did not work. Please show us the override file in /etc/systemd* that resulted from your edits. Using systemctl edit for for over a year had me baff

Re: How to remove settings from a systemd unit file

2024-06-04 Thread Felix Miata
Sam Varshavchik composed on 2024-06-04 19:24 (UTC-0400): > So I was tearing my hair out trying to figure out why attempts to push via > DAV to a git repo were failing. > Eventually I succeeded in stracing the httpd process sto capture the > request. It was getting an EROFS when it tried to wr

Re: How to remove settings from a systemd unit file

2024-06-04 Thread Jeffrey Walton
On Tue, Jun 4, 2024 at 7:24 PM Sam Varshavchik wrote: > > So I was tearing my hair out trying to figure out why attempts to push via > DAV to a git repo were failing. > > Eventually I succeeded in stracing the httpd process sto capture the > request. It was getting an EROFS when it tried to write

Re: How to remove settings from a systemd unit file

2024-06-04 Thread Richard Shaw
On Tue, Jun 4, 2024 at 6:24 PM Sam Varshavchik wrote: > So I was tearing my hair out trying to figure out why attempts to push > via > DAV to a git repo were failing. > > Eventually I succeeded in stracing the httpd process sto capture the > request. It was getting an EROFS when it tried to write

Re: How to remove settings from a systemd unit file

2024-06-04 Thread Roger Heflin
The easy solution is chattr +i and that will block all further changes to the file forever. It is kind of a last resort. On Tue, Jun 4, 2024 at 6:24 PM Sam Varshavchik wrote: > > So I was tearing my hair out trying to figure out why attempts to push via > DAV to a git repo were failing. > > Ev

How to remove settings from a systemd unit file

2024-06-04 Thread Sam Varshavchik
So I was tearing my hair out trying to figure out why attempts to push via DAV to a git repo were failing. Eventually I succeeded in stracing the httpd process sto capture the request. It was getting an EROFS when it tried to write to the git repo. Amusing. To make a long story short, the