Send inn-workers mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/inn-workers
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of inn-workers digest..."


Today's Topics:

   1. SIGSEGV when running innd as non-root user
      (Dominik 'Rathann' Mierzejewski)
   2. RE : SIGSEGV when running innd as non-root user (Julien ?LIE)
   3. Re: SIGSEGV when running innd as non-root user
      (Dominik 'Rathann' Mierzejewski)


----------------------------------------------------------------------

Message: 1
Date: Thu, 26 Jan 2017 23:19:55 +0100
From: Dominik 'Rathann' Mierzejewski <[email protected]>
To: [email protected]
Subject: SIGSEGV when running innd as non-root user
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Dear list,
I'm one of the maintainers of the INN package in Fedora. A bug report
came some time ago about a segfault when running innd as non-root user:
https://bugzilla.redhat.com/show_bug.cgi?id=1395717

It's easy to reproduce, too. Just run the command as non-root user:
INNCONF=/tmp/inn.conf /usr/libexec/news/innd -d

According to the report above:
===
[...] it segfaults in newsuser.c:98.
It crashes because innconf variable is NULL and this is because innd
calls ensure_news_grp() via ensure_news_user_grp() before reading a
configuration with innconf_read() in main().

The issue is that the target user and group is defined in the
configuration file. The get_news_uid_gid() default to hard-coded "news"
group if configuration is not yet loaded.

Would it be possible to modify innd so that it first reads
configuration, and then it tries to change UID and GID?
===

Best regards,
Dominik

PS. I tried opening a trac ticket first, but I don't see any option
to create an account there (https://inn.eyrie.org/trac/report/1).
-- 
Fedora http://fedoraproject.org/wiki/User:Rathann
RPMFusion http://rpmfusion.org
"Faith manages."
        -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"


------------------------------

Message: 2
Date: Fri, 27 Jan 2017 07:56:00 +0100
From: Julien ?LIE <[email protected]>
To: [email protected]
Subject: RE : SIGSEGV when running innd as non-root user
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"

Hi Dominik,

Do you still see that bug with INN 2.6.1?

I believe the following commit fixed it:
https://inn.eyrie.org/trac/changeset/9981

--?
Julien


-------- Message d'origine --------
De : Dominik 'Rathann' Mierzejewski <[email protected]> 
Date : 26/01/2017  23:19  (GMT+01:00) 
? : [email protected] 
Objet : SIGSEGV when running innd as non-root user 

Dear list,
I'm one of the maintainers of the INN package in Fedora. A bug report
came some time ago about a segfault when running innd as non-root user:
https://bugzilla.redhat.com/show_bug.cgi?id=1395717

It's easy to reproduce, too. Just run the command as non-root user:
INNCONF=/tmp/inn.conf /usr/libexec/news/innd -d

According to the report above:
===
[...] it segfaults in newsuser.c:98.
It crashes because innconf variable is NULL and this is because innd
calls ensure_news_grp() via ensure_news_user_grp() before reading a
configuration with innconf_read() in main().

The issue is that the target user and group is defined in the
configuration file. The get_news_uid_gid() default to hard-coded "news"
group if configuration is not yet loaded.

Would it be possible to modify innd so that it first reads
configuration, and then it tries to change UID and GID?
===

Best regards,
Dominik

PS. I tried opening a trac ticket first, but I don't see any option
to create an account there (https://inn.eyrie.org/trac/report/1).
-- 
Fedora http://fedoraproject.org/wiki/User:Rathann
RPMFusion http://rpmfusion.org
"Faith manages."
        -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
_______________________________________________
inn-workers mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/inn-workers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/inn-workers/attachments/20170127/00edf830/attachment-0001.html>

------------------------------

Message: 3
Date: Fri, 27 Jan 2017 11:41:26 +0100
From: Dominik 'Rathann' Mierzejewski <[email protected]>
To: [email protected]
Subject: Re: SIGSEGV when running innd as non-root user
Message-ID: <[email protected]>
Content-Type: text/plain; charset=iso-8859-1

Hello, Julien.

On Friday, 27 January 2017 at 07:56, Julien ?LIE wrote:
> Hi Dominik,
> 
> Do you still see that bug with INN 2.6.1?
> 
> I believe the following commit fixed it:
> https://inn.eyrie.org/trac/changeset/9981

Indeed. It now complains that it must be run as news group instead of
crashing. Thanks!

Regards,
Dominik
-- 
Fedora http://fedoraproject.org/wiki/User:Rathann
RPMFusion http://rpmfusion.org
"Faith manages."
        -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"


------------------------------

Subject: Digest Footer

_______________________________________________
inn-workers mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/inn-workers

------------------------------

End of inn-workers Digest, Vol 91, Issue 1
******************************************

Reply via email to