public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-blivet] rawhide: Fix extra mount options for Stratis filesystems in fstab
@ 2026-08-17 11:16 Vojtech Trefny
  0 siblings, 0 replies; only message in thread
From: Vojtech Trefny @ 2026-08-17 11:16 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-blivet
Branch : rawhide
Commit : 065e7b2f67aed2a967d7a49e6fa94f275f3c1776
Author : Vojtech Trefny <vtrefny@redhat.com>
Date   : 2026-08-17T12:37:54+02:00
Stats  : +33/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/python-blivet/c/065e7b2f67aed2a967d7a49e6fa94f275f3c1776?branch=rawhide

Log:
Fix extra mount options for Stratis filesystems in fstab

---
diff --git a/0002-Fix-extra-mount-options-for-Stratis-filesystems-in-fstab.patch b/0002-Fix-extra-mount-options-for-Stratis-filesystems-in-fstab.patch
new file mode 100644
index 0000000..3799b54
--- /dev/null
+++ b/0002-Fix-extra-mount-options-for-Stratis-filesystems-in-fstab.patch
@@ -0,0 +1,27 @@
+From 9b5f72aa0e24b3d8ca21920f0d0bd2abd0e620f1 Mon Sep 17 00:00:00 2001
+From: Vojtech Trefny <vtrefny@redhat.com>
+Date: Fri, 14 Aug 2026 07:39:59 +0200
+Subject: [PATCH] Fix extra mount options for Stratis filesystems in fstab
+
+Missing ".service" in the x-systemd options.
+---
+ blivet/formats/fs.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/blivet/formats/fs.py b/blivet/formats/fs.py
+index 024c6cbbf..916eaf742 100644
+--- a/blivet/formats/fs.py
++++ b/blivet/formats/fs.py
+@@ -1255,9 +1255,9 @@ def __init__(self, **kwargs):
+     def _get_options(self):
+         opts = super(StratisXFS, self)._get_options()
+         if self.mountpoint != "/":
+-            stratis_opts = "x-systemd.requires=stratis-fstab-setup@%s," \
+-                           "x-systemd.after=stratis-fstab-setup@%s" % (self.pool_uuid,
+-                                                                       self.pool_uuid)
++            stratis_opts = "x-systemd.requires=stratis-fstab-setup@%s.service," \
++                           "x-systemd.after=stratis-fstab-setup@%s.service" % (self.pool_uuid,
++                                                                               self.pool_uuid)
+         else:
+             stratis_opts = None
+         return ",".join(o for o in (opts, stratis_opts) if o)

diff --git a/python-blivet.spec b/python-blivet.spec
index 0841456..f7efef6 100644
--- a/python-blivet.spec
+++ b/python-blivet.spec
@@ -5,7 +5,7 @@ Version: 3.14.1
 
 #%%global prerelease .b2
 # prerelease, if defined, should be something like .a1, .b1, .b2.dev1, or .c2
-Release: 1%{?dist}
+Release: 2%{?dist}
 Epoch: 1
 License: LGPL-2.1-or-later
 %global realname blivet
@@ -17,6 +17,8 @@ Source1: http://github.com/storaged-project/blivet/releases/download/%{realname}
 Patch0: 0001-remove-btrfs-plugin.patch
 %endif
 
+Patch1: 0002-Fix-extra-mount-options-for-Stratis-filesystems-in-fstab.patch
+
 # Versions of required components (done so we make sure the buildrequires
 # match the requires versions of things).
 %global partedver 1.8.1
@@ -133,6 +135,9 @@ make DESTDIR=%{buildroot} install
 %{python3_sitelib}/*
 
 %changelog
+* Mon Aug 10 2026 Vojtech Trefny <vtrefny@redhat.com> - 1:3.14.1-2
+- Fix extra mount options for Stratis filesystems in fstab
+
 * Mon Aug 03 2026 Packit <hello@packit.dev> - 1:3.14.1-1
 - Update to version 3.14.1
 

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

only message in thread, other threads:[~2026-08-17 11:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-17 11:16 [rpms/python-blivet] rawhide: Fix extra mount options for Stratis filesystems in fstab Vojtech Trefny

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