Bug 1214879 - /usr/bin/toolbox: line 129: [: -eq: unary operator expected
Summary: /usr/bin/toolbox: line 129: [: -eq: unary operator expected
Status: NEW
Alias: None
Product: openSUSE Leap Micro
Classification: openSUSE
Component: Base (show other bugs)
Version: 5.4
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Lubos Kocman
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-01 10:13 UTC by Lubos Kocman
Modified: 2023-09-01 10:15 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lubos Kocman 2023-09-01 10:13:23 UTC
localhost:~ # toolbox enter
Trying to pull registry.opensuse.org/opensuse/leap-micro/5.4/toolbox:latest...
Getting image source signatures
Copying blob 689675fc10b7 done  
Copying blob 4f5569407826 done  
Copying config ec6445de47 done  
Writing manifest to image destination
Storing signatures
ec6445de4760822109e015c9a2b1f501228c5db17454970cb7d4e0335bd5c58e
Spawning a container 'toolbox-root-user' with image 'registry.opensuse.org/opensuse/leap-micro/5.4/toolbox'
Error: keep-id is only supported in rootless mode
/usr/bin/toolbox: failed to create container 'toolbox-root-user'
/usr/bin/toolbox: line 129: [: -eq: unary operator expected
Comment 1 Lubos Kocman 2023-09-01 10:15:41 UTC
out of interest the --root seems to pass

localhost:~ # toolbox create shell --root
Trying to pull registry.opensuse.org/opensuse/leap-micro/5.4/toolbox:latest...
Getting image source signatures
Copying blob 4f5569407826 skipped: already exists  
Copying blob 689675fc10b7 skipped: already exists  
Copying config ec6445de47 done  
Writing manifest to image destination
Storing signatures
ec6445de4760822109e015c9a2b1f501228c5db17454970cb7d4e0335bd5c58e
Spawning a container 'shell' with image 'registry.opensuse.org/opensuse/leap-micro/5.4/toolbox'
Setting up user 'root' (with 'sudo' access) inside the container...
(NOTE that, if 'sudo' and related packages are not present in the image already,
this may take some time. But this will only happen now that the toolbox is being created)
Container created.