[3.1+snap7] Attempts to write contents into a file which is not a directory with trailing slash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Image |
Won't Fix
|
Critical
|
Paul Mars |
Bug Description
I'm getting this error:
$ sudo ubuntu-image -v classic -w workdir/ -O output/ ubuntu-
[0] parse_image_
[1] calculate_states
[2] make_temporary_
[3] determine_
[4] build_gadget_tree
[5] prepare_gadget_tree
[6] load_gadget_yaml
[7] verify_
[8] germinate
[9] create_chroot
[10] install_packages
[11] prepare_image
Fetching firefox (3422)
Fetching gnome-42-2204 (143)
Fetching gtk-common-themes (1535)
Fetching snap-store (1047)
Fetching snapd-desktop-
Fetching core22 (867)
Fetching bare (5)
Fetching snapd (20298)
[12] preseed_image
[13] clean_rootfs
[14] customize_
[15] customize_fstab
[16] perform_
[17] set_default_locale
[18] populate_
[19] calculate_
[20] populate_
Error: Error in mountedFilesyst
$ snap info ubuntu-image
name: ubuntu-image
summary: Create Ubuntu images
publisher: Canonical✓
store-url: https:/
contact: <email address hidden>
license: unset
description: |
ubuntu-image is a tool used for creation of various Ubuntu preinstalled images, both classic and
snap-based.
commands:
- ubuntu-image
snap-id: 4RW78vIax8JW5S8
tracking: latest/edge
refresh-date: yesterday at 10:53 PST
channels:
latest/stable: 3.1 2023-11-28 (658) 40MB classic
latest/candidate: 3.1 2023-11-28 (658) 40MB classic
latest/beta: 3.1 2023-11-28 (658) 40MB classic
latest/edge: 3.1+snap3 2023-11-28 (668) 41MB classic
2/stable: 2.2+snap10 2023-04-06 (322) 8MB classic
2/candidate: 2.2+snap10 2023-04-06 (322) 8MB classic
2/beta: 2.2+snap10 2023-04-06 (322) 8MB classic
2/edge: 2.2+snap10 2023-04-06 (322) 8MB classic
installed: 3.1+snap3 (668) 41MB classic
description: | updated |
Changed in ubuntu-image: | |
assignee: | Dave Jones (waveform) → Paul Mars (upils) |
Changed in ubuntu-image: | |
importance: | Undecided → High |
tags: | added: foundations-todo |
Changed in ubuntu-image: | |
status: | New → Confirmed |
summary: |
- [3.1+snap6] Attempts to write contents into a file which is not a + [3.1+snap7] Attempts to write contents into a file which is not a directory with trailing slash |
Not clear if this is an issue in ubuntu-image or in https:/ /github. com/snapcore/ pi-gadget. git (though if it's the latter, it must be due to a behavior change in ubuntu-image). Dave, can you take a look?