Re: getting the running patch level

2012-08-13 Thread Dag-Erling Smørgrav
Manolis Kiagias writes: > One could also set the environment variable UNAME_r to the correct > value (either in system wide e.g. /etc/profile or to a specific user > dot files). If your goal is to have uname(1) return the correct value, yes, except it won't always work. For instance, sudo(1) (an

Re: getting the running patch level

2012-08-13 Thread Manolis Kiagias
On 13/08/2012 22:27, Dag-Erling Smørgrav wrote: Jason Hellenthal writes: Could I suggest... the same way that /etc/motd is already updated ? You could, but it wouldn't be very helpful, since /etc/rc.d/motd uses uname(1), which returns the kernel version. On the contrary, once /etc/issue is in

Re: getting the running patch level

2012-08-13 Thread Dag-Erling Smørgrav
Jason Hellenthal writes: > Could I suggest... the same way that /etc/motd is already updated ? You could, but it wouldn't be very helpful, since /etc/rc.d/motd uses uname(1), which returns the kernel version. On the contrary, once /etc/issue is in place, we should use that instead of uname(1) to