Bug 89226

Summary: systemd-gpt-auto-generator does not generate srv.mount
Product: systemd Reporter: chevrier.mathieu
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: fix /srv subnode detection

Description chevrier.mathieu 2015-02-19 13:00:29 UTC
systemd does not automount /srv as advertised on
http://www.freedesktop.org/software/systemd/man/systemd-gpt-auto-generator.html

The generator finds the partition in the GPT but keeps the node of the disk instead of the partition's one. It then obviously fails to find a filesystem on it and cannot generate srv.mount.

Very simple patch attached.
Comment 1 chevrier.mathieu 2015-02-19 13:01:20 UTC
Created attachment 113662 [details] [review]
fix /srv subnode detection
Comment 2 Zbigniew Jedrzejewski-Szmek 2015-03-13 04:38:23 UTC
Thanks, applied in http://cgit.freedesktop.org/systemd/systemd/commit/?id=d736e4f3e7.

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.