<div dir="ltr"><div><div><div>Hi zigo and gustavo! I have also tried add dh-systemd support for glance Juno packaging.<br></div><div>I succeeded building new packages with systemd support in my own sid packaging environment but failed the zigo's jenkins job. <br>

</div>Here is the faillog:<br><a href="https://juno.dev-debian.pkgs.enovance.com/job/glance/5/console">https://juno.dev-debian.pkgs.enovance.com/job/glance/5/console</a><br></div>It seems the jenkins packaging environment is running on wheezy dist. But the necessary package dh-systemd is only accessible under sid/jessie/wheezy-backports sources:<br>

<a href="https://packages.debian.org/search?keywords=dh-systemd&searchon=names&suite=all&section=all">https://packages.debian.org/search?keywords=dh-systemd&searchon=names&suite=all&section=all</a><br>

</div>The reason that fails both zigo's and my commits which adding dh-systemd may be that the jenkins building environment lacks the dh-systemd package. <br><div>I have noticed that dh-systemd 1.18~bpo70+1 is already in wheezy-backports source. Adding wheezy-backports to the jenkins apt sourcelist should fix this problem.<br>

<br></div><div>BTW, I'm not very experienced at debian packaging. Could you waste a few minutes reviewing my commit that adding dh-systemd support for glance debian/juno branch to check if I has done it correctly?<br>

</div><div>Thanks very much.<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jul 13, 2014 at 12:02 PM, Thomas Goirand <span dir="ltr"><<a href="mailto:zigo@debian.org" target="_blank">zigo@debian.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 07/13/2014 07:24 AM, gustavo panizzo <gfa> wrote:<br>
> i think the chose of syslog or log-file should be part of config file<br>
> (nova.conf)<br>
><br>
><br>
> [ "x$USE_SYSLOG" = "xyes" ] && DAEMON_ARGS="$DAEMON_ARGS --use-syslog"<br>
> [ "x$USE_LOGFILE" != "xno" ] && DAEMON_ARGS="$DAEMON_ARGS --log-file<br>
> /var/log/nova/$NAME.log"<br>
<br>
</div>No, it can't. Because all daemons are sharing the same configuration<br>
file, then if we do what you say, you wouldn't be able to configure<br>
daemons individually (and for example, have a different log file for<br>
each daemon).<br>
<div class=""><br>
>> The replies to my mail to the systemd guys on their list were not<br>
>> helpful at all, they keep saying that I should just edit the .service<br>
>> file to select the type of logging, but that's not at all what I want. I<br>
>> would like to use /etc/default, just as before. Do you have any idea how<br>
>> we can script this?<br>
> i think we could use  ExecStartPre, i will check further on Monday<br>
<br>
</div>Thanks, let me know.<br>
<div class=""><br>
>> Maybe we'd have to write a wrapper and start that<br>
>> instead of the daemon?<br>
> ugly...<br>
<br>
</div>Agreed.<br>
<div class=""><br>
> other vars can be parsed from /etc/default/$NAME<br>
><br>
> EnvironmentFile=-/etc/default/$NAME<br>
> ExecStart=/usr/bin/keystone-all $OPTS<br>
><br>
> i will check ExecStartPre and get back to the list<br>
<br>
</div>Cool, will wait for your answer.<br>
<span class="HOEnZb"><font color="#888888"><br>
Thomas<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
Openstack-devel mailing list<br>
<a href="mailto:Openstack-devel@lists.alioth.debian.org">Openstack-devel@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/openstack-devel" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/openstack-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best Regards,<br><br>Gengyuan Zhang<br>NetEase Inc.
</div>