Setup fails with OSError: [Errno 22] Invalid argument (full /var/log available)

Bug #1784768 reported by VF
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
console-setup (Ubuntu)
New
Undecided
Unassigned

Bug Description

Tried to install Ubuntu 18.04.1 amd64 from USB stick.

Chose manual partitioning of 4 physical disks.

After partitioning I started to enter my name and the hostname. During that setup suddenly failed with an exception:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/curtin/commands/main.py", line 201, in main
    ret = args.func(args)
  File "/usr/lib/python3/dist-packages/curtin/commands/block_meta.py", line 58, in block_meta
    meta_custom(args)
  File "/usr/lib/python3/dist-packages/curtin/commands/block_meta.py", line 1471, in meta_custom
    clear_holders.clear_holders(disk_paths)
  File "/usr/lib/python3/dist-packages/curtin/block/clear_holders.py", line 587, in clear_holders
    shutdown_function(dev_info['device'])
  File "/usr/lib/python3/dist-packages/curtin/block/clear_holders.py", line 310, in wipe_superblock
    if is_swap_device(blockdev):
  File "/usr/lib/python3/dist-packages/curtin/swap.py", line 108, in is_swap_device
    decode=False)
  File "/usr/lib/python3/dist-packages/curtin/util.py", line 549, in load_file
    fp.seek(offset)
OSError: [Errno 22] Invalid argument

This happened three times in a row.

I tried to have a 2GB /boot partition, then creating vg0 on two physical partitions with a logical partition for /root. Also tried to add a swap, but it did not make a difference.

Machine is stable, has 32GB of memory.

Revision history for this message
VF (fviktor) wrote :
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.