On Thursday, 11 April 2019 at 18:09, Paul Frields wrote:
On Tue, Apr 9, 2019 at 12:07 PM Lennart Poettering
<mzerqung(a)0pointer.de> wrote:
[...]
[...]
> 3. atd? Do we still need that? Do we have postinst scripts that need
> this? If so, wouldn't systemd-run be a better approach for those?
> Isn't it time to make this an RPM people install if they want it?
Interestingly I think Google Chrome needs this when it installs,
though it seems nonsensical to me. (Chrome is installed by about 50%
of our users given some informal stats, so writing it off would be
shooting ourselves in the foot.) That's something the Workstation
folks may want to work with them to fix in a more systemd-ish way.
Chrome doesn't require atd explicitly (nor is it pulled in by any of its
dependencies).
It does use it in %post to sneak in a cron job to to add a repo config
file and its GPG key trust behind your back:
service atd start
echo "sh /etc/cron.daily/google-chrome" | at now + 2 minute > /dev/null
2>&1
So, actually not having atd installed won't break Chrome as it will
just ignore the 'at' command execution error due to 'exit 0' a few
lines below it.
Regards,
Dominik
--
Fedora
https://getfedora.org | RPM Fusion
http://rpmfusion.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
-- from "Collected Sayings of Muad'Dib" by the Princess Irulan