Package: getty-run
Version: 2.1.2-13
Severity: normal


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.15.12-van (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages getty-run depends on:
ii  runit         2.1.2-13
ii  runit-helper  2.7.2

Versions of packages getty-run recommends:
ii  fgetty  0.7-3

getty-run suggests no packages.

-- no debconf information

Dear Maintainer,
I recently upgrade getty-run; before the upgrade getty1 was disabled while 
getty2-6 were already enabled.
During the upgrade getty1 was automatically enabled, and upgrade-service can't 
handle
symlinks done this way.

# update-service --remove /etc/sv/getty-tty1
  update-service: fatal: /etc/service/getty-tty1 does not point to 
/etc/sv/getty-tty1.

here's the difference between the two symlinks
this was symlinked during the upgrade
ls -l /etc/service/getty-tty1
lrwxrwxrwx 1 root root 22 May 13 21:39 /etc/service/getty-tty2 -> 
../../../sv/getty-tty1

and this was symlinked with "update-service --add /etc/sv/getty-tty4" (no 
problem here with update-service --remove )
ls -l /etc/service/getty-tty4
lrwxrwxrwx 1 root root 18 Jul 16  2017 /etc/service/getty-tty4 -> 
/etc/sv/getty-tty4

I think that upgrade-service's code or the code responsible for enabling 
services on install (is it dh_runit?)
need a fix. 
Also, please (if possible) don't auto-enable services on upgrade when the 
service is disabled by admin choice.
Thanks

Lorenzo 

Reply via email to