[Bug 1935786] Re: `systemctl list-units --type=service` does not list user services
Dan Streetman
1935786 at bugs.launchpad.net
Mon Jul 12 02:01:07 UTC 2021
you need to use the --user parameter when you want to list user
services, e.g.
$ systemctl list-units --user --type=service
by default, only system services will be listed.
** Changed in: systemd (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1935786
Title:
`systemctl list-units --type=service` does not list user services
Status in systemd package in Ubuntu:
Invalid
Bug description:
Steps to reproduce:
====================
- (on XUbuntu)
- Install redshift
- Remove redshift (gtk) from autostart ( Menu -> session and startup -> Application Autostart )
- [Redshift will be installed as a service under `/usr/lib/systemd/user`]
- Reboot
- [Redshift will be started in the background]
- Run `systemctl list-units --type=service`
- EXPECTED: redshift is inside the list
ACTUAL: redshift is not listed
- FYI (perhaps another bug): Also, `systemctl --user disable
redshift.service` wouldn't help disabling it.
Description: Ubuntu 21.04
Release: 21.04
systemd:
Installed: 247.3-3ubuntu3.2
Candidate: 247.3-3ubuntu3.2
Version table:
*** 247.3-3ubuntu3.2 500
500 http://archive.ubuntu.com/ubuntu hirsute-proposed/main amd64 Packages
100 /var/lib/dpkg/status
247.3-3ubuntu3.1 500
500 http://archive.ubuntu.com/ubuntu hirsute-updates/main amd64 Packages
247.3-3ubuntu3 500
500 http://archive.ubuntu.com/ubuntu hirsute/main amd64 Packages
ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: systemd 247.3-3ubuntu3.2
ProcVersionSignature: Ubuntu 5.11.0-24.25-generic 5.11.22
Uname: Linux 5.11.0-24-generic x86_64
ApportVersion: 2.20.11-0ubuntu65.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: XFCE
Date: Mon Jul 12 08:09:32 2021
MachineType: FUJITSU FMVWB3U27
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.11.0-24-generic root=UUID=fe637d00-125b-4a54-adce-3711830d450b ro acpi_osi=! "acpi_osi=Windows 2015" resume=UUID=bdfdad69-4c0d-4b99-a962-d88c977da8a3
SourcePackage: systemd
UpgradeStatus: Upgraded to hirsute on 2021-06-05 (36 days ago)
dmi.bios.date: 01/23/2018
dmi.bios.release: 1.7
dmi.bios.vendor: FUJITSU // Insyde Software Corp.
dmi.bios.version: Version 1.07
dmi.board.name: FJNB2BB
dmi.board.vendor: FUJITSU
dmi.board.version: A2
dmi.chassis.type: 10
dmi.chassis.vendor: FUJITSU
dmi.modalias: dmi:bvnFUJITSU//InsydeSoftwareCorp.:bvrVersion1.07:bd01/23/2018:br1.7:svnFUJITSU:pnFMVWB3U27:pvr:rvnFUJITSU:rnFJNB2BB:rvrA2:cvnFUJITSU:ct10:cvr:
dmi.product.family: LIFEBOOK-JR
dmi.product.name: FMVWB3U27
dmi.sys.vendor: FUJITSU
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1935786/+subscriptions
More information about the foundations-bugs
mailing list