Bug 65659 - build-sys: don't install quotaon.service twice
Summary: build-sys: don't install quotaon.service twice
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-11 16:26 UTC by Ross Burton
Modified: 2013-06-12 06:23 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Patch (940 bytes, patch)
2013-06-11 16:28 UTC, Ross Burton
Details | Splinter Review

Description Ross Burton 2013-06-11 16:26:29 UTC
quotaon.service is already installed through dist_systemunit_DATA, so it doesn't
need to be added to nodist_systemunit_DATA.  Installing the same file twice
results in a race condition where the install process can fail.
Comment 1 Ross Burton 2013-06-11 16:28:38 UTC
Created attachment 80705 [details] [review]
Patch

Yes, we did actually hit this race.  In a release-candidate build too!
Comment 2 Zbigniew Jedrzejewski-Szmek 2013-06-12 05:42:33 UTC
Applied in http://cgit.freedesktop.org/systemd/systemd/commit/?id=3c527fd1. Thanks.

(The file is generated, so it should be on the nodist_ list, not dist_.)
Comment 3 Ross Burton 2013-06-12 06:23:20 UTC
I suddenly realised that it's probably generated whilst I was trying to get to sleep last night, but by the time I woke up you'd already dealt with the bug. :)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.