On 10 March 2016 at 04:15, Andreas Henriksson <andr...@fatal.se> wrote: > Hello all! > > Thanks for the bug report and *sigh*. > > On Wed, Mar 09, 2016 at 09:15:12PM +0100, Michael Biebl wrote: >> Control: reassign -1 util-linux >> >> Am 09.03.2016 um 20:46 schrieb Bill Allombert: >> > Package: systemd-sysv >> > Version: 229-2 >> > Severity: important >> > >> > Hello Debian systemd Maintainers, >> > >> > There is a circular dependency between systemd-sysv, systemd and >> > util-linux: >> > >> > systemd-sysv :Pre-Depends: systemd >> > systemd :Depends: util-linux (>= 2.27.1) >> > util-linux :Depends: systemd-sysv >> > >> > Circular pre-dependencies are not supported by dpkg. >> >> This dependency was introduced by util-linux, so I'm reassigning. >> I also don't quite understand the alternative dependency on tzdata | >> systemd-sysv. That's something Andreas most likely can answer. > > The reason for tzdata dependency is a bit vague to begin with > but it's definitely related to the hwclock.sh init script somehow. > Possibly that can be dropped, but I was hoping it would be safer > to just append "if you're using systemd, then this dependency is > definitely optional". > > If anyone has any ideas or guesses about why the tzdata dependency was > introduced to begin with I'd be interested to hear them. The one > provided by Felipe Sateler sounds very plausible. > > For my testing everything worked out fine here and I was hoping an > *alternative* would have no real effect, but I guess I was wrong then. > > Unless anyone sees any problem I guess the best course of action is to > just drop both of 'tzdata (>= ...) | systemd-sysv'.
Some more information: Util-linux bug #660365 (fixed a while ago), changed the hwclock.sh script to no longer use /etc/localtime. So these are the relevant snippets: util-linux (2.12r-13) unstable; urgency=low * Move hwclock.sh to 8 since localtime is now a file, not a symlink. Adds Depends: tzdata (>=2006c-2) Closes: #342887 util-linux (2.20.1-5) unstable; urgency=low * Improve handling of the hardware clock - Remove redundant hwclockfirst.sh and hwclock.sh. The reason for this redundant script existing (/etc/localtime not being present until after /usr was mounted AFAICT) no longer exists. The hwclock script has been adjusted to run before checkroot. Closes: #660365 So it seems that the reason for the dependency not only was for transitional purposes, but also the motive is moot as well as (1) hwclock no longer reads /etc/localtime and (2) /usr is mounted in the initramfs. Semi-related, due to (2), tzdata turned /etc/localtime back into a symlink on version 2016a-1. -- Saludos, Felipe Sateler