Bug 39957

Summary: Target won't load if arbitary files are present in its *.wants directory
Product: systemd Reporter: revinary <revinary>
Component: generalAssignee: Lennart Poettering <lennart>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description revinary@gmail.com 2011-08-09 03:18:03 UTC
I accidentally place a .log file in /etc/systemd/system/default.target.wants/
which prevented systemd to load the target (in my place it's an alias for graphical.target) complaining about an "invalid argument".

Ignoring files/symlinks with invalid/missing extensions should solve this (-> robustness).
Comment 1 Lennart Poettering 2011-08-30 18:56:23 UTC
Indeed. Fixed now in git! Thanks for the pointer!

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.