<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body ><div>Hi Dominik,</div><div><br></div><div>Do you still see that bug with INN 2.6.1?</div><div><br></div><div>I believe the following commit fixed it:</div><div>https://inn.eyrie.org/trac/changeset/9981</div><div><br></div>-- <div>Julien</div><div></div><br><br>-------- Message d'origine --------<br>De : Dominik 'Rathann' Mierzejewski <dominik@greysector.net> <br>Date : 26/01/2017  23:19  (GMT+01:00) <br>À : inn-workers@lists.isc.org <br>Objet : SIGSEGV when running innd as non-root user <br><br>Dear list,<br>I'm one of the maintainers of the INN package in Fedora. A bug report<br>came some time ago about a segfault when running innd as non-root user:<br>https://bugzilla.redhat.com/show_bug.cgi?id=1395717<br><br>It's easy to reproduce, too. Just run the command as non-root user:<br>INNCONF=/tmp/inn.conf /usr/libexec/news/innd -d<br><br>According to the report above:<br>===<br>[...] it segfaults in newsuser.c:98.<br>It crashes because innconf variable is NULL and this is because innd<br>calls ensure_news_grp() via ensure_news_user_grp() before reading a<br>configuration with innconf_read() in main().<br><br>The issue is that the target user and group is defined in the<br>configuration file. The get_news_uid_gid() default to hard-coded "news"<br>group if configuration is not yet loaded.<br><br>Would it be possible to modify innd so that it first reads<br>configuration, and then it tries to change UID and GID?<br>===<br><br>Best regards,<br>Dominik<br><br>PS. I tried opening a trac ticket first, but I don't see any option<br>to create an account there (https://inn.eyrie.org/trac/report/1).<br>-- <br>Fedora http://fedoraproject.org/wiki/User:Rathann<br>RPMFusion http://rpmfusion.org<br>"Faith manages."<br>        -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"<br>_______________________________________________<br>inn-workers mailing list<br>inn-workers@lists.isc.org<br>https://lists.isc.org/mailman/listinfo/inn-workers<br></body>