public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/sudo] f45: Fix some rpmlint errors
Date: Wed, 07 Oct 2026 12:38:26 GMT [thread overview]
Message-ID: <179137670696.1.7390979851786040367.rpms-sudo-7d70df8a318b@fedoraproject.org> (raw)
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
reply other threads:[~2026-10-07 12:38 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=179137670696.1.7390979851786040367.rpms-sudo-7d70df8a318b@fedoraproject.org \
--to=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