From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v6 3/6] package/polkit: add systemd service file.
Date: Sun, 8 Dec 2019 20:57:11 +0100 [thread overview]
Message-ID: <20191208205711.32a72740@windsurf.home> (raw)
In-Reply-To: <CAFSsvmpVed=XG6=f46OY3UUCXEk3zgK67KK-93wLTKFHBvjedQ@mail.gmail.com>
Hello,
On Sun, 8 Dec 2019 10:46:58 -0800
Adam Duskett <aduskett@gmail.com> wrote:
> > Why aren't you using the one from polkit itself? There is one in
> > data/polkit.service.in, which gets compiled to polkit.service, and
> > apparently installed if HAVE_SYSTEMD is enabled. There also a D-Bus
> > service file at data/org.freedesktop.PolicyKit1.service.in.
> I guess I could.
>
> >
> > > - Add a polkitd user upon which /usr/lib/polkit-1/polkitd relies.
> > > - Set appropriate directory permissions to allow the polkitd user to
> > > access rules and actions.
> > > - Set appropriate default attributes for the pkexec binary.
> >
> > These could be done separately from the systemd service file addition.
> >
> No, they can't. The user is required to access those particular
> directories during
> the service startup.
They can be added before, as a separate patch. Note that if I hadn't
come up with the systemd unit question, I would have applied as-is.
> I don't have time to make a new patch set, so I am going to just mark the entire
> patch series as rejected and move on.
>
> If anybody else wants to resurrect this patch series they may do so.
That's a bit said. What you've done is very good, it includes
additional test cases.
I'm surprised you're giving up at v6. polkit was a complicated topic,
other folks tried in the past, and gave up way before they reached the
point where you are now, which is essentially very close to what can be
merged.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2019-12-08 19:57 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-06 23:46 [Buildroot] [PATCH v6 1/6] package/polkit: bump to version 0.116 aduskett at gmail.com
2019-12-06 23:46 ` [Buildroot] [PATCH v6 2/6] package/polkit: support different authentication frameworks aduskett at gmail.com
2019-12-08 15:02 ` Thomas Petazzoni
2019-12-06 23:46 ` [Buildroot] [PATCH v6 3/6] package/polkit: add systemd service file aduskett at gmail.com
2019-12-08 15:04 ` Thomas Petazzoni
2019-12-08 18:46 ` Adam Duskett
2019-12-08 19:57 ` Thomas Petazzoni [this message]
2019-12-08 21:31 ` Adam Duskett
2019-12-08 21:32 ` Adam Duskett
2019-12-06 23:46 ` [Buildroot] [PATCH v6 4/6] support/testing: add polkit systemd test aduskett at gmail.com
2019-12-08 15:07 ` Thomas Petazzoni
2019-12-06 23:46 ` [Buildroot] [PATCH v6 5/6] package/polkit: add init service file aduskett at gmail.com
2019-12-08 15:08 ` Thomas Petazzoni
2020-02-09 21:28 ` Carlos Santos
2019-12-06 23:46 ` [Buildroot] [PATCH v6 6/6] support/testing: add polkit initd test aduskett at gmail.com
2019-12-08 15:02 ` [Buildroot] [PATCH v6 1/6] package/polkit: bump to version 0.116 Thomas Petazzoni
2019-12-08 19:04 ` Adam Duskett
2019-12-08 19:58 ` Thomas Petazzoni
2019-12-09 19:03 ` Adam Duskett
2019-12-14 21:04 ` Thomas Petazzoni
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=20191208205711.32a72740@windsurf.home \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.