Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1148844

Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Luca Boccassi <bluca@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.policy
Subject Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var
Date Tue, 06 Jun 2023 14:10:01 +0200
Message-ID <GDDFD-e3dY-1@gated-at.bofh.it> (permalink)
References <F7g6R-8xvh-1@gated-at.bofh.it> <z5caR-7gO-3@gated-at.bofh.it> <GtjId-7zCt-1@gated-at.bofh.it> <GCTW9-dATy-9@gated-at.bofh.it> <z5caR-7gO-3@gated-at.bofh.it> <GCTW9-dATy-7@gated-at.bofh.it> <z5caR-7gO-3@gated-at.bofh.it> <GCWAF-dCFN-9@gated-at.bofh.it> <GDCJz-e2F5-5@gated-at.bofh.it> <GDCJz-e2F5-3@gated-at.bofh.it> <z5caR-7gO-3@gated-at.bofh.it> <GDCJz-e2F5-3@gated-at.bofh.it>
X-Original-To 945269@bugs.debian.org
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Tue Jun 6 12:09:09 2023
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -4.21
Reply-To Luca Boccassi <bluca@debian.org>, 945269@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Policy Editors <debian-policy@lists.debian.org>
X-Debian-Pr-Message followup 945269
X-Debian-Pr-Package debian-policy
X-Debian-Pr-Source debian-policy
X-Gm-Message-State AC+VfDzJ80c4Splo8jwewcFBXII5TseQhjZoVsNxM00u9RDHMuhz417B jrDPskNQM8fIKx4ryoXudyCnTotE3nRzZg==
X-Google-SMTP-Source ACHHUZ7Y9cmGR/xHOwq3cF/brEMPNAzSN2+GJY/b89ll2f2Zt9WTV6TulHGfY2mONmDwmgs2rAdOpQ==
X-Received by 2002:adf:f14f:0:b0:30a:eb3f:509f with SMTP id y15-20020adff14f000000b0030aeb3f509fmr1518644wro.60.1686053263697; Tue, 06 Jun 2023 05:07:43 -0700 (PDT)
Content-Type multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-uZiNtZHrBQIGKV7LInbY"
User-Agent Evolution 3.38.3-1+plugin
MIME-Version 1.0
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1773911
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 122
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 06 Jun 2023 13:07:37 +0100
X-Original-Message-ID <bdbf9581ee3ed65155ad44a3c9ec8c2901c4ac45.camel@debian.org>
X-Original-References <87czbsqavc.fsf@hope.eyrie.org> <8736egibhq.fsf@43-1.org> <4264e53cb2569be6f5539b9d16cfd33dc43ea205.camel@debian.org> <87wn0jtrqw.fsf@melete.silentflame.com> <8736egibhq.fsf@43-1.org> <CAMw=ZnRXpAtvLpPq5TqUKMXOP2GTSxJe9JUji1PSuKkhxQ42KA@mail.gmail.com> <8736egibhq.fsf@43-1.org> <ZHyYK1h51nFlLUfJ@tautology.pseudorandom.co.uk> <877csgho5c.fsf@melete.silentflame.com> <ZH8RPwb73hAp/EuU@tautology.pseudorandom.co.uk> <8736egibhq.fsf@43-1.org> <ZH8RPwb73hAp/EuU@tautology.pseudorandom.co.uk>
Xref csiph.com linux.debian.bugs.dist:1148844 linux.debian.policy:8246

