jewel: build/ops: ceph installs stuff in %_udevrulesdir but does not own that directory #10862

Merged
merged 1 commit into from Oct 19, 2016

Projects

None yet

2 participants

@smithfarm @ldachary smithfarm rpm: proper packaging of udev directories
The issue here is that ceph.spec.in does not package the directories
/usr/lib/udev and /usr/lib/udev/rules.d. The problem was not showing because
hdparm, which is brought in as a build dependency, packages these directories.
However, in SUSE a recent update to hdparm changes that and the problem
manifests.

This PR addresses the issue by adding udev as a build dependency, which should
cover /usr/lib/udev, and by adding explicit "%dir %{_udevrulesdir}" to the
packages that put files in this directory.

Fixes: http://tracker.ceph.com/issues/16949
Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 1a164bc)
c3c2910
@dachary dachary self-assigned this Aug 25, 2016
@dachary dachary added this to the jewel milestone Aug 25, 2016
@smithfarm
Contributor

@dachary Could this be merged for 10.2.4 ?

@dachary
Member
dachary commented Oct 10, 2016

@smithfarm it needs testing: will run that this week.

@dachary
Member
dachary commented Oct 19, 2016

Pass hammer-x & jewel-x upgrade suites http://tracker.ceph.com/issues/17487#note-15

@dachary dachary merged commit 54bb909 into ceph:jewel Oct 19, 2016

2 checks passed

Signed-off-by all commits in this PR are signed
Details
default Build finished.
Details
@theanalyst theanalyst changed the title from jewel: rpm: ceph installs stuff in %_udevrulesdir but does not own that directory to "jewel: build/ops: ceph installs stuff in %_udevrulesdir but does not own that directory" Nov 17, 2016
@theanalyst theanalyst changed the title from "jewel: build/ops: ceph installs stuff in %_udevrulesdir but does not own that directory" to jewel: build/ops: ceph installs stuff in %_udevrulesdir but does not own that directory Nov 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment