Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1754649

Summary: Specify path of PID file as "/run/stratisd.pid" instead of "/var/run/stratisd.pid"
Product: Red Hat Enterprise Linux 8 Reporter: mulhern <amulhern>
Component: stratisdAssignee: John Baublitz <jbaublitz>
Status: CLOSED ERRATA QA Contact: guazhang <guazhang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: agaikwad, amulhern, dkeefe, rhandlin
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 1.0.6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-28 15:41:56 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:

Description mulhern 2019-09-23 19:49:50 UTC
Description of problem:

If "/var/run" is not properly linked to "/run", then PID file can not be opened
when specified using "/var/run/stratisd.pid".

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

1.0.5

How reproducible:

The steps below should always work.

Steps to Reproduce:
1. unlink "/var/run" from "/run"
2. start stratisd using systemctl or directly
3. observe that it does not start and returns an IOError

Actual results:

In the unlikely but possible event that "/var/run" is not linked to "/run" when stratisd is started, stratisd will not start.

Expected results:

Even when "/var/run" is not linked to "/run" stratisd is still able to start, so long as no other stratisd instance is already running.

Additional info:

Related Fedora bz:
https://bugzilla.redhat.com/show_bug.cgi?id=1726612.
Upstream issue: https://github.com/stratis-storage/stratisd/issues/1630.
Upstream PR: https://github.com/stratis-storage/stratisd/pull/1632.

Comment 1 Jakub Krysl 2019-10-15 14:49:05 UTC
Mass migration to Guangwu.

Comment 3 guazhang@redhat.com 2019-11-26 06:44:14 UTC
Hello

[root@storageqe-24 var]# rm -rf run
[root@storageqe-24 var]# ll
total 32
drwxr-xr-x.  2 root root     6 8月  12 2018 adm
drwxr-xr-x.  8 root root    91 11月 26 00:53 cache
drwxr-xr-x. 46 test test 28672 11月 25 20:00 crash
drwxr-xr-x.  3 root root    18 11月 26 00:43 db
drwxr-xr-x.  3 root root    18 11月 26 00:43 empty
drwxr-xr-x.  2 root root     6 8月  12 2018 ftp
drwxr-xr-x.  2 root root     6 8月  12 2018 games
drwxr-xr-x.  2 root root     6 8月  12 2018 gopher
drwxr-xr-x.  3 root root    18 11月 26 00:42 kerberos
drwxr-xr-x. 30 root root  4096 11月 26 01:07 lib
drwxr-xr-x.  2 root root     6 8月  12 2018 local
lrwxrwxrwx.  1 root root    11 11月 26 00:42 lock -> ../run/lock
drwxr-xr-x. 10 root root   241 11月 26 00:55 log
lrwxrwxrwx.  1 root root    10 8月  12 2018 mail -> spool/mail
drwxr-xr-x.  2 root root     6 8月  12 2018 nis
drwxr-xr-x.  2 root root     6 8月  12 2018 opt
drwxr-xr-x.  2 root root     6 8月  12 2018 preserve
drwxr-xr-x. 10 root root   105 11月 26 00:55 spool
drwxrwxrwt.  4 root root   164 11月 26 01:36 tmp
drwxr-xr-x.  2 root root     6 8月  12 2018 yp
[root@storageqe-24 var]# 
[root@storageqe-24 var]# 
[root@storageqe-24 var]# systemctl restart stratisd
[root@storageqe-24 var]# 


so move to verified

Comment 5 errata-xmlrpc 2020-04-28 15:41:56 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, 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-2020:1634