Bug#956177: fail2ban: daemon startup should not access /root/.local

2020-04-15 Thread Russell Coker
On Thursday, 16 April 2020 1:01:56 AM AEST Sylvestre Ledru wrote: > Le 15/04/2020 à 15:51, Russell Coker a écrit : > > Environment="PYTHONNOUSERSITE=yes" > > > > Putting the above in the service file fixes the problem. > > OK, many thanks :) > As you did 90 % of the work, would you like to

Bug#956177: fail2ban: daemon startup should not access /root/.local

2020-04-15 Thread Sylvestre Ledru
Le 15/04/2020 à 15:51, Russell Coker a écrit : Environment="PYTHONNOUSERSITE=yes" Putting the above in the service file fixes the problem. OK, many thanks :) As you did 90 % of the work, would you like to submit a MR ? https://salsa.debian.org/python-team/applications/fail2ban Cheers,

Bug#956177: fail2ban: daemon startup should not access /root/.local

2020-04-15 Thread Russell Coker
Environment="PYTHONNOUSERSITE=yes" Putting the above in the service file fixes the problem. -- My Main Blog http://etbe.coker.com.au/ My Documents Bloghttp://doc.coker.com.au/

Bug#956177: fail2ban: daemon startup should not access /root/.local

2020-04-15 Thread Russell Coker
On Wednesday, 15 April 2020 2:27:33 PM AEST Russell Coker wrote: > On Wednesday, 15 April 2020 2:36:43 AM AEST Sylvestre Ledru wrote: > > Could you please reply to > > https://github.com/fail2ban/fail2ban/issues/2688#issuecomment-613543589 ? > > > > (I also looked at the code and could not find

Bug#956177: fail2ban: daemon startup should not access /root/.local

2020-04-14 Thread Russell Coker
On Wednesday, 15 April 2020 2:36:43 AM AEST Sylvestre Ledru wrote: > Could you please reply to > https://github.com/fail2ban/fail2ban/issues/2688#issuecomment-613543589 ? > > (I also looked at the code and could not find where /root/.local would be > loaded) Done. strace revealed the following:

Bug#956177: fail2ban: daemon startup should not access /root/.local

2020-04-14 Thread Sylvestre Ledru
Le 08/04/2020 à 04:51, Russell Coker a écrit : Package: fail2ban Version: 0.11.1-1 Severity: normal type=AVC msg=audit(1586313861.749:37): avc: denied { search } for pid=704 comm="fail2ban-server" name=".local" dev="sdb2" ino=31516 scontext=system_u:system_r:fail2ban_t:s0

Bug#956177: fail2ban: daemon startup should not access /root/.local

2020-04-07 Thread Russell Coker
Package: fail2ban Version: 0.11.1-1 Severity: normal type=AVC msg=audit(1586313861.749:37): avc: denied { search } for pid=704 comm="fail2ban-server" name=".local" dev="sdb2" ino=31516 scontext=system_u:system_r:fail2ban_t:s0 tcontext=unconfined_u:object_r:xdg_data_t:s0 tclass=dir