Bug#920296: Installs /etc/systemd/system/dbus-org.freedesktop.timesync1.service identical to /lib/systemd/system/systemd-timesyncd.service
josh at joshtriplett.org
Wed Feb 27 16:47:03 GMT 2019
On Wed, Feb 27, 2019 at 01:34:54PM -0300, Felipe Sateler wrote:
> On Wed, Feb 27, 2019 at 12:48 PM Michael Biebl <biebl at debian.org> wrote:
> > On Wed, 23 Jan 2019 14:54:48 -0800 Josh Triplett <josh at joshtriplett.org>
> > wrote:
> > > On Wed, Jan 23, 2019 at 07:52:24PM -0300, Felipe Sateler wrote:
> > > > On Wed, Jan 23, 2019 at 4:15 PM Josh Triplett <josh at joshtriplett.org>
> > wrote:
> > > > > Package: systemd
> > > > > Severity: normal
> > > > >
> > > > > I installed using the Buster Alpha 4 installer, and for some reason I
> > > > > ended up with a file
> > > > > /etc/systemd/system/dbus-org.freedesktop.timesync1.service,
> > identical to
> > > > > /lib/systemd/system/systemd-timesyncd.service. dpkg -S shows it not
> > > > > owned by any package, and searching through maintainer scripts
> > pointed
> > > > > to systemd's postinst. systemd shouldn't install a service in /etc
> > > > > identical to the one already installed in /lib.
> > > > >
> > > >
> > > > All systemd does is enable the service. On my system that leaves a
> > symlink,
> > > > not a regular file.
> > > > Is /etc/systemd/system/dbus-org.freedesktop.timesync1.service a
> > regular
> > > > file or a symlink?
> > >
> > > It was a regular file.
> > I don't think it's systemctl/systemd which is responsible for creating
> > /etc/systemd/system/dbus-org.freedesktop.timesync1.service as regular file.
> > Maybe a file system issue or the result of the file being copied around.
> > Josh, can you reproduce the issue?
> > What happens if you remove
> > /etc/systemd/system/dbus-org.freedesktop.timesync1.service and run
> > systemctl enable systemd-timesyncd.service (as we do in postinst)
> This is definitely not systemctl's doing:
> % sudo systemctl disable systemd-timesyncd.service
> Removed /etc/systemd/system/dbus-org.freedesktop.timesync1.service.
> Removed /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service.
> % sudo systemctl enable systemd-timesyncd.service
> Created symlink /etc/systemd/system/dbus-org.freedesktop.timesync1.service
> → /lib/systemd/system/systemd-timesyncd.service.
> Created symlink
> /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service →
> Unfortunately I don't think we have enough information to act on this issue.
Feel free to close this. I don't want to do a reinstallation from
scratch in a VM to attempt to reproduce this.
More information about the Pkg-systemd-maintainers