emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#41763: closed (services: opensmtpd: Fix the setgid problem for the s


From: GNU bug Tracking System
Subject: bug#41763: closed (services: opensmtpd: Fix the setgid problem for the smtpctl utility.)
Date: Fri, 16 Jul 2021 04:25:02 +0000

Your message dated Fri, 16 Jul 2021 00:24:30 -0400
with message-id <874kcunawx.fsf_-_@gmail.com>
and subject line Re: bug#41763: services: opensmtpd: Fix the setgid problem for 
the smtpctl utility.
has caused the debbugs.gnu.org bug report #41763,
regarding services: opensmtpd: Fix the setgid problem for the smtpctl utility.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
41763: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41763
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: services: opensmtpd: Fix the setgid problem for the smtpctl utility. Date: Mon, 08 Jun 2020 13:46:37 -0400
Hello!

The following patches provide a mean to specify a user and group for a
setuid program, and uses that to fix a setgid permission issue in the
context of the opensmtpd service.

Christopher, you should be able to leverage this new facility to
configure the uid/gid of the sendmail program to that of the smtpq user,
like this:

--8<---------------cut here---------------start------------->8---
(operating-system)
  [...]
  (setuid-programs (cons (list (file-append sendmail "/usr/sbin/sendmail") 
"smtpq")
                           %setuid-programs))
--8<---------------cut here---------------end--------------->8---

The smtpq user is created as part of the OpenSMTPD service definition.

Thank you,

Attachment: 0001-services-Allow-configuring-the-ownership-of-setuid-p.patch
Description: Text Data

Attachment: 0002-services-opensmtpd-Remove-unused-binding.patch
Description: Text Data

Attachment: 0003-services-opensmtpd-Fix-the-setgid-problem-for-the-sm.patch
Description: Text Data

Maxim

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message --- Subject: Re: bug#41763: services: opensmtpd: Fix the setgid problem for the smtpctl utility. Date: Fri, 16 Jul 2021 00:24:30 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Hello,

Tobias Geerinckx-Rice <me@tobias.gr> writes:

> Jonathan Brielmaier 写道:
>> What does us block from merging this?
>
> Reading [0], Chris & Brice bring up two good points that I don't see
> addressed: using a record instead of a list & not breaking gexps,
> although fixing one would probably moot the other.
>
> Kind regards,
>
> T G-R
>
> [0]: http://issues.guix.gnu.org/41763

Closing in favor of https://issues.guix.gnu.org/44700.

Thanks,

Maxim


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]