public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Switching default tmpfiles and faster internet coming my way.
Date: Sun, 6 Dec 2020 00:40:16 -0600	[thread overview]
Message-ID: <4ac90503-8da0-fabd-fb78-8939b312bc4b@gmail.com> (raw)
In-Reply-To: <7dc8a328-6fda-ef4e-b0d2-f7f719b732ec@gentoo.org>

Michael Orlitzky wrote:
> On 12/4/20 12:02 PM, Dale wrote:
>>
>> So basically, that package would have to start over from scratch to be
>> fixed.  That's not very likely if history means anything.
>>
>
> I think the opentmpfiles devs are planning to copy/paste the
> systemd-tmpfiles C code into opentmpfiles eventually. That will make
> it safe on Linux, obviously, since systemd-tmpfiles is... but will
> leave the hardlink problem unsolved on other kernels.
>
> There's no way to make opentmpfiles both cross-platform and safe. It's
> possible to do so with OpenRC more generally, but that's a larger
> undertaking that I suspect no one is interested in taking under:
>
>   1. Give up on tmpfiles entirely
>   2. Replace "checkpath" in OpenRC with something that drops privileges
>   3. Rewrite all of the init scripts that rely on tmpfiles
>   4. Rework any packages that use tmpfiles without an OpenRC service
>
>
>> Sounds like switching is the best path and really, about the only path.
>> Until something better comes along or the default is redone from
>> scratch, not switching leaves a door open for a bad guy.
>
> Exactly.
>
>
>> Do you know if the systemd devs manage this or is this package done
>> outside of them?  Since some don't like systemd, myself being one of
>> them, I'd like to know what group maintains that package.
>
> Lennart "fuck Gentoo" Poettering is still in charge of
> systemd-tmpfiles, but there's nothing bad to be said about him in this
> regard. Compare his immediate and complete response to these issues,
>
>   * https://github.com/systemd/systemd/issues/7736
>   * https://github.com/systemd/systemd/issues/7986
>
> with the fact that the opentmpfiles bugs have sat there unaddressed
> for three years.
>
>


It sounds like both packages will end up being the same.  Sort of. 
Switching it is. 

I read through those links.  I admit, a lot of it went over my head but
I did get a somewhat better understanding of how it is insecure. It
seems to me like it would be a difficult thing to accomplish but if one
does, it could get bad. 

Thanks much for all the info.  It helped me and I hope it helped others
as well. 

Dale

:-)  :-) 


  reply	other threads:[~2020-12-06  6:40 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-04  1:40 [gentoo-user] Switching default tmpfiles and faster internet coming my way Dale
2020-12-04  2:06 ` Kusoneko
2020-12-04  7:44   ` Dale
2020-12-04  2:18 ` Michael Orlitzky
2020-12-04  2:22   ` Michael Orlitzky
2020-12-04  6:44   ` Dale
2020-12-04 14:23     ` Michael Orlitzky
2020-12-04 17:02       ` Dale
2020-12-05 13:43         ` Michael Orlitzky
2020-12-06  6:40           ` Dale [this message]
2020-12-04 10:47   ` Michael
2020-12-04 14:07     ` Michael Orlitzky
2020-12-04  8:55 ` tastytea
2020-12-04 14:07   ` Michael Orlitzky
2020-12-04  9:09 ` antlists
2020-12-04 10:06   ` Dale
2020-12-04 10:24   ` Michael
2020-12-07  4:24   ` Dale
2020-12-07 11:39     ` Wols Lists
2020-12-07 20:32       ` Dale
2020-12-06  7:55 ` [gentoo-user] " Martin Vaeth
2020-12-06 10:45   ` Michael
2020-12-06 12:37     ` Neil Bothwick
2020-12-06 12:53       ` Arve Barsnes
2020-12-06 12:54       ` Rich Freeman
2020-12-06 13:01         ` antlists
2020-12-06 13:45           ` Michael
2020-12-06 15:13             ` Rich Freeman
2020-12-06 16:25     ` Martin Vaeth
2020-12-06 12:55   ` antlists
2020-12-06 17:06     ` Martin Vaeth
2020-12-06 13:29   ` Michael Orlitzky
2020-12-06 16:57     ` Martin Vaeth
2020-12-06 21:44       ` Michael Orlitzky
2020-12-07 20:41         ` Martin Vaeth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ac90503-8da0-fabd-fb78-8939b312bc4b@gmail.com \
    --to=rdalek1967@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox