public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/sendmail] rawhide: Used workaround for /var/mqueue to support Image mode
@ 2026-07-29  9:07 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-07-29  9:07 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/sendmail
Branch : rawhide
Commit : 3ddec037d426ff4e638cccecce3a98451cc3a348
Author : Jaroslav Škarvada <jskarvad@redhat.com>
Date   : 2026-07-29T11:06:59+02:00
Stats  : +17/-4 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/sendmail/c/3ddec037d426ff4e638cccecce3a98451cc3a348?branch=rawhide

Log:
Used workaround for /var/mqueue to support Image mode

---
diff --git a/sendmail.spec b/sendmail.spec
index a86e17f..900c8ba 100644
--- a/sendmail.spec
+++ b/sendmail.spec
@@ -42,7 +42,7 @@
 Summary: A widely used Mail Transport Agent (MTA)
 Name: sendmail
 Version: 8.18.2
-Release: 6%{?dist}
+Release: 7%{?dist}
 License: sendmail-8.23 AND MIT AND MIT-CMU AND BSD-3-Clause AND CDDL-1.0 AND BSD-4-Clause AND BSD-4-Clause-UC AND PostgreSQL AND ISC AND HPND-sell-variant AND mailprio
 URL: http://www.sendmail.org/
 
@@ -77,6 +77,8 @@ Source15: sendmail-etc-mail-mailertable
 Source16: sendmail-etc-mail-trusted-users
 # default /etc/mail/virtusertable
 Source17: sendmail-etc-mail-virtusertable
+# /var/spool workaround for Image mode
+Source18: sendmail.tmpfiles
 # fix man path and makemap man page
 Patch3: sendmail-8.17.2-makemapman.patch
 # fix smrsh paths
@@ -525,12 +527,15 @@ touch %{buildroot}%{_sysconfdir}/pam.d/smtp
 
 # create stub man pages
 for m in man8/hoststat.8 man8/purgestat.8; do
-	[ -f %{buildroot}%{_mandir}/$m ] || 
+	[ -f %{buildroot}%{_mandir}/$m ] ||
 		echo ".so man8/sendmail.8" > %{buildroot}%{_mandir}/$m
 done
 
 install -m0644 -D sendmail.sysusers.conf %{buildroot}%{_sysusersdir}/sendmail.conf
 
+# systemd-tmpfiles
+install -p -D -m 0644 %{SOURCE18} %{buildroot}%{_tmpfilesdir}/sendmail.conf
+
 %pre
 # hack to turn sbin/makemap and man8/makemap.8.gz into alternatives symlink
 # (part of the rhbz#1219178 fix), this could be probably dropped in f25+
@@ -691,8 +696,8 @@ exit 0
 %dir %{stdir}
 %dir %{_sysconfdir}/smrsh
 %dir %{maildir}
-%attr(0770,smmsp,smmsp) %dir %{spooldir}/clientmqueue
-%attr(0700,root,mail) %dir %{spooldir}/mqueue
+%ghost %attr(0770,smmsp,smmsp) %dir %{spooldir}/clientmqueue
+%ghost %attr(0700,root,mail) %dir %{spooldir}/mqueue
 
 %config(noreplace) %verify(not size mtime md5) %{stdir}/statistics
 %config(noreplace) %{maildir}/Makefile
@@ -727,6 +732,7 @@ exit 0
 %config(noreplace) %{_sysconfdir}/sasl2/Sendmail.conf
 %endif
 %{_sysusersdir}/sendmail.conf
+%{_tmpfilesdir}/sendmail.conf
 
 %files cf
 %doc %{sendmailcf}/README
@@ -765,6 +771,9 @@ exit 0
 
 
 %changelog
+* Wed Jul 29 2026 Jaroslav Škarvada <jskarvad@redhat.com> - 8.18.2-7
+- Used workaround for /var/mqueue to support Image mode
+
 * Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 8.18.2-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sendmail.tmpfiles b/sendmail.tmpfiles
new file mode 100644
index 0000000..1b7e21a
--- /dev/null
+++ b/sendmail.tmpfiles
@@ -0,0 +1,4 @@
+# sendmail spool
+d /var/spool/mqueue 0700 root mail -
+d /var/spool/clientmqueue 0770 smmsp smmsp -
+f /var/spool/clientmqueue/sm-client.st 0660 smmsp smmsp

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-29  9:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-29  9:07 [rpms/sendmail] rawhide: Used workaround for /var/mqueue to support Image mode 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox