** Description changed:

+ [ Impact ]
+ 
+ Malcontent fails to start for the first time after install. This occurs
+ because it adds users and then attempts to use them with dbus, but dbus
+ doesn't learn that these users exist unless it is reloaded or restarted.
+ This change fixes the problem by asking dbus to reload after installing
+ malcontent.
+ 
+ [ Test Plan ]
+ 
+ This change includes a test to check that malcontent starts correctly.
+ To test it manually:
+ 
+ ```bash
+ lxc launch ubuntu:r malcontent-repro
+ lxc exec malcontent-repro bash <<EOF
+ apt update; apt install -y malcontent
+ systemctl start malcontent-webd
+ systemctl is-active malcontent-webd
+ EOF
+ ```
+ 
+ [ Where problems could occur ]
+ 
+ If someone relies on malcontent not starting until a reboot, this could
+ cause surprising behavior. The only use case for this package I can
+ think of where that would matter is a school configuring student
+ computers with a script that depends on network resources that their
+ filter lists would block.
+ 
+ [ Original report follows ]
+ 
  Hi,
  
  here are the errors:
  
  # journalctl | grep Malcontent
  Oct 03 17:59:46 vougeot dbus-broker-launch[3296]: Invalid user-name in 
/usr/share/dbus-1/system.d/org.freedesktop.MalcontentTimer1.ExtensionAgent.conf 
+12: user="malcontent-timer-ext-agent"
  Oct 03 17:59:46 vougeot dbus-broker-launch[3296]: Invalid user-name in 
/usr/share/dbus-1/system.d/org.freedesktop.MalcontentTimer1.ExtensionAgent.conf 
+17: user="malcontent-timerd"
  Oct 03 17:59:46 vougeot dbus-broker-launch[3296]: Invalid user-name in 
/usr/share/dbus-1/system.d/org.freedesktop.MalcontentTimer1.conf +12: 
user="malcontent-timerd"
  Oct 03 17:59:46 vougeot dbus-broker-launch[3296]: Invalid user-name in 
/usr/share/dbus-1/system.d/org.freedesktop.MalcontentWeb1.conf +12: 
user="malcontent-webd"
  Oct 03 17:59:46 vougeot dbus-broker-launch[3296]: Invalid user name 
'malcontent-timer-ext-agent' in service file 
'/usr/share/dbus-1/system-services/org.freedesktop.MalcontentTimer1.ExtensionAgent.service'
  Oct 03 17:59:46 vougeot dbus-broker-launch[3296]: Invalid user name 
'malcontent-timerd' in service file 
'/usr/share/dbus-1/system-services/org.freedesktop.MalcontentTimer1.service'
  Oct 03 17:59:46 vougeot dbus-broker-launch[3296]: Invalid user name 
'malcontent-webd' in service file 
'/usr/share/dbus-1/system-services/org.freedesktop.MalcontentWeb1.service'
  
  ProblemType: Bug
  DistroRelease: Ubuntu 26.10
  Package: libmalcontent-common 0.14.0-0ubuntu3
  ProcVersionSignature: Ubuntu 7.3.0-8.8-generic 7.3.0-rc5
  Uname: Linux 7.3.0-8-generic x86_64
  ApportVersion: 2.36.0-0ubuntu1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: KDE
  Date: Sun Oct  4 18:24:06 2026
  Dependencies:
-  
+ 
  PackageArchitecture: all
  SourcePackage: malcontent
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to malcontent in Ubuntu.
https://bugs.launchpad.net/bugs/2169483

Title:
  Invalid user-name in dbus files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/malcontent/+bug/2169483/+subscriptions


-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to