<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">Hello
<div><br /></div>
<div>I noticed that tmpfiles are built based on systemd source directory not local machine /</div>
<div><br /></div>
<div>e.g debian/systemd/usr/lib/tmpfiles.d/x11.conf</div>
<br />
<div>so 00rsyslog.conf file ( from rsyslog pkg, in /usr/lib/tmpfiles.d/ ) is not there</div>
<div><br /></div>
<div>I checked this with dh_installinit —no-start</div>
<div><br /></div>
<div>I understand override feature(actually i misunderstood it )</div>
<div><br /></div>
<div>no way to do this based on installed tmpfiles?( or not recommended ? )</div>
</div>
<div name="messageSignatureSection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br />
<div>## dh_installinit</div>
<div><br /></div>
<div>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">        </span><span style="font-variant-ligatures: no-common-ligatures; color: #dbab33">if</span> <span style="font-variant-ligatures: no-common-ligatures">(!</span><span style="font-variant-ligatures: no-common-ligatures; color: #55c5bb">$dh{</span><span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">NOSCRIPTS</span><span style="font-variant-ligatures: no-common-ligatures; color: #55c5bb">}</span><span style="font-variant-ligatures: no-common-ligatures">) {</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(92, 177, 252); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures; color: #839496">               </span> <span style="font-variant-ligatures: no-common-ligatures"># Include postinst-init-tmpfiles if the package ships any files</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(92, 177, 252); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures; color: #839496">               </span> <span style="font-variant-ligatures: no-common-ligatures"># in /usr/lib/tmpfiles.d or /etc/tmpfiles.d</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">               </span> <span style="font-variant-ligatures: no-common-ligatures; color: #dbab33">my</span> <span style="font-variant-ligatures: no-common-ligatures"></span><span style="font-variant-ligatures: no-common-ligatures; color: #55c5bb">@tmpfiles</span><span style="font-variant-ligatures: no-common-ligatures">;</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">                find({  </span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">                       </span> <span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">wanted</span> <span style="font-variant-ligatures: no-common-ligatures">=></span> <span style="font-variant-ligatures: no-common-ligatures; color: #dbab33">sub</span> <span style="font-variant-ligatures: no-common-ligatures">{</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">                               </span> <span style="font-variant-ligatures: no-common-ligatures; color: #dbab33">my</span> <span style="font-variant-ligatures: no-common-ligatures"></span><span style="font-variant-ligatures: no-common-ligatures; color: #55c5bb">$name</span> <span style="font-variant-ligatures: no-common-ligatures">=</span> <span style="font-variant-ligatures: no-common-ligatures; color: #55c5bb">$</span><span style="font-variant-ligatures: no-common-ligatures; color: #a9bc34">File::Find::</span><span style="font-variant-ligatures: no-common-ligatures; color: #55c5bb">name</span><span style="font-variant-ligatures: no-common-ligatures">;</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">                               </span> <span style="font-variant-ligatures: no-common-ligatures; color: #dbab33">return</span> <span style="font-variant-ligatures: no-common-ligatures"></span><span style="font-variant-ligatures: no-common-ligatures; color: #dbab33">unless</span> <span style="font-variant-ligatures: no-common-ligatures"></span><span style="font-variant-ligatures: no-common-ligatures; color: #dbab33">-f</span> <span style="font-variant-ligatures: no-common-ligatures"></span><span style="font-variant-ligatures: no-common-ligatures; color: #55c5bb">$name</span><span style="font-variant-ligatures: no-common-ligatures">;</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">                               </span> <span style="font-variant-ligatures: no-common-ligatures; color: #dbab33">print</span> <span style="font-variant-ligatures: no-common-ligatures"></span><span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">"Seyeong1 : "</span><span style="font-variant-ligatures: no-common-ligatures">.</span><span style="font-variant-ligatures: no-common-ligatures; color: #55c5bb">$name</span><span style="font-variant-ligatures: no-common-ligatures">.</span><span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">"</span><span style="font-variant-ligatures: no-common-ligatures; color: #ff67ac">\n</span><span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">"</span><span style="font-variant-ligatures: no-common-ligatures">;</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">                               </span> <span style="font-variant-ligatures: no-common-ligatures; color: #55c5bb">$name</span> <span style="font-variant-ligatures: no-common-ligatures">=~</span> <span style="font-variant-ligatures: no-common-ligatures; color: #dbab33">s/</span><span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">^</span><span style="font-variant-ligatures: no-common-ligatures; color: #ff67ac">\Q</span><span style="font-variant-ligatures: no-common-ligatures; color: #55c5bb">$tmp</span><span style="font-variant-ligatures: no-common-ligatures; color: #ff67ac">\E</span><span style="font-variant-ligatures: no-common-ligatures; color: #dbab33">//g</span><span style="font-variant-ligatures: no-common-ligatures">;</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">                               </span> <span style="font-variant-ligatures: no-common-ligatures; color: #dbab33">print</span> <span style="font-variant-ligatures: no-common-ligatures"></span><span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">"Seyeong2 : "</span><span style="font-variant-ligatures: no-common-ligatures">.</span><span style="font-variant-ligatures: no-common-ligatures; color: #55c5bb">$name</span><span style="font-variant-ligatures: no-common-ligatures">.</span><span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">"</span><span style="font-variant-ligatures: no-common-ligatures; color: #ff67ac">\n</span><span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">"</span><span style="font-variant-ligatures: no-common-ligatures">;</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">                               </span> <span style="font-variant-ligatures: no-common-ligatures; color: #dbab33">if</span> <span style="font-variant-ligatures: no-common-ligatures">(</span><span style="font-variant-ligatures: no-common-ligatures; color: #55c5bb">$name</span> <span style="font-variant-ligatures: no-common-ligatures">=~</span> <span style="font-variant-ligatures: no-common-ligatures; color: #dbab33">m,</span><span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">^/usr/lib/tmpfiles</span><span style="font-variant-ligatures: no-common-ligatures; color: #ff67ac">\.</span><span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">d/</span><span style="font-variant-ligatures: no-common-ligatures; color: #dbab33">,</span> <span style="font-variant-ligatures: no-common-ligatures">||</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">                                       </span> <span style="font-variant-ligatures: no-common-ligatures; color: #55c5bb">$name</span> <span style="font-variant-ligatures: no-common-ligatures">=~</span> <span style="font-variant-ligatures: no-common-ligatures; color: #dbab33">m,</span><span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">^/etc/tmpfiles</span><span style="font-variant-ligatures: no-common-ligatures; color: #ff67ac">\.</span><span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">d/</span><span style="font-variant-ligatures: no-common-ligatures; color: #dbab33">,</span><span style="font-variant-ligatures: no-common-ligatures">) {</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">                                       </span> <span style="font-variant-ligatures: no-common-ligatures; color: #dbab33">print</span> <span style="font-variant-ligatures: no-common-ligatures"></span><span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">"Seyeong3 : "</span><span style="font-variant-ligatures: no-common-ligatures">.</span><span style="font-variant-ligatures: no-common-ligatures; color: #55c5bb">$name</span><span style="font-variant-ligatures: no-common-ligatures">.</span><span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">"</span><span style="font-variant-ligatures: no-common-ligatures; color: #ff67ac">\n</span><span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">"</span><span style="font-variant-ligatures: no-common-ligatures">;</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">                                       </span> <span style="font-variant-ligatures: no-common-ligatures; color: #dbab33">push</span> <span style="font-variant-ligatures: no-common-ligatures"></span><span style="font-variant-ligatures: no-common-ligatures; color: #55c5bb">@tmpfiles</span><span style="font-variant-ligatures: no-common-ligatures">,</span> <span style="font-variant-ligatures: no-common-ligatures; color: #55c5bb">$name</span><span style="font-variant-ligatures: no-common-ligatures">;</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">                                }</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">                        },</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">                       </span> <span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">no_chdir</span> <span style="font-variant-ligatures: no-common-ligatures">=></span> <span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">1</span><span style="font-variant-ligatures: no-common-ligatures">,</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">                },</span> <span style="font-variant-ligatures: no-common-ligatures; color: #55c5bb">$tmp</span><span style="font-variant-ligatures: no-common-ligatures">);</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">               </span> <span style="font-variant-ligatures: no-common-ligatures; color: #dbab33">if</span> <span style="font-variant-ligatures: no-common-ligatures">(</span><span style="font-variant-ligatures: no-common-ligatures; color: #55c5bb">@tmpfiles</span> <span style="font-variant-ligatures: no-common-ligatures">></span> <span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">0</span><span style="font-variant-ligatures: no-common-ligatures">) {</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">                        autoscript(</span><span style="font-variant-ligatures: no-common-ligatures; color: #55c5bb">$package</span><span style="font-variant-ligatures: no-common-ligatures">,</span><span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">"postinst"</span><span style="font-variant-ligatures: no-common-ligatures">,</span> <span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">"postinst-init-tmpfiles"</span><span style="font-variant-ligatures: no-common-ligatures">,</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">                               </span> <span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">"s,#TMPFILES#,"</span> <span style="font-variant-ligatures: no-common-ligatures">.</span> <span style="font-variant-ligatures: no-common-ligatures; color: #dbab33">join</span><span style="font-variant-ligatures: no-common-ligatures">(</span><span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">" "</span><span style="font-variant-ligatures: no-common-ligatures">,</span> <span style="font-variant-ligatures: no-common-ligatures; color: #dbab33">sort</span> <span style="font-variant-ligatures: no-common-ligatures"></span><span style="font-variant-ligatures: no-common-ligatures; color: #55c5bb">@tmpfiles</span><span style="font-variant-ligatures: no-common-ligatures">).</span><span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">",g"</span><span style="font-variant-ligatures: no-common-ligatures">);</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">                }</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">        }</span></p>
</div>
<div><span style="font-variant-ligatures: no-common-ligatures"><br /></span></div>
<div><br /></div>
<div>generated postinst.debhelper</div>
<div>echo part is what i added</div>
<div><br /></div>
<div>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(92, 177, 252); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures"># Automatically added by dh_installinit</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(255, 100, 84); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures; color: #839496">if [</span> <span style="font-variant-ligatures: no-common-ligatures">"$1"</span> <span style="font-variant-ligatures: no-common-ligatures; color: #839496">=</span> <span style="font-variant-ligatures: no-common-ligatures">"configure"</span> <span style="font-variant-ligatures: no-common-ligatures; color: #839496">] || [</span> <span style="font-variant-ligatures: no-common-ligatures">"$1"</span> <span style="font-variant-ligatures: no-common-ligatures; color: #839496">=</span> <span style="font-variant-ligatures: no-common-ligatures">"abort-upgrade"</span> <span style="font-variant-ligatures: no-common-ligatures; color: #839496">] || [</span> <span style="font-variant-ligatures: no-common-ligatures">"$1"</span> <span style="font-variant-ligatures: no-common-ligatures; color: #839496">=</span> <span style="font-variant-ligatures: no-common-ligatures">"abort-deconfigure"</span> <span style="font-variant-ligatures: no-common-ligatures; color: #839496">] || [</span> <span style="font-variant-ligatures: no-common-ligatures">"$1"</span> <span style="font-variant-ligatures: no-common-ligatures; color: #839496">=</span> <span style="font-variant-ligatures: no-common-ligatures">"abort-remove"</span> <span style="font-variant-ligatures: no-common-ligatures; color: #839496">] ; then</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(92, 177, 252); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures; color: #839496">       </span> <span style="font-variant-ligatures: no-common-ligatures"># In case this system is running systemd, we need to ensure that all</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(92, 177, 252); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures; color: #839496">       </span> <span style="font-variant-ligatures: no-common-ligatures"># necessary tmpfiles (if any) are created before starting.</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">        if [ -d /run/systemd/system ] ; then</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">                echo /usr/lib/tmpfiles.d/debian.conf /usr/lib/tmpfiles.d/home.conf /usr/lib/tmpfiles.d/journal-nocow.conf /usr/lib/tmpfiles.d/legacy.conf /usr/lib/tmpfiles.d/systemd-nologin.conf /usr/lib/tmpfiles.d/systemd.conf /usr/lib/tmpfiles.d/tmp.conf /usr/lib/tmpfiles.d/var.conf /usr/lib/tmpfiles.d/x11.conf</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">                systemd-tmpfiles --create /usr/lib/tmpfiles.d/debian.conf /usr/lib/tmpfiles.d/home.conf /usr/lib/tmpfiles.d/journal-nocow.conf /usr/lib/tmpfiles.d/legacy.conf /usr/lib/tmpfiles.d/systemd-nologin.conf /usr/lib/tmpfiles.d/systemd.conf /usr/lib/tmpfiles.d/tmp.conf /usr/lib/tmpfiles.d/var.conf /usr/lib/tmpfiles.d/x11.conf >/dev/null || true</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">        fi</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">fi</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(92, 177, 252); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures"># End automatically added section</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(92, 177, 252); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures"># Automatically added by dh_installdeb</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/systemctl-bash-completion.sh 204-1~ --</span> <span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">"$@"</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(92, 177, 252); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures"># End automatically added section</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(92, 177, 252); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures"># Automatically added by dh_installdeb</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/systemd-bash-completion.sh 204-1~ --</span> <span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">"$@"</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(92, 177, 252); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures"># End automatically added section</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(92, 177, 252); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures"># Automatically added by dh_installdeb</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">dpkg-maintscript-helper mv_conffile /etc/systemd/systemd-logind.conf /etc/systemd/logind.conf 204-1~ --</span> <span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">"$@"</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(92, 177, 252); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures"># End automatically added section</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(92, 177, 252); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures"># Automatically added by dh_installdeb</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">dpkg-maintscript-helper mv_conffile /etc/systemd/systemd-journald.conf /etc/systemd/journald.conf 204-1~ --</span> <span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">"$@"</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(92, 177, 252); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures"># End automatically added section</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(92, 177, 252); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures"># Automatically added by dh_installdeb</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">dpkg-maintscript-helper rm_conffile /etc/dbus-1/system.d/org.freedesktop.machine1.conf 228-5~ --</span> <span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">"$@"</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(92, 177, 252); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures"># End automatically added section</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(92, 177, 252); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures"># Automatically added by dh_installdeb</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(131, 148, 150); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures">dpkg-maintscript-helper rm_conffile /etc/X11/xinit/xinitrc.d/50-systemd-user.sh 228-3~ --</span> <span style="font-variant-ligatures: no-common-ligatures; color: #ff6454">"$@"</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: PragmataPro; color: rgb(92, 177, 252); background-color: rgb(2, 43, 54);"><span style="font-variant-ligatures: no-common-ligatures"># End automatically added section</span></p>
</div>
<div><br /></div>
<div><br /></div>
</div>
<div name="messageReplySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br />
<div><br /></div>
<div><br /></div>
On 12 May 2018, 2:41 AM +0900, Niels Thykier <niels@thykier.net>, wrote:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">Seyeong Kim:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #e67e22;">Hello<br />
<br />
I tested them but symptom is still there<br />
<br />
so I put “print “#TMPFILES#” on autoscripts/postinst-init-tmpfiles like below<br />
<br />
###################<br />
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then<br />
# In case this system is running systemd, we need to ensure that all<br />
# necessary tmpfiles (if any) are created before starting.<br />
if [ -d /run/systemd/system ] ; then<br />
                print "#TMPFILES#"<br />