Cross-posted to 2 groups.

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Tue, 6 Jun 2023 11:58:07 +0100 Simon McVittie <smcv@debian.org>
wrote:
> On Tue, 06 Jun 2023 at 11:37:51 +0100, Sean Whitton wrote:
> > On Sun 04 Jun 2023 at 02:56PM +01, Simon McVittie wrote:
> > > Another possible mitigation which I haven't previously seen
proposed
> > > is giving *elogind* a Depends or Recommends on systemd-*-
standalone.
> > > I think that would work to mitigate the failure mode with (1.)
and (B.),
> > > and the installed-size argument seems less interesting here
because the
> > > sort of systems that require elogind are already much larger
anyway.
> > > Would the elogind maintainers be willing to consider this? Does
anyone
> > > see a reason why it wouldn't work?
> > 
> > So to confirm, you think that if the elogind maintainers did this,
then
> > default-systemd-tmpfiles could point at systemd rather than
> > systemd-standalone-tmpfiles, which the systemd maintainers prefer,
but
> > in addition, there aren't any scenarios in which people's systems
are
> > likely to be re-arranged when they don't want them to be?
> 
> Exactly. My hope is that if we had:
> 
>     Package: systemd
>     Architecture: linux-any
>     Provides: default-systemd-tmpfiles, systemd-tmpfiles
>     Conflicts: systemd-tmpfiles
>     Replaces: systemd-tmpfiles
> 
>     Package: systemd-standalone-tmpfiles
>     Architecture: linux-any
>     Provides: systemd-tmpfiles
>     Conflicts: systemd-tmpfiles
>     Replaces: systemd-tmpfiles
> 
>     Package: elogind
>     Depends: systemd-standalone-tmpfiles        # or Recommends?
> 
>     Package: foo-service     # any package that requires
tmpfiles.d(5)
>     Depends: default-systemd-tmpfiles | systemd-tmpfiles
> 
>     # optionally, if someone does the work
>     Package: openrc-tmpfiles                    # any other
implementation
>     Architecture: hurd-any kfreebsd-any
>     Provides: default-systemd-tmpfiles, systemd-tmpfiles
>     Conflicts: systemd-tmpfiles
>     Replaces: systemd-tmpfiles
> 
> then the right thing (or at least *a* right thing) would happen in
> all cases:
> 
> * install foo-service on a systemd-booted system:
>   systemd is already installed and the dependency is satisfied
> 
> * install foo-service on a sysvinit-booted desktop system with
elogind:
>   elogind is already installed, therefore systemd-standalone-tmpfiles
is
>   already installed and the dependency is satisfied, avoiding
#1016006 etc.
> 
> * install foo-service on a sysvinit-booted headless system with no
elogind:
>   systemd gets installed as a dependency by default, which is what
the
>   systemd maintainers would prefer to happen when there are no
compelling
>   space constraints; but the user can specifically ask for
>   systemd-standalone-tmpfiles if that's what they'd prefer
> 
> * install foo-service in a container with no init system at all:

Sounds like a good plan to me.

-- 
Kind regards,
Luca Boccassi

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Luca Boccassi <bluca@debian.org> - 2023-06-04 13:20 +0200
  Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Simon McVittie <smcv@debian.org> - 2023-06-04 16:10 +0200
    Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Luca Boccassi <bluca@debian.org> - 2023-06-05 02:40 +0200
      Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Simon McVittie <smcv@debian.org> - 2023-06-05 11:00 +0200
        Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Luca Boccassi <bluca@debian.org> - 2023-06-05 13:20 +0200
        Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Thorsten Glaser <t.glaser@tarent.de> - 2023-06-13 17:50 +0200
          Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Thorsten Glaser <t.glaser@tarent.de> - 2023-06-13 18:20 +0200
          Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Bill Allombert <ballombe@debian.org> - 2023-06-13 18:20 +0200
            Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Marco d'Itri <md@Linux.IT> - 2023-06-13 18:40 +0200
              Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Ansgar <ansgar@43-1.org> - 2023-06-13 19:50 +0200
                Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Russ Allbery <rra@debian.org> - 2023-06-13 20:10 +0200
          Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Russ Allbery <rra@debian.org> - 2023-06-13 18:40 +0200
            Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Thorsten Glaser <t.glaser@tarent.de> - 2023-06-13 20:20 +0200
              Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Russ Allbery <rra@debian.org> - 2023-06-13 21:00 +0200
                Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Thorsten Glaser <t.glaser@tarent.de> - 2023-06-13 21:10 +0200
                Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Russ Allbery <rra@debian.org> - 2023-06-13 21:30 +0200
                Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Thorsten Glaser <t.glaser@tarent.de> - 2023-06-13 23:20 +0200
      Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Simon McVittie <smcv@debian.org> - 2023-06-05 11:20 +0200
        Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Luca Boccassi <bluca@debian.org> - 2023-06-05 13:20 +0200
    Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Helmut Grohne <helmut@subdivi.de> - 2023-06-05 14:20 +0200
    Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Simon McVittie <smcv@debian.org> - 2023-06-06 13:10 +0200
      Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Luca Boccassi <bluca@debian.org> - 2023-06-06 14:10 +0200
        Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Russ Allbery <rra@debian.org> - 2023-06-07 05:50 +0200
          Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Simon McVittie <smcv@debian.org> - 2023-06-07 12:40 +0200
            Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Luca Boccassi <bluca@debian.org> - 2023-06-07 13:00 +0200
          Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Luca Boccassi <bluca@debian.org> - 2023-06-07 12:40 +0200
      Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Mark Hindley <mark@hindley.org.uk> - 2023-06-13 15:10 +0200
        Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Mark Hindley <mark@hindley.org.uk> - 2023-06-13 19:10 +0200
          Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Russ Allbery <rra@debian.org> - 2023-06-13 20:00 +0200
            Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Luca Boccassi <bluca@debian.org> - 2023-06-13 21:50 +0200
              Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Russ Allbery <rra@debian.org> - 2023-06-13 22:00 +0200
                Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Luca Boccassi <bluca@debian.org> - 2023-06-13 22:10 +0200
                Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var Ansgar <ansgar@43-1.org> - 2023-06-13 22:30 +0200

csiph-web