FS#42149 - linux-grsec: change `uname -r` so it's clear it's Arch Linux machine
Attached to Project:
Community Packages
Opened by Damian Nowak (Nowaker) - Sunday, 28 September 2014, 00:32 GMT
Last edited by Daniel Micay (thestinger) - Monday, 29 September 2014, 22:11 GMT
Opened by Damian Nowak (Nowaker) - Sunday, 28 September 2014, 00:32 GMT
Last edited by Daniel Micay (thestinger) - Monday, 29 September 2014, 22:11 GMT
|
Details
I encountered some problem while using serverspec to test my
servers. Serverspec wasn't able to autodetect the
distribution on one of my Arch Linux servers. It turned it
it's because of linux-grsec presenting non-Arch Linux `uname
-r`. Sure, `3.16.3-1-ARCH` should never be presented with
grsec kernel, but how about `3.16.3-1-ARCH-grsec`? This lets
any software detect Arch Linux, without confusing vanilla
Arch kernel with grsec kernel.
|
This task depends upon
Closed by Daniel Micay (thestinger)
Monday, 29 September 2014, 22:11 GMT
Reason for closing: Won't implement
Monday, 29 September 2014, 22:11 GMT
Reason for closing: Won't implement
Comment by Damian Nowak (Nowaker) -
Sunday, 28 September 2014, 00:33 GMT
s/It turned it it's/It turned out it's/
Comment by Damian Nowak (Nowaker) -
Sunday, 28 September 2014, 02:30 GMT
Oh, I meant "how about 3.16.3.201409180901-1-ARCH-grsec", not
"3.16.3-1-ARCH-grsec", obviously. :-)
Comment by
Daniel Micay (thestinger) - Monday,
29 September 2014, 22:11 GMT
The linux-lts package uses $pkgver-$pkgrel-lts rather than
$pkgver-$pkgver-ARCH-lts. Detecting Arch Linux should be done with
the standard /etc/os-release file. I'm not interested in making
the version even longer in order to cope with broken software.