Bug#894510: debhelper: Because it is listing tmpfiles in systemd's only, conf overriding is not working

Seyeong Kim seyeong.kim at canonical.com
Fri May 11 14:32:55 BST 2018


Hello

I tested them but symptom is still there

so I put “print “#TMPFILES#” on autoscripts/postinst-init-tmpfiles like below

###################
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
# In case this system is running systemd, we need to ensure that all
# necessary tmpfiles (if any) are created before starting.
if [ -d /run/systemd/system ] ; then
                print "#TMPFILES#"
systemd-tmpfiles --create #TMPFILES# >/dev/null || true
fi
fi
###################

and built systemd with this deb helper

When installing systemd after build, i got below string ( installed 00rsyslog.conf in /usr/lib/tmpfiles.d/ and copied to /etc/tmpfiles.d/ )

###
Error: no such file "debian.conf home.conf journal-nocow.conf legacy.conf systemd-nologin.conf systemd.conf tmp.conf var.conf x11.conf"

###

I wanted to see TMPFILES list and there is no 00rsyslog.conf so.. 00rsyslog.conf can't override var.conf

maybe this need to be analyzed more?

Thanks


On 11 May 2018, 4:30 PM +0900, Seyeong Kim <seyeong.kim at canonical.com>, wrote:
> exactly what i wanted.
>
> Thanks all!!
>
> On 11 May 2018, 4:24 PM +0900, Niels Thykier <niels at thykier.net>, wrote:
> > Seyeong Kim:
> > > Thanks a lot
> > >
> > > Can i get git repo url you mentioned?
> > >
> > > [...]
> > >
> >
> > Certainly. The repo is at:
> >
> > https://salsa.debian.org/debian/debhelper/
> >
> > The commit is at:
> >
> > https://salsa.debian.org/debian/debhelper/commit/d24b1734a7a8b1069426fbb8ce80328959560ea9
> >
> > In case you want to cherry-pick it.
> >
> >
> > Thanks,
> > ~Niels
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20180511/08e956b5/attachment-0002.html>


More information about the Pkg-systemd-maintainers mailing list