** Description changed:

+ [ Impact ]
+ 
+ Multiple malcontent systemd services fail to start on boot or service
+ invocation, exiting with status 217/USER (Failed at step USER spawning
+ ...: Invalid argument).
+ 
+ Affected services include:
+ 
+ * malcontent-timer-extension-agent.service
+ 
+ * malcontent-timerd.service
+ 
+ * malcontent-webd-update.service
+ 
+ * malcontent-webd.service
+ 
+ This breaks parental controls system features (timer enforcement and web
+ filtering) because the systemd units reference dynamic/dedicated system
+ users (malcontent-timer-ext-agent, malcontent-timerd, malcontent-webd)
+ that are missing from the system.
+ 
+ [ Test Plan ]
+ 
+ * Install malcontent and malcontent-gui on a clean installation.
+ 
+ * Attempt to start or check the status of the malcontent services:
+ sudo systemctl start malcontent-timerd.service malcontent-webd.service 
malcontent-timer-extension-agent.service malcontent-webd-update.service
+ 
+ * Verify using systemctl status that the services no longer fail with
+ exit code 217/USER.
+ 
+ Confirm the required system accounts exist on the system, like 'cat
+ /etc/passwd'.
+ 
+ [ Where problems could occur ]
+ 
+ * User Creation / UID Assignment: Adding system users during
+ installation (via sysusers) could conflict if existing systems already
+ have manually configured accounts with matching names.
+ 
+ [ Other Info ]
  Multiple malcontent service failed to start
  
  1. malcontent-timer-extension-agent.service:
  Jul 30 02:27:56 localhost.localdomain systemd[1]: Starting 
malcontent-timer-extension-agent.service - Parental Controls Timer Extension 
Agent...
  Jul 30 02:27:56 localhost.localdomain 
(alcontent-timer-extension-agent)[10632]: 
malcontent-timer-extension-agent.service: Failed to determine credentials for 
user 'malcontent-timer-ext-agent': Unknown user
  Jul 30 02:27:56 localhost.localdomain 
(alcontent-timer-extension-agent)[10632]: 
malcontent-timer-extension-agent.service: Failed at step USER spawning 
/usr/libexec/malcontent-timer-extension-agent: Invalid argument
  Jul 30 02:27:56 localhost.localdomain systemd[1]: 
malcontent-timer-extension-agent.service: Main process exited, code=exited, 
status=217/USER
  Jul 30 02:27:56 localhost.localdomain systemd[1]: 
malcontent-timer-extension-agent.service: Failed with result 'exit-code'.
  Jul 30 02:27:56 localhost.localdomain systemd[1]: Failed to start 
malcontent-timer-extension-agent.service - Parental Controls Timer Extension 
Agent.
  
  2. malcontent-timerd.service:
  Jul 30 03:38:39 localhost (malcontent-timerd)[4894]: 
malcontent-timerd.service: Failed to determine credentials for user 
'malcontent-timerd': Unknown user
  Jul 30 03:38:39 localhost (malcontent-timerd)[4894]: 
malcontent-timerd.service: Failed at step USER spawning 
/usr/libexec/malcontent-timerd: Invalid argument
  Jul 30 03:38:39 localhost systemd[1]: malcontent-timerd.service: Main process 
exited, code=exited, status=217/USER
  Jul 30 03:38:39 localhost systemd[1]: malcontent-timerd.service: Failed with 
result 'exit-code'.
  Jul 30 03:38:39 localhost systemd[1]: Failed to start 
malcontent-timerd.service - Parental Controls Timer Daemon.
  Jul 30 03:38:42 localhost systemd[1]: Starting malcontent-timerd.service - 
Parental Controls Timer Daemon...
  Jul 30 03:38:42 localhost (malcontent-timerd)[6354]: 
malcontent-timerd.service: Failed to determine credentials for user 
'malcontent-timerd': Unknown user
  Jul 30 03:38:42 localhost (malcontent-timerd)[6354]: 
malcontent-timerd.service: Failed at step USER spawning 
/usr/libexec/malcontent-timerd: Invalid argument
  Jul 30 03:38:42 localhost systemd[1]: malcontent-timerd.service: Main process 
exited, code=exited, status=217/USER
  Jul 30 03:38:42 localhost systemd[1]: malcontent-timerd.service: Failed with 
result 'exit-code'.
  Jul 30 03:38:42 localhost systemd[1]: Failed to start 
malcontent-timerd.service - Parental Controls Timer Daemon.
  
  3. malcontent-webd-update.service:
  Jul 30 02:30:30 localhost systemd[1]: malcontent-webd-update.service: Main 
