Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package toolbox for openSUSE:Factory checked 
in at 2023-10-30 22:09:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/toolbox (Old)
 and      /work/SRC/openSUSE:Factory/.toolbox.new.17445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "toolbox"

Mon Oct 30 22:09:54 2023 rev:25 rq:1121193 version:2.3+git20231030.3a6ef35

Changes:
--------
--- /work/SRC/openSUSE:Factory/toolbox/toolbox.changes  2023-05-09 
13:08:09.809315832 +0200
+++ /work/SRC/openSUSE:Factory/.toolbox.new.17445/toolbox.changes       
2023-10-30 22:09:56.950365741 +0100
@@ -1,0 +2,9 @@
+Mon Oct 30 13:38:45 UTC 2023 - ku...@suse.com
+
+- Update to version 2.3+git20231030.3a6ef35:
+  * Mount /dev/pts as mount type=devpts instead of --volume
+  * fix typo creat -> create
+  * Remove trailing whitespace
+  * Fix bash error when container cannot be pulled
+
+-------------------------------------------------------------------

Old:
----
  microos-toolbox-2.3+git20220622.32785f7.tar.xz

New:
----
  microos-toolbox-2.3+git20231030.3a6ef35.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ toolbox.spec ++++++
--- /var/tmp/diff_new_pack.Aj14T6/_old  2023-10-30 22:09:57.670392304 +0100
+++ /var/tmp/diff_new_pack.Aj14T6/_new  2023-10-30 22:09:57.670392304 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           toolbox
-Version:        2.3+git20220622.32785f7
+Version:        2.3+git20231030.3a6ef35
 Release:        0
 Summary:        Script to start a toolbox container for system debugging
 License:        Apache-2.0

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.Aj14T6/_old  2023-10-30 22:09:57.710393779 +0100
+++ /var/tmp/diff_new_pack.Aj14T6/_new  2023-10-30 22:09:57.714393927 +0100
@@ -1,7 +1,7 @@
 <servicedata>
   <service name="tar_scm">
     <param name="url">https://github.com/openSUSE/microos-toolbox.git</param>
-    <param 
name="changesrevision">32785f726a359255748f24ad1dd61fc3651453ef</param>
+    <param 
name="changesrevision">3a6ef35d392295752584e7e888c4469b53eed7ee</param>
  </service>
 </servicedata>
 (No newline at EOF)

++++++ microos-toolbox-2.3+git20220622.32785f7.tar.xz -> 
microos-toolbox-2.3+git20231030.3a6ef35.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/microos-toolbox-2.3+git20220622.32785f7/toolbox 
new/microos-toolbox-2.3+git20231030.3a6ef35/toolbox
--- old/microos-toolbox-2.3+git20220622.32785f7/toolbox 2022-06-22 
21:47:42.000000000 +0200
+++ new/microos-toolbox-2.3+git20231030.3a6ef35/toolbox 2023-10-30 
14:37:45.000000000 +0100
@@ -47,14 +47,14 @@
 }
 
 create() {
-    local msg="creat"
+    local msg="create"
     if ! container_exists; then
         if ! image_exists || [ -z "$NO_PULL" ]; then
             image_pull
         fi
         local runlabel
         runlabel=$(image_runlabel) ||:
-       
+
         echo "Spawning a container '$TOOLBOX_NAME' with image '$TOOLBOX_IMAGE'"
         if [[ -z "$runlabel" ]]; then
             container_create
@@ -126,7 +126,8 @@
 }
 
 cleanup() {
-    if [ $(container_active) -eq 0 ] && [ -z "$NO_STOP" ]; then
+    active="$(container_active)"
+    if [ $active != "" ] && [ $active -eq 0 ] && [ -z "$NO_STOP" ]; then
        ${SUDO} $CLI stop "$TOOLBOX_NAME" &>/dev/null
     fi
 }
@@ -194,7 +195,7 @@
 container_create() {
     if [ -z "$SANDBOX" ]; then
         # this is the default behavior, unless --sandbox is specified
-        CREATE_NO_SANDBOX="--volume /dev:/dev:rslave --volume /sys:/sys:rslave 
--volume /:/media/root:rslave"
+        CREATE_NO_SANDBOX="--mount type=devpts,destination=/dev/pts,uid=$(id 
-u) --volume /sys:/sys:rslave --volume /:/media/root:rslave"
         CREATE_NO_SANDBOX="$CREATE_NO_SANDBOX --privileged --security-opt 
label=disable --pid host --ipc host"
     fi
     if ! ${SUDO} $CLI create \

Reply via email to