https://bugs.kde.org/show_bug.cgi?id=447546

            Bug ID: 447546
           Summary: Feature: Global unattended updates
           Product: Discover
           Version: 5.23.4
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: discover
          Assignee: lei...@leinir.dk
          Reporter: supg...@gmail.com
                CC: aleix...@kde.org
  Target Milestone: ---

SUMMARY

There is an option in system settings for automatic updates. However this
option is only set for the current user (saved in
`~/.config/PlasmaDiscoverUpdates`). I want to enable auto updates for the whole
system. Users should not be able to disable auto updates by accident. I want to
have this setting somewhere in for example `/etc/PlasmaDiscoverUpdates`, not
writable for normal users.


STEPS TO REPRODUCE
1. Enable automatic updates for one user
2. Create a new user and see that automatic updates are disabled again

OBSERVED RESULT
Automatic updates do not work for new users and users can disable them by
accident.

EXPECTED RESULT
Automatic updates should be a system wide setting that only administrators can
change.

ADDITIONAL INFORMATION

A possible short solution would be (pseudo code):

if (file.exists("/etc/PlasmaDiscoverUpdates")) {
// load settings from /etc/PlasmaDiscoverUpdates
} else {
// load settings from ~/.config/PlasmaDiscoverUpdates`
}

And an alternative idea, would take longer to implement:
a whole new system wide service which runs as root and performs the updates,
not depending on user sessions or user settings at all.
This would also make auto updates more reliable in general, for example if
users are switched often (current idle timeout never runs out), multiple users
are logged in (conflicting auto updates run multiple times), and would make it
work even in cases where users do not have admin privileges to perform updates,
like in case of ubuntu, auto updates currently don't work at all because of
this:
https://bugs.launchpad.net/ubuntu/+source/packagekit/+bug/1955489

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to