Bug 1906735

Summary: customization of /var/lib/containers in Silverblue
Product: [Fedora] Fedora Reporter: daniel-wtd <daniel>
Component: anacondaAssignee: Jiri Konecny <jkonecny>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: anaconda-maint-list, fujisan43, jkonecny, jonathan, kellin, vanmeeuwen+fedora, vponcova, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: anaconda-35.13-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-30 07:39:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
anaconda.log
none
syslog
none
storage.log
none
sysinfo
none
program.log none

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. ***