Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package toolbox for openSUSE:Factory checked in at 2025-07-01 11:33:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/toolbox (Old) and /work/SRC/openSUSE:Factory/.toolbox.new.7067 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "toolbox" Tue Jul 1 11:33:23 2025 rev:32 rq:1289210 version:2.4+git20250630.5e08e45 Changes: -------- --- /work/SRC/openSUSE:Factory/toolbox/toolbox.changes 2025-05-06 16:39:27.559229615 +0200 +++ /work/SRC/openSUSE:Factory/.toolbox.new.7067/toolbox.changes 2025-07-01 11:33:52.164602007 +0200 @@ -1,0 +2,6 @@ +Mon Jun 30 08:29:43 UTC 2025 - Thorsten Kukuk <[email protected]> + +- Update to version 2.4+git20250630.5e08e45: + * Forbid --user if running as root + +------------------------------------------------------------------- Old: ---- microos-toolbox-2.4+git20250429.b335d1b.tar.xz New: ---- microos-toolbox-2.4+git20250630.5e08e45.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ toolbox.spec ++++++ --- /var/tmp/diff_new_pack.yWid5j/_old 2025-07-01 11:33:52.728625378 +0200 +++ /var/tmp/diff_new_pack.yWid5j/_new 2025-07-01 11:33:52.732625544 +0200 @@ -17,7 +17,7 @@ Name: toolbox -Version: 2.4+git20250429.b335d1b +Version: 2.4+git20250630.5e08e45 Release: 0 Summary: Script to start a toolbox container for system debugging License: Apache-2.0 ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.yWid5j/_old 2025-07-01 11:33:52.780627533 +0200 +++ /var/tmp/diff_new_pack.yWid5j/_new 2025-07-01 11:33:52.784627698 +0200 @@ -1,7 +1,7 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/openSUSE/microos-toolbox.git</param> - <param name="changesrevision">b335d1b3bc1178673a41ee5d13fe7e31ee638982</param> + <param name="changesrevision">5e08e45074069bfe2cc651ac6b2f1b8c94b5eee6</param> </service> </servicedata> (No newline at EOF) ++++++ microos-toolbox-2.4+git20250429.b335d1b.tar.xz -> microos-toolbox-2.4+git20250630.5e08e45.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/microos-toolbox-2.4+git20250429.b335d1b/toolbox new/microos-toolbox-2.4+git20250630.5e08e45/toolbox --- old/microos-toolbox-2.4+git20250429.b335d1b/toolbox 2025-04-29 10:33:55.000000000 +0200 +++ new/microos-toolbox-2.4+git20250630.5e08e45/toolbox 2025-06-30 10:21:51.000000000 +0200 @@ -262,7 +262,7 @@ Options: -h/--help: Shows this help message - -u/--user: Run as the current user inside the container + -u/--user: Run as the current user inside the container (don't use this when logged in as 'root') -r/--root: Runs $CLI via sudo as root -X/--runtime <runtime_bin>: Use the specified runtime (e.g., /usr/bin/crun) -n/--nostop: Does not stop the container on exit, allowing multiple @@ -350,6 +350,11 @@ shift 2 ;; -u|--user) + if [[ $(id -u) == 0 ]] ; then + echo "ERROR: --user mode not available if running as root" + show_help + exit 1 + fi shift MODE="user" ;;
