Bug#920296: Installs /etc/systemd/system/dbus-org.freedesktop.timesync1.service identical to /lib/systemd/system/systemd-timesyncd.service
fsateler at debian.org
Wed Feb 27 16:34:54 GMT 2019
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>
> > 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>
> > > > 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
> > > > 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
> > > not a regular file.
> > > Is /etc/systemd/system/dbus-org.freedesktop.timesync1.service a
> > > 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
% sudo systemctl enable systemd-timesyncd.service
Created symlink /etc/systemd/system/dbus-org.freedesktop.timesync1.service
Unfortunately I don't think we have enough information to act on this issue.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pkg-systemd-maintainers