Bug#850228: libconfig-model-systemd-perl: ConditionHost not working right

Dominique Dumont dod at debian.org
Wed Jan 11 07:46:25 UTC 2017


On Thu, 05 Jan 2017 10:45:39 +0100 Joerg Jaspert <joerg at ganneff.de> wrote:
> [Unit]
> Description=Something something
> PartOf=whatever.target
> ConditionHost=|hostname1
> ConditionHost=|anotherhost

Ooops, I did not notice that Condition* could be specified more than once. I'll 
fix systemd model generator.

> cme only lists the second value and also displays a pod error in its
> description window.
> 
> POD ERRORS
> 
> Hey! The above document had some coding errors, which are explained below:
> 
> Around line 12:
> Non-ASCII character seen before =encoding in '…'. Assuming CP1252

That warning is issued by Tk::Pod when an utf-8 char is seen before (or 
without) "=encoding utf8" declaration.

I'll fix Config::Model to add it when the description is extracted from systemd 
model.

> (There is no non-ascii character anywhere in the unit file)

These utf-8 characters are in the documentation that is integrated with 
systemd model [1]. 


Thanks for the report

All the best

[1] http://search.cpan.org/dist/Config-Model-Systemd/lib/Config/Model/models/
Systemd/Section/Unit.pod#ConditionHost

-- 
 https://github.com/dod38fr/   -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/  -o-   irc: dod at irc.debian.org



More information about the pkg-perl-maintainers mailing list