| Summary: | fg: no job control - error message on update | ||
|---|---|---|---|
| Product: | Fedora | Reporter: | dssink |
| Component: | openafs | Assignee: | Ken Dreyer <ktdreyer> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jjneely, ktdreyer |
| Priority: | P5 | ||
| Version: | 17 | ||
| Hardware: | i386 | ||
| OS: | GNU/Linux | ||
| namespace: | |||
| Bug Depends on: | 2692 | ||
| Bug Blocks: | |||
|
Description
dssink
2013-02-18 18:42:48 CET
I wonder if the problem lies here:
276 %post client
277 %if !0%{?_with_systemd}
278 %systemd_post openafs-client.service
279 %endif
My hunch is that we have accidentally inverted the conditional, or that %systemd_post is missing on Fedora 17, or maybe a combination of both.
Yeah, I'm thinking that the condition should be inverted (remove the "!"), and that should fix things. It also looks like the %systemd_post macro is unavailable on Fedora 17 [1]. This is not a big deal in OpenAFS's case, since we didn't enable _with_systemd until Fedora 18. That's probably what is causing %post script to print an "fg" error. Jack, if you could check my reasoning here, I'll commit and push the fix (should just be a single change to remove the "!" character). Or dssink, if you want to rebuild the RPM with that adjustment and test, that would be good too :) [1] https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd Ken, I agree. Let's remove the "!" character and push out those changes. I'm testing some local mock builds here and I'll push an update to fix this later today. There's a problem with the build infrastructure right now, which I've filed as bug 2692. When that's resolved we should be able to build -2, which contains the fix. openafs-1.6.2-2.fc17 has reached the stable repo, so I'm closing this bug. Feel free to re-open if the problem continue. |