systemd-tmpfiles --create #TMPFILES# >/dev/null || true<br />
fi<br />
fi<br />
###################<br />
<br />
and built systemd with this deb helper<br />
<br />
When installing systemd after build, i got below string ( installed 00rsyslog.conf in /usr/lib/tmpfiles.d/ and copied to /etc/tmpfiles.d/ )<br />
<br />
###<br />
Error: no such file "debian.conf home.conf journal-nocow.conf legacy.conf systemd-nologin.conf systemd.conf tmp.conf var.conf x11.conf"<br />
<br />
###<br />
<br /></blockquote>
<br />
Can you show me the full postinst generated with your patched version?<br />
AFAICT, neither dh_installinit nor dh_installsystem should pass those<br />
file names as a single argument. When I tested locally, the shell<br />
snippet seemed to correctly pass each file as separate arguments.<br />
<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #e67e22;">I wanted to see TMPFILES list and there is no 00rsyslog.conf so.. 00rsyslog.conf can't override var.conf<br />
<br /></blockquote>
<br />
The override support that the patch adds is that<br />
/etc/tmpfiles.d/foo.conf can now override /usr/lib/tmpfiles.d/foo.conf<br />
(previously, it could not).<br />
<br />
There was nothing to support "foo.conf" overriding "bar.conf" (or<br />
"00rsyslog.conf" overriding "var.conf").<br />
<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #e67e22;">maybe this need to be analyzed more?<br />
<br />
Thanks<br />
<br />
<br />
[...]<br /></blockquote>
<br />
For your concrete issue, you will have to use one of Michael's<br />
recommendations listed in:<br />
<br />
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894510#37, OR<br />
<br />
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894510#42<br />
<br />
Sorry, but that is the best I can offer you without diverting for the<br />
recommendations from the systemd maintainers.<br />
<br />
~Niels<br /></blockquote>
<div></div>
</div>
</body>
</html>