public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/sudo] f45: Fix some rpmlint errors
@ 2026-10-07 12:38
0 siblings, 0 replies; only message in thread
From: @ 2026-10-07 12:38 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/sudo
Branch : f45
Commit : 7d70df8a318b362090016d094dcf7db28ff38de7
Author : Alejandro López <allopez@redhat.com>
Date : 2026-10-07T13:34:28+02:00
Stats : +12/-6 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/sudo/c/7d70df8a318b362090016d094dcf7db28ff38de7?branch=f45
Log:
Fix some rpmlint errors
---
diff --git a/sudo.rpmlintrc b/sudo.rpmlintrc
index d7c57d7..1888555 100644
--- a/sudo.rpmlintrc
+++ b/sudo.rpmlintrc
@@ -1,16 +1,19 @@
# Sudo allows restricted root access for specified users. In other words,
# it is a special package, which requires special permissions on on some
# of the installed files.
-addFilter("missing-call-to-setgroups-before-setuid (/usr/bin/sudo|/usr/bin/sudoreplay|/usr/sbin/sudo_logsrvd|/usr/sbin/sudo_sendlog|/usr/libexec/sudo/sudoers.so|)$")
+addFilter("missing-call-to-setgroups-before-setuid (/usr/bin/sudo|/usr/bin/sudoreplay|/usr/bin/sudo_logsrvd|/usr/bin/sudo_sendlog|/usr/libexec/sudo/sudoers.so|/usr/libexec/sudo/sesh)$")
addFilter("non-readable (/etc/sudo.conf|/etc/sudo_logsrvd.conf|/etc/sudoers|/usr/bin/sudoreplay) .*$")
-addFilter("non-standard-dir-perm (/etc/sudoers.d|/var/db/sudo|/var/db/sudo/lectured) .*$")
+addFilter("non-standard-dir-perm (/etc/sudoers.d|/var/db/sudo|/var/db/sudo/lectured|/run/sudo) [0-7]+$")
addFilter("setuid-binary /usr/bin/sudo .*$")
-addFilter("non-standard-executable-perm (/usr/bin/sudo|/usr/bin/sudoreplay) .*$")
+addFilter("non-standard-executable-perm (/usr/bin/sudo|/usr/bin/sudoreplay|/run/sudo/ts) [0-7]+$")
addFilter("wrong-file-end-of-line-encoding /usr/share/doc/sudo/schema.ActiveDirectory$")
addFilter("non-standard-dir-in-var db$")
+
+addFilter("post-without-tmpfile-creation /usr/lib/tmpfiles.d/sudo.conf$")
+
diff --git a/sudo.spec b/sudo.spec
index a609492..096aecf 100644
--- a/sudo.spec
+++ b/sudo.spec
@@ -56,8 +56,9 @@ BuildRequires: openssl-devel
%description logsrvd
-%{name}-logsrvd is a high-performance log server that accepts event and I/O logs from sudo.
-It can be used to implement centralized logging of sudo logs.
+%{name}-logsrvd is a high-performance log server that accepts event and
+I/O logs from sudo. It can be used to implement centralized logging of
+sudo logs.
%package python-plugin
Summary: Python plugin for %{name}
@@ -205,9 +206,11 @@ EOF
%{_mandir}/man5/sudoers_timestamp.5.gz
%dir %{_pkgdocdir}/
%{_pkgdocdir}/*
-%{!?_licensedir:%global license %%doc}
%license LICENSE.md
+%exclude %{_pkgdocdir}/LICENSE.md
%exclude %{_pkgdocdir}/ChangeLog
+%attr(0711,root,root) %ghost /run/sudo
+%attr(0700,root,root) %ghost /run/sudo/ts
%files devel
%doc plugins/sample/sample_plugin.c
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-07 12:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 12:38 [rpms/sudo] f45: Fix some rpmlint errors
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox