/snap/subiquity/1561/usr/bin/subiquity:ValueError:main:wrapper:log_time:block_meta:meta_clear:clear_holders:wipe_superblock:_wipe_superblock:wipe_volume:quick_zero:zero_file_at_offsets
Bug #1868177 reported by
errors.ubuntu.com bug bridge
This bug affects 42 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Fix Released
|
Undecided
|
Unassigned | ||
subiquity |
New
|
Undecided
|
Unassigned | ||
curtin (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The Ubuntu Error Tracker has been receiving reports about a problem regarding subiquity. This problem was most recently seen with package version 1561, the problem page at https:/
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://
Related branches
~mwhudson/curtin:lp-1868177
- Server Team CI bot: Approve (continuous-integration)
- curtin developers: Pending requested
-
Diff: 216 lines (+25/-24)5 files modifiedcurtin/block/__init__.py (+6/-7)
curtin/block/clear_holders.py (+2/-3)
examples/tests/uefi_basic.yaml (+4/-0)
tests/unittests/test_block.py (+2/-2)
tests/unittests/test_clear_holders.py (+11/-12)
To post a comment you must log in.
The tracebacks look like this:
File "/snap/ subiquity/ 1561/lib/ python3. 6/site- packages/ curtin/ block/clear_ holders. py", line 662, in clear_holders function( dev_info[ 'device' ]) subiquity/ 1561/lib/ python3. 6/site- packages/ curtin/ block/clear_ holders. py", line 323, in wipe_superblock superblock( mp_dev if mp_dev else blockdev) subiquity/ 1561/lib/ python3. 6/site- packages/ curtin/ block/clear_ holders. py", line 371, in _wipe_superblock exclusive, strict=strict) subiquity/ 1561/lib/ python3. 6/site- packages/ curtin/ block/_ _init__ .py", line 1127, in wipe_volume zero(path, partitions=False, exclusive= exclusive, strict=strict) subiquity/ 1561/lib/ python3. 6/site- packages/ curtin/ block/_ _init__ .py", line 1041, in quick_zero exclusive, strict=strict) subiquity/ 1561/lib/ python3. 6/site- packages/ curtin/ block/_ _init__ .py", line 1084, in zero_file_ at_offsets m_short. format( **msg_vals) )
shutdown_
File "/snap/
_wipe_
File "/snap/
exclusive=
File "/snap/
quick_
File "/snap/
exclusive=
File "/snap/
raise ValueError(
ValueError: /dev/sda1 (size=524288): 1048576 bytes from 0 > size.
Looks like it's probably trying to wipe an extremely small partition? I guess subiquity could prevent people from trying to reuse those.