Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 905411

Summary: =net-analyzer/gsad-21.4.4 fails to start on systemd using forking and has an issue with PCRE2 that does not allow to login
Product: Gentoo Linux Reporter: Giuseppe Foti <foti.giuseppe>
Component: Current packagesAssignee: jonas.licht
Status: UNCONFIRMED ---    
Severity: normal CC: flow, gentoobugs, proxy-maint
Priority: Normal Keywords: PATCH, PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Attachments: patch for login issue
patch for startup issue
Proposed r1 ebuild

Description Giuseppe Foti 2023-05-01 10:15:25 UTC
Created attachment 861006 [details, diff]
patch for login issue

In gsad ebuild we need to patch files to address those issues:

The problem on starting gsad service via systemd arise allways and the service fails with lines like

gsad main:CRITICAL:2023-05-01 08h35.50 utc:856890: main: Could not write PID file.

reported in log file.

The problem arising on user creation (reported in linked post) has to be addressed in gvmd (I sent a patch on a related bug), but the same problem needs to be addressed in gsad.

In the attached patch I introduced these github commits:

# systemd start

# login issue
Comment 1 Giuseppe Foti 2023-05-01 10:15:56 UTC
Created attachment 861007 [details, diff]
patch for startup issue
Comment 2 Giuseppe Foti 2023-05-01 10:17:13 UTC
Created attachment 861008 [details]
Proposed r1 ebuild