Bug 39957 - Target won't load if arbitary files are present in its *.wants directory
Summary: Target won't load if arbitary files are present in its *.wants directory
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Lennart Poettering
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-09 03:18 UTC by revinary@gmail.com
Modified: 2011-08-30 18:56 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.