postinst syntax error, if condition without "then", and directory path error (Ceph 9.2.0 only)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ceph (Ubuntu) |
Fix Released
|
High
|
James Page |
Bug Description
in ceph-mds.postinst,
Line 35: if ! dpkg-statoverride --list /var/lib/ceph/mds >/dev/null
Line 36: chown $SERVER_
Line 37: fi
should be,
Line 35: if ! dpkg-statoverride --list /var/lib/
Line 36: chown $SERVER_
Line 37: fi
there are 2 bugs need to be corrected,
1. syntax error, missing "then"
2. path error, target directory path should be "/var/lib/
reproduce step,
1. boot fresh new Ubuntu Trusty (with cloudarchive:
2. apt-get update
3. apt-get install ceph-common (or ceph-mds only)
4. installation should block while processing ceph-mds.postinst
Changed in ceph (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → James Page (james-page) |
milestone: | none → ubuntu-16.02 |
The attachment "ceph-mds. postinst. patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]