transaction: downgrade warnings about wanted unit which are not found
authorFranck Bui <fbui@suse.com>
Thu, 14 Jan 2016 08:25:18 +0000 (09:25 +0100)
committerFranck Bui <fbui@suse.com>
Thu, 14 Jan 2016 09:46:12 +0000 (10:46 +0100)
commitf14637fc19c449502af0209d1862e4f829c5cb47
tree6a4a14670342f6efa84db0f54603f68885d7c237
parentca9ec350f39096f19d6672e38ca2419877627a4b
transaction: downgrade warnings about wanted unit which are not found

If a unit was pulled by a Wants= dependency but its unit file was not
present then we logged this as an error.

However Wants= might be used to configure a soft/optional dependency
on another unit, ie. start an optional service only if it's installed
otherwise simply skip it. In this case emitting an error doesn't look
appropriate.

But it's still an error if the optional dependency exists but its
activation fails for any reasons.
src/core/transaction.c