dangling symlink /etc/systemd/system/multi-user.target.wants/rsyslog.service

Bug #1691525 reported by Jamie Strandboge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Confirmed
Low
Oliver Grawert

Bug Description

With rsyslog removal, there is a dangling symlink:

$ find /etc/systemd -name "*rsyslog*"
/etc/systemd/system/multi-user.target.wants/rsyslog.service

$ ls -l /etc/systemd/system/multi-user.target.wants/rsyslog.service
lrwxrwxrwx 1 root root 35 Nov 1 2016 /etc/systemd/system/multi-user.target.wants/rsyslog.service -> /lib/systemd/system/rsyslog.service

$ ls -l /lib/systemd/system/rsyslog.service
ls: cannot access '/lib/systemd/system/rsyslog.service': No such file or directory

Revision history for this message
Oliver Grawert (ogra) wrote :

we will need some kind of upgrade hook in the core snap for such removals of files that did not come from the removed package itself but were generated. i guess the same goes for /var/log/syslog which is an orphan file as well now.

Changed in snapd:
assignee: nobody → Oliver Grawert (ogra)
status: New → Confirmed
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.