Bug 1906735 - customization of /var/lib/containers in Silverblue
Summary: customization of /var/lib/containers in Silverblue
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jiri Konecny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-11 10:20 UTC by daniel-wtd
Modified: 2021-06-29 13:56 UTC (History)
8 users (show)

Fixed In Version: anaconda-35.13-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-30 07:39:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
anaconda.log (25.02 KB, text/plain)
2020-12-11 10:20 UTC, daniel-wtd
no flags Details
syslog (698.01 KB, text/plain)
2020-12-11 10:20 UTC, daniel-wtd
no flags Details
storage.log (209.93 KB, text/plain)
2020-12-11 10:21 UTC, daniel-wtd
no flags Details
sysinfo (9.93 KB, text/plain)
2020-12-11 10:21 UTC, daniel-wtd
no flags Details
program.log (6.41 KB, text/plain)
2021-02-23 10:35 UTC, daniel-wtd
no flags Details

Description daniel-wtd 2020-12-11 10:20:10 UTC
Created attachment 1738416 [details]
anaconda.log

Description of problem:

During the setup of SB, I wanted to customize my partitions to achieve the following:

- /var/lib/containers on a different subvolume
- /var/lib/libvirt on a different subvolume

Both is not achievable, since the installer will stop with the below error:

mount ['--bind', '/mnt/sysimage/var/lib/containers', '/mnt/sysroot/var/lib/containers'] exited with code 32

Since the docs state /var/* should be possible, I thought this should be possible.

Version-Release number of selected component (if applicable):

anaconda 33.25.4

How reproducible:

Steps to Reproduce:

1. Start a machine with the fedora silverblue image
2. Choose custom disk
3. Generate defaults based on btrfs
4. add a subolume for /var/lib/containers
5. approve the creation of partitions
6. start installation

Actual results:

Installation stops with:

mount ['--bind', '/mnt/sysimage/var/lib/containers', '/mnt/sysroot/var/lib/containers'] exited with code 32

Expected results:

Installation is done and /var/lib/containers is created.

Additional info:

This is a requested report, based on: https://github.com/fedora-silverblue/issue-tracker/issues/114

Comment 1 daniel-wtd 2020-12-11 10:20:56 UTC
Created attachment 1738417 [details]
syslog

Comment 2 daniel-wtd 2020-12-11 10:21:30 UTC
Created attachment 1738418 [details]
storage.log

Comment 3 daniel-wtd 2020-12-11 10:21:52 UTC
Created attachment 1738419 [details]
sysinfo

Comment 4 Jiri Konecny 2021-02-19 09:24:28 UTC
I don't see the error in the logs. Could you please attach also 'program.log' that could reveal some more details.

Comment 5 daniel-wtd 2021-02-23 10:35:12 UTC
Created attachment 1758804 [details]
program.log

Comment 6 daniel-wtd 2021-02-23 10:35:27 UTC
Hi Jiri,

thank you for having a look. I reproduced the issue and attached the requested "program.log".

I hope this helps.

Best regards,
Daniel

Comment 7 Jiri Konecny 2021-04-16 08:31:06 UTC
Seems like the problem is that the folder where we want to put your mount point does not exists.

11:29:52,335 INF program: Running... mount --bind /mnt/sysimage/var/lib/containers /mnt/sysroot/var/lib/containers
11:29:52,340 INF program: mount: /mnt/sysroot/var/lib/containers: mount point does not exist.
11:29:52,341 DBG program: Return code: 32

Comment 8 Jiri Konecny 2021-04-16 15:53:18 UTC
PR: https://github.com/rhinstaller/anaconda/pull/3297

Comment 9 Vladimír Slávik 2021-06-29 13:56:10 UTC
*** Bug 1845095 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.