[Bug 1404961] Re: We shouldn't allow to shutdown the system when a installation or a update is in progress

2014-12-26 Thread Sergey Shnatsel Davidoff
This is already implemented for unattended-upgrades, i.e. when security updates are installed automatically in the background. It should be fairly trivial to adapt that check to handle user-initiated upgrades as well. -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1404961] Re: We shouldn't allow to shutdown the system when a installation or a update is in progress

2014-12-24 Thread Marek Doležel
In my opinion the best option is to tell the user about on going update/whatever and inform system will be halted when done. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1404961 Title: We

[Bug 1404961] Re: We shouldn't allow to shutdown the system when a installation or a update is in progress

2014-12-24 Thread Sergey Shnatsel Davidoff
** Changed in: elementaryos Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1404961 Title: We shouldn't allow to shutdown the system when a installation or a update

[Bug 1404961] Re: We shouldn't allow to shutdown the system when a installation or a update is in progress

2014-12-24 Thread Cameron Norman
So getting a systemd-inhibit (works on all logind systems) delay lock on the shutdown action seems to be a good way to do this, no? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1404961 Title: We

[Bug 1404961] Re: We shouldn't allow to shutdown the system when a installation or a update is in progress

2014-12-24 Thread Cameron Norman
http://www.freedesktop.org/wiki/Software/systemd/inhibit/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1404961 Title: We shouldn't allow to shutdown the system when a installation or a update is

[Bug 1404961] Re: We shouldn't allow to shutdown the system when a installation or a update is in progress

2014-12-23 Thread Anderson Lorencini
That really is a problem. How should we handle it? By showing the user a message, and giving him the option to shutdown anyways? By installing the updates and only then shutdown, windows style? Or by forbidding the shutdown completely? Personally, i think the second option is the best. Because,

[Bug 1404961] Re: We shouldn't allow to shutdown the system when a installation or a update is in progress

2014-12-22 Thread Raphael Isemann
** Also affects: ubuntu Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1404961 Title: We shouldn't allow to shutdown the system when a installation or a

[Bug 1404961] Re: We shouldn't allow to shutdown the system when a installation or a update is in progress

2014-12-22 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ubuntu Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1404961 Title: We shouldn't