| Summary: | rpm -V ixpdimm_sw package fails after installing ixpdimm-monitor | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Zhang Yi <yizhan> |
| Component: | ixpdimm_sw | Assignee: | Jeff Moyer <jmoyer> |
| Status: | CLOSED WONTFIX | QA Contact: | Zhang Yi <yizhan> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.3 | CC: | juston.li |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-04-09 20:01: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: | |
|
Description
Zhang Yi
2016-09-21 10:31:56 UTC
That file should not be owned by any package. We also need to stop the ixpdimm-monitor %post from starting the service. 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! This package is deprecated. If customers wish to use this software, they will have to get it from Intel directly. |