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.
Hi, Juston,
Can you modify ixpdimm-monitor to just create this database file if it doesn't exist instead of failing to start? Then we can nuke the database file from the files list for the package.
If that really is a config file that users modify, we could do something like:
%verify(not md5 size mtime) %config(noreplace) /var/lib/ixpdimm_sw/apss.dat
Juston, what do you think?
(In reply to Jeff Moyer from comment #3)
> Hi, Juston,
>
> Can you modify ixpdimm-monitor to just create this database file if it
> doesn't exist instead of failing to start? Then we can nuke the database
> file from the files list for the package.
Someone suggested this before, we'll look into it, it makes sense to me.
(In reply to Jeff Moyer from comment #4)
> If that really is a config file that users modify, we could do something
> like:
>
> %verify(not md5 size mtime) %config(noreplace) /var/lib/ixpdimm_sw/apss.dat
>
> Juston, what do you think?
Correct me if I'm wrong but adding that line will prevent an overwrite on an upgrade?
So it does store some user preferences there. The problem is it also stores data we may change in new versions...
We'll look into a fix for this. Thanks!
(In reply to Jeff Moyer from comment #2)
> That file should not be owned by any package. We also need to stop the
> ixpdimm-monitor %post from starting the service.
Is this still applicable? Should we not be starting the service?
Yes, that's still applicable. See:
https://fedoraproject.org/wiki/Packaging:Systemd#Why_don.27t_we....
Where it states:
Why don't we....
Start the service after installation?
Installations can be in changeroots, in an installer context, or in other situations where you don't want the services autostarted.
Thanks!