syslog messages include ubuntu-core-launcher instead of command name

Bug #1623626 reported by Loïc Minier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Triaged
Medium
Unassigned

Bug Description

Hi,

When running a daemon in a snap, the syslog-ed messages are all reported from ubuntu-core-launcher instead of the name of the relevant daemon/service/command. For instance:
Sep 14 12:21:48 hostname ubuntu-core-launcher[5232]: I0914 12:21:48.821532 5242 main.go:267] Some logging message

I believe this is because of the systemd wrappers which use:
ExecStart=/usr/bin/ubuntu-core-launcher snap.snap-name.command-name ...

This could be addressed by launching a symlink named after the target command (or snapname-commandmame) and pointing at ubuntu-core-launcher.

Cheers,
- Loïc

Michael Vogt (mvo)
Changed in snappy:
importance: Undecided → Medium
status: New → Triaged
Michael Vogt (mvo)
affects: snappy → snapd
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.