public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [flatpaks/flatpak-runtime] f45: Remove ssh_config.d files
@ 2026-09-11 14:43 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-09-11 14:43 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : flatpaks/flatpak-runtime
            Branch : f45
            Commit : 3d33fc980cf83be3bcd6ebe5a0d7f8c83cb1046f
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-03-02T21:13:17-05:00
            Stats  : +6/-0 in 2 file(s)
            URL    : https://src.fedoraproject.org/flatpaks/flatpak-runtime/c/3d33fc980cf83be3bcd6ebe5a0d7f8c83cb1046f?branch=f45

            Log:
            Remove ssh_config.d files

SSH checks the permissions and ownership of these files (but not of the
main ssh_config file itself).  While it needs to be world readable, the
expected owner is root, but flatpaks show all files as to nfsnobody.

https://gitlab.com/fedora/sigs/flatpak/fedora-flatpaks/-/issues/41

---
diff --git a/container-sdk.in.yaml b/container-sdk.in.yaml
index f8dea88..bcb32f3 100644
--- a/container-sdk.in.yaml
+++ b/container-sdk.in.yaml
@@ -92,6 +92,9 @@ flatpak:
         rm -fr /usr/lib/systemd/
         rm -fr /usr/share/{doc,info,man}
 
+        # SSH error: Bad owner or permissions on /etc/ssh/ssh_config.d/50-redhat.conf
+        rm -f /etc/ssh/ssh_config.d/*
+
         # enable dynamic ld.so.cache generation
         [ -e /usr/bin/ldconfig ] || ln -s ../sbin/ldconfig /usr/bin/ldconfig
         cat /etc/ld.so.conf.d/*.conf > /etc/ld.so.conf

diff --git a/container.in.yaml b/container.in.yaml
index d225c95..396f3f6 100644
--- a/container.in.yaml
+++ b/container.in.yaml
@@ -87,6 +87,9 @@ flatpak:
         rm -fr /usr/lib/systemd/
         rm -fr /usr/share/{doc,info,man}
 
+        # SSH error: Bad owner or permissions on /etc/ssh/ssh_config.d/50-redhat.conf
+        rm -f /etc/ssh/ssh_config.d/*
+
         # enable dynamic ld.so.cache generation
         [ -e /usr/bin/ldconfig ] || ln -s ../sbin/ldconfig /usr/bin/ldconfig
         cat /etc/ld.so.conf.d/*.conf > /etc/ld.so.conf

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

only message in thread, other threads:[~2026-09-11 14:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 14:43 [flatpaks/flatpak-runtime] f45: Remove ssh_config.d files Yaakov Selkowitz

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