Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package screen for openSUSE:Factory checked in at 2026-11-23 12:19:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/screen (Old) and /work/SRC/openSUSE:Factory/.screen.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "screen" Mon Nov 23 12:19:13 2026 rev:69 rq:1395655 version:5.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/screen/screen.changes 2026-10-30 18:03:09.814313984 +0100 +++ /work/SRC/openSUSE:Factory/.screen.new.1340718/screen.changes 2026-11-23 12:19:19.229406891 +0100 @@ -1,0 +2,7 @@ +Tue Nov 3 11:21:08 UTC 2026 - Martin Pluskal <[email protected]> + +- Fix boo#1289023: ship /run/screens mode 1777 in tmpfiles.d. + Non-setuid screen 5.x requires a 777 socket dir; the sticky + bit keeps user socket dirs apart. Add a %check guard. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ screen.spec ++++++ --- /var/tmp/diff_new_pack.jV7MRg/_old 2026-11-23 12:19:20.793472692 +0100 +++ /var/tmp/diff_new_pack.jV7MRg/_new 2026-11-23 12:19:20.795472776 +0100 @@ -90,7 +90,7 @@ mkdir -p %{buildroot}%{_prefix}/lib mkdir -p %{buildroot}%{_tmpfilesdir} mkdir -p %{buildroot}%{rundir}/screens -chmod 755 %{buildroot}%{rundir}/screens +chmod 1777 %{buildroot}%{rundir}/screens install -m 644 screenrc %{buildroot}%{_sysconfdir}/screenrc install -m 644 %{SOURCE1} %{buildroot}%{_tmpfilesdir} %if 0%{?suse_version} > 1500 @@ -105,6 +105,13 @@ make tests/test-winmsgbuf tests/test-winmsgcond ./tests/test-winmsgbuf ./tests/test-winmsgcond +# boo#1289023: non-setuid screen 5.x only accepts a 777 socket dir, so +# tmpfiles.d ships 1777 (sticky keeps users' socket dirs apart). SCREENDIR +# bypasses the compiled-in dir, but still exercises listing as non-root. +mkdir -p .check-screens && chmod 1777 .check-screens +SCREENDIR=$PWD/.check-screens ./screen-%{version} -ls >ls.out 2>&1 || : +if grep -q "must have mode" ls.out; then echo "socket dir rejected:"; cat ls.out; exit 1; fi +grep -q "^d /run/screens 1777 " %{SOURCE1} %files %config %{_sysconfdir}/screenrc ++++++ screen.conf ++++++ --- /var/tmp/diff_new_pack.jV7MRg/_old 2026-11-23 12:19:20.858475427 +0100 +++ /var/tmp/diff_new_pack.jV7MRg/_new 2026-11-23 12:19:20.863475637 +0100 @@ -1,4 +1,4 @@ # Screen needs some files in /run: -d /run/screens 0755 root root - +d /run/screens 1777 root root -
