Bug 1965709
| Summary: | xgridloc doesn't start | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jaroslav Škarvada <jskarvad> | ||||||
| Component: | xgridloc | Assignee: | Richard Shaw <hobbes1069> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 33 | CC: | hobbes1069 | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | xgridloc-1.8.2-32.fc35 | Doc Type: | If docs needed, set a value | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2021-07-07 17:06:49 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
Jaroslav Škarvada
2021-05-28 20:48:52 UTC
The problem seems to be caused by the no-home patch. I think you should install the xgridloc.glade into /usr/share/xgridloc/ and patch line 72 of main.c to load it from there. It could fallback to the home. I think such patch should be sent upstream. The similar thing should be probably also done with the xgridlocrc. It should be installed to /etc/xgridloc and the sources should be patched to try loading the config from the home and if it fails fallback to the /etc/xgridloc/xgridlocrc. (In reply to Jaroslav Škarvada from comment #1) > The problem seems to be caused by the no-home patch. > > I think you should install the xgridloc.glade into /usr/share/xgridloc/ and > patch line 72 of main.c to load it from there. It could fallback to the > home. I think such patch should be sent upstream. > Or better try it to load the glade from the home and if it fails fallback to the system wide /usr/share/xgridloc/xgridloc.glade. Created attachment 1788018 [details]
Proposed fix
Maybe not the best solution, but it should work.
Also upstream could switch to the 'install' command and use parallel install (I used it for the files I am installing).
Created attachment 1788019 [details]
SPEC changes
Richard, what do you think about the attached patch? It works for me. I hate the way BZ handles patches/attachments, you have to download them when sometimes I just want to "view" them. I'll try to take a look but a PR would be much easier :) (In reply to Richard Shaw from comment #6) > I hate the way BZ handles patches/attachments, you have to download them > when sometimes I just want to "view" them. I'll try to take a look but a PR > would be much easier :) NP, I will create PR. (In reply to Jaroslav Škarvada from comment #7) > (In reply to Richard Shaw from comment #6) > > I hate the way BZ handles patches/attachments, you have to download them > > when sometimes I just want to "view" them. I'll try to take a look but a PR > > would be much easier :) > > NP, I will create PR. https://src.fedoraproject.org/rpms/xgridloc/pull-request/1 FEDORA-2021-f4edf2ac5a has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-f4edf2ac5a FEDORA-2021-f4edf2ac5a has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report. Packages are building and I'll submit an update for f33/f34. BTW, are you interested in maintaining the package? I don't use it often but didn't want it to get retired. (In reply to Richard Shaw from comment #11) > Packages are building and I'll submit an update for f33/f34. > > BTW, are you interested in maintaining the package? I don't use it often but > didn't want it to get retired. Thanks, I use it quite regularly, so no problem to maintain / co-maintain. I also sent the patch upstream. |