dnf-automatic-restart icon indicating copy to clipboard operation
dnf-automatic-restart copied to clipboard

Publish

Open mo8it opened this issue 2 years ago • 3 comments

It would be nice if you add this tool as a package to the official repos so one can install it with dnf. Another option would be to merge it with dnf-automatic.

mo8it avatar Dec 29 '21 21:12 mo8it

:+1: to merging with dnf-automatic. It would be amazing to simply have an option in /etc/dnf/automatic.conf to enable this.

ktdreyer avatar Feb 28 '22 21:02 ktdreyer

Hey @Mo8it and @ktdreyer,

if you want to go ahead and talk to the dnf-automatic maintainers, I'm open for integrating this into the dnf-automatic "core". Unfortunately, I have no idea how to package this up such that it can be dnf installed.

agross avatar Feb 28 '22 21:02 agross

Hello,

I'm trying to use dnf-automatic-restart on rhel8 but i doesn't seem to do anything. Tried to debug but could not find any relevant (debug) information.

When i try to start the tool standalone nothing happens ?
tracer output: .. displays no information.

I have for example:
/usr/local/sbin/dnf-automatic-restart -r 15
nothing happend (at 15.00)

cat dnf-automatic-install.service
# /usr/lib/systemd/system/dnf-automatic-install.service
[Unit]
Description=dnf automatic install updates
# See comment in dnf-makecache.service
ConditionPathExists=!/run/ostree-booted
After=network-online.target

[Service]
Type=oneshot
Nice=19
IOSchedulingClass=2
IOSchedulingPriority=7
Environment="ABRT_IGNORE_PYTHON=1"
ExecStart=/usr/bin/dnf-automatic /etc/dnf/automatic.conf --timer --installupdates

# /etc/systemd/system/dnf-automatic-install.service.d/override.conf
[Service]
# Path to the cloned script (see step 1 above).
ExecStartPost=/usr/local/sbin/dnf-automatic-restart

Any help would be appriciated ;) Grz ~remke

rschu68 avatar Jun 07 '22 13:06 rschu68