process exited, code=exited, status=217/USER
  Jul 30 02:30:30 localhost systemd[1]: malcontent-webd-update.service: Failed 
with result 'exit-code'.
  Jul 30 02:30:30 localhost systemd[1]: Failed to start 
malcontent-webd-update.service - Regularly Update Parental Controls Web 
Filtering Daemon.
  -- Boot 0bfb64c61c9a429fa9cb3e0719dfd1f6 --
  Jul 30 02:35:35 localhost systemd[1]: Starting malcontent-webd-update.service 
- Regularly Update Parental Controls Web Filtering Daemon...
  Jul 30 02:35:35 localhost (malcontent-webd-update)[4880]: 
malcontent-webd-update.service: Failed to determine credentials for user 
'malcontent-webd': Unknown user
  Jul 30 02:35:35 localhost (malcontent-webd-update)[4880]: 
malcontent-webd-update.service: Failed at step USER spawning 
/usr/libexec/malcontent-webd-update: Invalid argument
  Jul 30 02:35:35 localhost systemd[1]: malcontent-webd-update.service: Main 
process exited, code=exited, status=217/USER
  Jul 30 02:35:35 localhost systemd[1]: malcontent-webd-update.service: Failed 
with result 'exit-code'.
  Jul 30 02:35:35 localhost systemd[1]: Failed to start 
malcontent-webd-update.service - Regularly Update Parental Controls Web 
Filtering Daemon.
  Jul 30 03:05:15 localhost systemd[1]: Starting malcontent-webd-update.service 
- Regularly Update Parental Controls Web Filtering Daemon...
  Jul 30 03:05:15 localhost (malcontent-webd-update)[11493]: 
malcontent-webd-update.service: Failed to determine credentials for user 
'malcontent-webd': Unknown user
  Jul 30 03:05:15 localhost (malcontent-webd-update)[11493]: 
malcontent-webd-update.service: Failed at step USER spawning 
/usr/libexec/malcontent-webd-update: Invalid argument
  Jul 30 03:05:15 localhost systemd[1]: malcontent-webd-update.service: Main 
process exited, code=exited, status=217/USER
  Jul 30 03:05:15 localhost systemd[1]: malcontent-webd-update.service: Failed 
with result 'exit-code'.
  Jul 30 03:05:15 localhost systemd[1]: Failed to start 
malcontent-webd-update.service - Regularly Update Parental Controls Web 
Filtering Daemon.
  
  4. malcontent-webd.service:
  Jul 30 02:27:56 localhost.localdomain systemd[1]: Starting 
malcontent-webd.service - Parental Controls Web Filtering Daemon...
  Jul 30 02:27:56 localhost.localdomain (malcontent-webd)[10635]: 
malcontent-webd.service: Failed to determine credentials for user 
'malcontent-webd': Unknown user
  Jul 30 02:27:56 localhost.localdomain (malcontent-webd)[10635]: 
malcontent-webd.service: Failed at step USER spawning 
/usr/libexec/malcontent-webd: Invalid argument
  Jul 30 02:27:56 localhost.localdomain systemd[1]: malcontent-webd.service: 
Main process exited, code=exited, status=217/USER
  Jul 30 02:27:56 localhost.localdomain systemd[1]: malcontent-webd.service: 
Failed with result 'exit-code'.
  Jul 30 02:27:56 localhost.localdomain systemd[1]: Failed to start 
malcontent-webd.service - Parental Controls Web Filtering Daemon.
  -- Boot 3b3ee996128048559e93ecd34311355e --
  Jul 30 02:30:30 localhost systemd[1]: Starting malcontent-webd.service - 
Parental Controls Web Filtering Daemon...
  Jul 30 02:30:30 localhost (malcontent-webd)[4884]: malcontent-webd.service: 
Failed to determine credentials for user 'malcontent-webd': Unknown user
  Jul 30 02:30:30 localhost (malcontent-webd)[4884]: malcontent-webd.service: 
Failed at step USER spawning /usr/libexec/malcontent-webd: Invalid argument
  Jul 30 02:30:30 localhost systemd[1]: malcontent-webd.service: Main process 
exited, code=exited, status=217/USER
  Jul 30 02:30:30 localhost systemd[1]: malcontent-webd.service: Failed with 
result 'exit-code'.
  Jul 30 02:30:30 localhost systemd[1]: Failed to start malcontent-webd.service 
- Parental Controls Web Filtering Daemon.

-- 
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/2162116

Title:
  Multiple malcontent services not able to run due to needed user not
  exist

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/2162116/+subscriptions


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

Reply via email to