Bug 1016945

Summary: krb5-libs scriptlet error: sed: -e expression #1, char 1: unknown command: `|'
Product: [Fedora] Fedora Reporter: Rex Dieter <rdieter>
Component: krb5Assignee: Nalin Dahyabhai <nalin>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: bitlord0xff, nalin, nathaniel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://pkgs.fedoraproject.org/cgit/krb5.git/commit/?id=37f8b28f7dd408784b377bbad818ac5a33d2512d
Whiteboard:
Fixed In Version: krb5-1.11.3-24.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-27 12:31:12 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 Rex Dieter 2013-10-09 02:16:24 UTC
Installing updates on a f20 box I see an error:

Cleanup: ...

sed: -e expression #1, char 1: unknown command: `|'
  Cleanup    : krb5-libs-1.11.3-9.fc20.x86_64

Seems to stem from the largish
%triggerun libs -- krb5-libs < 1.11.3-16
which contains the line:
sed -r '|^ default_ccache_name = DIR:/run/user/%%\{uid\}/krb5cc$|d' /etc/krb5.conf > "$tmpfile"

which indeed gives the error mentioned here, if I try running that by hand

Comment 1 Nalin Dahyabhai 2013-10-14 20:35:59 UTC
Thanks for catching this!

Comment 2 Branko Grubić 2014-08-27 11:22:48 UTC
I was going through the list of bugs I was interested in or reported/commented ... This one is fixed long time ago, not sure why it isn't closed, it is in package changelog, also from git:

"fix trigger's invocation of sed (#1016945)
- fix trigger scriptlet's invocation of sed (#1016945)"

This probably can be closed?

Comment 3 Rex Dieter 2014-08-27 12:31:12 UTC
agreed, closing