Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rkhunter for openSUSE:Factory checked in at 2022-11-16 15:43:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rkhunter (Old) and /work/SRC/openSUSE:Factory/.rkhunter.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rkhunter" Wed Nov 16 15:43:22 2022 rev:30 rq:1035891 version:1.4.6 Changes: -------- --- /work/SRC/openSUSE:Factory/rkhunter/rkhunter.changes 2022-06-13 13:03:31.645199668 +0200 +++ /work/SRC/openSUSE:Factory/.rkhunter.new.1597/rkhunter.changes 2022-11-16 15:43:35.895882837 +0100 @@ -1,0 +2,6 @@ +Wed Sep 28 16:38:30 UTC 2022 - Alexander van Kaam <[email protected]> + +- added systemd timer and service file + fix boo#1115455 + +------------------------------------------------------------------- New: ---- rkhunter.service rkhunter.timer ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rkhunter.spec ++++++ --- /var/tmp/diff_new_pack.t90HBA/_old 2022-11-16 15:43:36.563885259 +0100 +++ /var/tmp/diff_new_pack.t90HBA/_new 2022-11-16 15:43:36.567885272 +0100 @@ -36,6 +36,8 @@ Source5: %{name}-README.SUSE Source6: %{name}.logrotate Source7: %{name}.keyring +Source8: %{name}.timer +Source9: %{name}.service # PATCH-FIX-OPENSUSE -- [email protected] - Fix Pathes2 Patch0: %{name}-installer-fix.patch # PATCH-FIX-UPSTREAM -- bmwiedemann - boo#968578 @@ -88,6 +90,8 @@ install -m644 %{SOURCE5} %{buildroot}/%{_docdir}/%{name}-%{version}/README.SUSE install -D -m640 %{SOURCE6} %{buildroot}/%{_sysconfdir}/logrotate.d/%{name} install -m644 %{SOURCE3} %{buildroot}/%{_docdir}/%{name}-%{version}/%{name}.cron +install -m644 %{SOURCE8} %{buildroot}/%{_docdir}/%{name}-%{version}/%{name}.timer +install -m644 %{SOURCE9} %{buildroot}/%{_docdir}/%{name}-%{version}/%{name}.service # adapt the default config for using in openSUSE sed "s|^PREFIX*|PREFIX="%{_prefix}"|g; \ s|^#SCRIPTDIR=.*|SCRIPTDIR=%{_libdir}/%{name}/scripts|g; \ ++++++ rkhunter-README.SUSE ++++++ --- /var/tmp/diff_new_pack.t90HBA/_old 2022-11-16 15:43:36.607885417 +0100 +++ /var/tmp/diff_new_pack.t90HBA/_new 2022-11-16 15:43:36.611885433 +0100 @@ -12,3 +12,13 @@ please read https://bugzilla.suse.com/show_bug.cgi?id=1150553 +SYSTEMD +rkhunter.timer and rkhunter.service are files that can be placed in +/etc/systemd/system and enabled with: + systemctl enable rkhunter.timer + systemctl start rkhunter.timer +It will start rkhunter 15minutes after boot and every 2 days after that. +Like with the cron option his as some security implications, for details +please read +https://bugzilla.suse.com/show_bug.cgi?id=1150553 + ++++++ rkhunter.service ++++++ [Unit] Description=rkhunter sevice Wants=rkhunter.timer [Service] Type=oneshot ExecStart=/usr/bin/rkhunter --propupd ++++++ rkhunter.timer ++++++ [Unit] Description=rkhunter timer [Timer] Unit=rkhunter.service OnBootSec=15m OnUnitActiveSec=2d [Install] WantedBy=timers.target
