public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Josue Hernandez <josherna@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/grub2] f45: grub2.spec: Fix systemd timer,service permissions
Date: Fri, 14 Aug 2026 21:05:08 GMT	[thread overview]
Message-ID: <178674150840.1.2172553180694935983.rpms-grub2-14c125ee1db2@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/grub2
            Branch : f45
            Commit : 14c125ee1db25ded61c371526624858129802d65
            Author : Josue Hernandez <josherna@redhat.com>
            Date   : 2026-08-13T16:34:45-06:00
            Stats  : +11/-7 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/grub2/c/14c125ee1db25ded61c371526624858129802d65?branch=f45

            Log:
            grub2.spec: Fix systemd timer,service permissions

Resolves: #2512037

Signed-off-by: Josue Hernandez <josherna@redhat.com>

---
diff --git a/grub2.spec b/grub2.spec
index 7c32f1c..203033f 100644
--- a/grub2.spec
+++ b/grub2.spec
@@ -17,7 +17,7 @@
 Name:		grub2
 Epoch:		1
 Version:	2.12
-Release:	74%{?dist}
+Release:	75%{?dist}
 Summary:	Bootloader with support for Linux, Multiboot and more
 License:	GPL-3.0-or-later
 URL:		http://www.gnu.org/software/grub/
@@ -319,10 +319,10 @@ install -D -m 0755 -t %{buildroot}%{_prefix}/lib/kernel/install.d/ %{SOURCE14}
 install -D -m 0755 -t %{buildroot}%{_prefix}/lib/kernel/install.d/ %{SOURCE3}
 install -d -m 0755 %{buildroot}%{_sysconfdir}/kernel/install.d/
 # Install systemd user service to set the boot_success flag
-install -D -m 0755 -t %{buildroot}%{_userunitdir} \
+install -D -m 0644 -t %{buildroot}%{_userunitdir} \
 	docs/grub-boot-success.{timer,service}
 # Install systemd system-update unit to set boot_indeterminate for offline-upd
-install -D -m 0755 -t %{buildroot}%{_unitdir} docs/grub-boot-indeterminate.service
+install -D -m 0644 -t %{buildroot}%{_unitdir} docs/grub-boot-indeterminate.service
 install -d -m 0755 %{buildroot}%{_unitdir}/system-update.target.wants
 install -d -m 0755 %{buildroot}%{_unitdir}/reboot.target.wants
 ln -s ../grub-boot-indeterminate.service \
@@ -570,11 +570,11 @@ fi
 %attr(0644,root,root) %ghost %config(noreplace) %{_sysconfdir}/default/grub
 %config %{_sysconfdir}/grub.d/??_*
 %{_sysconfdir}/grub.d/README
-%{_userunitdir}/grub-boot-success.timer
-%{_userunitdir}/grub-boot-success.service
-%{_unitdir}/grub-boot-indeterminate.service
+%attr(0644,root,root) %{_userunitdir}/grub-boot-success.timer
+%attr(0644,root,root) %{_userunitdir}/grub-boot-success.service
+%attr(0644,root,root) %{_unitdir}/grub-boot-indeterminate.service
 %{_unitdir}/system-update.target.wants
-%{_unitdir}/grub2-systemd-integration.service
+%attr(0644,root,root) %{_unitdir}/grub2-systemd-integration.service
 %{_unitdir}/reboot.target.wants
 %{_unitdir}/systemd-logind.service.d
 %{_infodir}/grub2*
@@ -694,6 +694,10 @@ fi
 %endif
 
 %changelog
+* Thu Aug 13 2026 Josue Hernandez <josherna@redhat.com> - 2.12-75
+- Fix systemd timer,service permissions
+- Resolves: #2512037
+
 * Mon Aug 3 2026 Leo Sandoval <lsandova@redhat.com> - 2.12-74
 - grub-efi-cc: disable TPM string measurements at runtime
 

                 reply	other threads:[~2026-08-14 21:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=178674150840.1.2172553180694935983.rpms-grub2-14c125ee1db2@fedoraproject.org \
    --to=josherna@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox