Created attachment 860897 [details, diff] The patch file and the proposed -r6 ebuild Hi, I'm trying to setup Greenbone Vulnerability Management on gentoo following this guide: https://wiki.gentoo.org/wiki/Greenbone_Vulnerability_Management When I try to create a new gvmd user with Admin role: --- root #sudo -u gvm bash user $gvmd --create-user=admin --role=Admin --- I obtain: --- Failed to create user: Invalid characters in user name --- It seems GLib have switched from PCRE to PCRE2 and that the previously PCRE compatible regex used in gvmd for the user name validation functionality is not compatible with the PCRE2 functionality. More info can be found here: https://forum.greenbone.net/t/kali-cant-create-gvm-user-throws-an-error-failed-to-create-user-invalid-characters-in-user-name/13062/49 and here: https://gitlab.gnome.org/GNOME/glib/-/issues/2760 https://bugs.kali.org/view.php?id=7926#c16764 I tested the attached patch and it seems to work.
Created attachment 861000 [details, diff] fixed patch to honor a second commit in github Please don't use the previous patch