Feature request: /var/run/reboot-required additional info

Kernels & Hardware, configuring network, installing services

Feature request: /var/run/reboot-required additional info

Postby paratrap » 2020-08-03 12:08

Hello!

I have idea: why not add additional information info '/var/run/reboot-required' about what package/binary requested reboot?

For example when package /usr/bin/dbus requested reboot after upgrade, it can add link to the dbus executable file into '/var/run/reboot-required'?

Right now file exists and stay empty (0 bytes) or does not exists, but it can contain related information, like package name / config file / binary file which requested reboot.

Not very hard to implement, but handy.

grep -l notify-reboot-required /var/lib/dpkg/info/*.postinst
paratrap
 
Posts: 35
Joined: 2010-09-05 13:08

Re: Feature request: /var/run/reboot-required additional inf

Postby LE_746F6D617A7A69 » 2020-08-03 12:53

paratrap wrote:Not very hard to implement, but handy.

IMO there's no need to implement any changes -> such functionality can be provided trough existing package-triggers system.

The only problem I can see is that You have to convince Debian developers, not users ;)
Bill Gates: "(...) In my case, I went to the garbage cans at the Computer Science Center and I fished out listings of their operating system."
The_full_story and Nothing_have_changed
LE_746F6D617A7A69
 
Posts: 345
Joined: 2020-05-03 14:16


Return to System configuration

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable