RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1798244 - Stratis devices should inhabit an existing root directory path
Summary: Stratis devices should inhabit an existing root directory path
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: stratisd
Version: 8.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: John Baublitz
QA Contact: guazhang@redhat.com
bilhar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-04 22:21 UTC by Dennis Keefe
Modified: 2021-09-06 15:20 UTC (History)
6 users (show)

Fixed In Version: 2.2.0
Doc Type: Enhancement
Doc Text:
.Stratis filesystem symlink paths have changed With this enhancement, Stratis filesystem symlink paths have changed from `/stratis/_<stratis-pool>_/_<filesystem-name>_` to `/dev/stratis/_<stratis-pool>_/_<filesystem-name>_`. Consequently, all existing Stratis symlinks must be migrated to utilize the new symlink paths. Use the included `stratis_migrate_symlinks.sh` migration script or reboot your system to update the symlink paths. If you manually changed the `systemd` unit files or the `/etc/fstab` file to automatically mount Stratis filesystems, you must update them with the new symlink paths. [NOTE] If you do not update your configuration with the new Stratis symlink paths, or if you temporarily disable the automatic mounts, the boot process might not complete the next time you reboot or start your system.
Clone Of:
Environment:
Last Closed: 2021-05-18 15:58:21 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)

Description Dennis Keefe 2020-02-04 22:21:42 UTC
Description of problem:
Stratis currently creates a directory of /stratis when stratisd is started. 
This is in opposition to the Filesystem Hierarchy Standard.  Also, /stratis
requires special selinux permission, and the root path of stratis may prevent
other products and applications from access the artifacts created by stratis, such as, containers and SilverBlue. 

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

How reproducible:
Install stratisd and start service

Steps to Reproduce:
1. yum -y install stratisd 
2. systemctl enable stratisd; systemctl start straisd
3. ls /

Actual results:
The results show that there is a stratis directory in root

Expected results:
Stratis directory should be located in an existing root directory, such as, /dev


Additional info:
https://github.com/stratis-storage/project/issues/95

Comment 2 mulhern 2020-07-14 17:20:20 UTC
Upstream https://github.com/stratis-storage/project/issues/95.

Comment 5 guazhang@redhat.com 2020-12-15 12:40:01 UTC
Hi

test pass with stratisd-2.3.0 

[root@hpe-dl360pgen8-08 ~]# rpm -qa |grep stratis
stratisd-2.3.0-2.el8.x86_64
stratis-cli-2.3.0-2.el8.noarch
[root@hpe-dl360pgen8-08 ~]# stratis pool list
Name                   Total Physical   Properties
test2   10 GiB / 37.63 MiB / 9.96 GiB      ~Ca,~Cr
[root@hpe-dl360pgen8-08 ~]# ls /stratis
ls: cannot access '/stratis': No such file or directory
[root@hpe-dl360pgen8-08 ~]# ls  /dev/stratis
ls: cannot access '/dev/stratis': No such file or directory
[root@hpe-dl360pgen8-08 ~]# stratis fs  create test2 fs1
[root@hpe-dl360pgen8-08 ~]# ls /dev/stratis/test2/fs1 
/dev/stratis/test2/fs1

lsblk
sdc                                                                                       8:32   0    10G  0 disk    
`-stratis-1-private-127f6a267d564fb385c68195895339be-physical-originsub                 253:3    0    10G  0 stratis 
  |-stratis-1-private-127f6a267d564fb385c68195895339be-flex-thinmeta                    253:4    0    16M  0 stratis 
  | `-stratis-1-private-127f6a267d564fb385c68195895339be-thinpool-pool                  253:7    0    10G  0 stratis 
  |   `-stratis-1-127f6a267d564fb385c68195895339be-thin-fs-ee2ac7626cda4300b3296897eff1bc6d
  |                                                                                     253:8    0     1T  0 stratis /root/aa
  |-stratis-1-private-127f6a267d564fb385c68195895339be-flex-thindata                    253:5    0    10G  0 stratis 
  | `-stratis-1-private-127f6a267d564fb385c68195895339be-thinpool-pool                  253:7    0    10G  0 stratis 
  |   `-stratis-1-127f6a267d564fb385c68195895339be-thin-fs-ee2ac7626cda4300b3296897eff1bc6d
  |                                                                                     253:8    0     1T  0 stratis /root/aa
  `-stratis-1-private-127f6a267d564fb385c68195895339be-flex-mdv                         253:6    0    16M  0 stratis

Comment 11 Dennis Keefe 2021-05-05 12:07:24 UTC
Agreed with changes

Comment 15 errata-xmlrpc 2021-05-18 15:58:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (stratis-cli bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:1901


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