<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Wow, thanks for the investigation! It
      would have been quite hard for me to find that *that* part is the
      culprit. <br>
      <br>
      Would you mind opening a ticket in issues.rudder.io so that 1/ we
      don't loose these information and priorize the correction, and 2/
      let other people know about the workaround? <br>
      <br>
      I'm extremelly sorry for that problem.<br>
      <br>
      Thanks again!<br>
      <br>
      <br>
      On 26/11/2018 13:05, Oliver Brandmüller wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:VI1PR0602MB38223C2A214B79D6A06DF8A699D70@VI1PR0602MB3822.eurprd06.prod.outlook.com">
      <pre class="moz-quote-pre" wrap="">Hello,

the behaviour seems to be correct if I install rudder-agent from the running system and not inside Debian installer. This is a workaround for my current case, however it would be great if installation from d-i would be working as it did before.

Oliver Brandmüller
ITK-Betrieb (I.SVT(4))

DB Station&Service AG
Washingtonplatz 2, 10557 Berlin
Tel. +49 30 29765071, intern 99965071
Mobil: +49 1523 7523442
_________________________________________________________

--- Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken. ---

Sitz der Gesellschaft: Berlin
Registergericht: Berlin-Charlottenburg, HRB 87 691
USt-IdNr.: DE 199861749
Vorstand: Bernd Koch (Vorsitzender), Ute Möbus, Rolf Reh, Andreas Springer
Vorsitzender des Aufsichtsrates: Martin Seiler

Nähere Informationen zur Datenverarbeitung im DB-Konzern finden Sie hier: <a class="moz-txt-link-freetext" href="https://www.deutschebahn.com/de/konzern/datenschutz">https://www.deutschebahn.com/de/konzern/datenschutz</a>

-----Ursprüngliche Nachricht-----
Von: rudder-users <a class="moz-txt-link-rfc2396E" href="mailto:rudder-users-bounces@lists.rudder-project.org"><rudder-users-bounces@lists.rudder-project.org></a> Im Auftrag von Oliver Brandmüller
Gesendet: Montag, 26. November 2018 11:09
An: Francois Armand <a class="moz-txt-link-rfc2396E" href="mailto:francois.armand@normation.com"><francois.armand@normation.com></a>; <a class="moz-txt-link-abbreviated" href="mailto:rudder-users@lists.rudder-project.org">rudder-users@lists.rudder-project.org</a>
Betreff: Re: [rudder-users] rudder-agent 4.3.6 fresh install Debian problems

Hello,

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">I tried to reproduce without success on Debian 9.5 with Rudder 4.3.6. 
What is your exact version Debian version ( cat /etc/debian_version or 
whatever rudder sees ;)
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
I'm running a fresh install of Debian 9.6

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">Given what you observe, it could be linked to systemd... I will ask around, perhaps Alexis would have an idea. 
In the meantime, is there anything special in:
- systemctl status rudder-agent.service?
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
Unfortunaltely I cannot cut&paste since the machine in question is in a protected network. I'll give the keypoints:

Service is loaded, /lib/system/system/rudder-agent.service; disabled; vendor preset: enabled)
Active: active (exited)
Process: ... ExecStart=/bin/true (..status=0/SUCCESS)

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">- /var/log/rudder/agent-check/check.log ?
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
(repeating)
WARNING: No disable file detected and no agent executor process either. Restarting agent service...ok: stop service rudder-agent succeeded
ok: start service rudder-agent succeeded  Done

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">- /var/log/rudder/install/rudder-agent.log ?
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
(file too long to type everything here)

Beginning (the service problems may be due to the fact, that installation of the agent is done during Debian installer run - this used to work before and is a key functionality for me for unattended deployments)

...pre installation script
...post installation script
slibclean: not found
CFEngine binaries copied to workdir
Making a key pair for CFEngine, please wait, this could take a minute
setfacl: not found
INFO: creating a new UUID [...]
WARNING: No disable file detected and no agent executor process either. Restarting agent service...rudder-agent: unrecognized service
error: stop service rudder-agent failed
rudder-agent: unrecognized service
error: start service rudder-agent failed  Done [lines about missing policy_server.dat - expected here, as the file is set up at a later stage]

Last line in file is:
ok: Rudder agent check ran without errors

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">- journalctl -u rudder-agent ?
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
(every five minutes)
Stopped Rudder agent umbrella service.
Starting Rudder agent umbrella service...
Started Rudder agent umbrella service.



My next tests are to install rudder-agent from a running system instead of during Debian installer and to try the 5.0 agent version.

Thank you,

--
Oliver Brandmüller
ITK-Betrieb (I.SVT(4))

DB Station&Service AG
Washingtonplatz 2, 10557 Berlin
Tel. +49 30 29765071, intern 99965071
Mobil: +49 1523 7523442
_________________________________________________________

--- Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken. ---

Sitz der Gesellschaft: Berlin
Registergericht: Berlin-Charlottenburg, HRB 87 691
USt-IdNr.: DE 199861749
Vorstand: Bernd Koch (Vorsitzender), Ute Möbus, Rolf Reh, Andreas Springer Vorsitzender des Aufsichtsrates: Martin Seiler

Nähere Informationen zur Datenverarbeitung im DB-Konzern finden Sie hier: <a class="moz-txt-link-freetext" href="https://www.deutschebahn.com/de/konzern/datenschutz">https://www.deutschebahn.com/de/konzern/datenschutz</a>


_______________________________________________
rudder-users mailing list
FAQ: <a class="moz-txt-link-freetext" href="https://faq.rudder.io/">https://faq.rudder.io/</a>
Bug Tracker: <a class="moz-txt-link-freetext" href="https://issues.rudder.io/">https://issues.rudder.io/</a>
<a class="moz-txt-link-abbreviated" href="mailto:rudder-users@lists.rudder-project.org">rudder-users@lists.rudder-project.org</a>
<a class="moz-txt-link-freetext" href="https://www.rudder-project.org/mailman/listinfo/rudder-users">https://www.rudder-project.org/mailman/listinfo/rudder-users</a>
</pre>
    </blockquote>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      <style type="text/css"><!--
    a.redlink:link { color: #1782E6; text-decoration: none; }
    a.redlink:visited { color: #1782E6; text-decoration: none; }
    .sig { font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif; font-size: small; }
    .sigsmall { font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif; font-size: x-small; }
  --></style>
      <br>
      <br>
      <table width="380" cellspacing="2" cellpadding="0" border="0">
        <tbody>
          <tr>
            <td colspan="2">
              <hr></td>
          </tr>
          <tr>
            <td colspan="2"><b><img alt=""
                  src="cid:part1.0FDAF477.C40F4F0D@normation.com"
                  width="50" hspace="10" height="50" align="left"> <span
                  class="sig">François ARMAND</span></b><br>
              <span class="sig"><i>Co-founder & CTO</i></span><br>
              <span class="sig"><a class="redlink"
                  href="http://www.normation.com">Normation</a></span> </td>
          </tr>
          <tr>
            <td colspan="2">
              <hr></td>
          </tr>
          <tr>
            <td colspan="2"><span class="sigsmall"><b>87 rue de Turbigo,
                  75003 Paris, France</b></span></td>
          </tr>
          <tr>
            <td><span class="sigsmall">Telephone:</span></td>
            <td><span class="sigsmall">+33 (0)1 83 62 99 23</span></td>
          </tr>
          <tr>
            <td><span class="sigsmall">Mobile:</span></td>
            <td><span class="sigsmall">+33 (0)6 63 37 60 55</span></td>
          </tr>
          <tr>
            <td colspan="2">
              <hr></td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>