On Wed, Feb 27, 2019 at 12:48 PM Michael Biebl <bi...@debian.org> wrote:

> On Wed, 23 Jan 2019 14:54:48 -0800 Josh Triplett <j...@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 <j...@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 →
/lib/systemd/system/systemd-timesyncd.service.

Unfortunately I don't think we have enough information to act on this issue.

-- 

Saludos,
Felipe Sateler

Reply via email to