Hi folks,
I had been using the following to determine when a kernel update was applied:
cat /var/log/zypp/history |grep kernel-d|grep ok
And getting a result like:
2017-05-03 13:23:32 kernel-default-4.10.13-1.1.x86_64.rpm installed ok
But since the above entry I’ve been thru several updates but don’t see them using the above command.
If I use instead:
cat /var/log/zypp/history |grep kernel-d
Then I get the following type output:
2017-05-03 13:23:32 kernel-default-4.10.13-1.1.x86_64.rpm installed ok
2017-05-03 13:23:32|install|kernel-default|4.10.13-1.1|x86_64||openSUSE-20160613-0|15d9511e0d6b1dc8c3c27e4423d95616e493d1b3|
2017-05-18 07:34:27|install|kernel-default|4.11.0-1.1|x86_64||openSUSE-20160613-0|975df94957c6616bde8352f48d936852deac1af0|
2017-05-23 09:43:05|install|kernel-default|4.11.1-1.2|x86_64||openSUSE-20160613-0|51812faf367102ccb529d4c460d21e6530695515|
2017-05-28 11:00:38|install|kernel-default|4.11.2-1.2|x86_64||openSUSE-20160613-0|e2e1fe04d715b3d5335274d2c28b300f22b517ef|
2017-06-03 12:03:16|install|kernel-default|4.11.3-1.2|x86_64||openSUSE-20160613-0|9d55ce17c60bdd5ff2da639ea2b78db8ca1c1a1e|
2017-06-14 09:22:14|install|kernel-default|4.11.4-1.1|x86_64||openSUSE-20160613-0|bfde818d5e3a58fb20196f27b2d89369622714f0|
2017-06-19 07:27:51|install|kernel-default|4.11.5-1.1|x86_64||openSUSE-20160613-0|fa74fd94aa8b2e2816309f4e9e832e64eee6dd04|
And uname -a indicates I’m currently at 4.11.5-1-default which matches the last entry above
uname -a
Linux cruiselite 4.11.5-1-default #1 SMP PREEMPT Wed Jun 14 14:24:30 UTC 2017 (8ffa6bb) x86_64 x86_64 x86_64 GNU/Linux
So I’m getting updates but not the ‘installed ok’ message in /var/log/zypp/history.
is this normal behavior? How would I know if something were amiss during a kernel update?
Thanks!
2017-05-03 13:23:32|install|kernel-default|4.10.13-1.1|x86_64||openSUSE-20160613-0|15d9511e0d6b1dc8c3c27e4423d95616e493d1b3|
2017-05-18 07:34:27|install|kernel-default|4.11.0-1.1|x86_64||openSUSE-20160613-0|975df94957c6616bde8352f48d936852deac1af0|
2017-05-23 09:43:05|install|kernel-default|4.11.1-1.2|x86_64||openSUSE-20160613-0|51812faf367102ccb529d4c460d21e6530695515|
2017-05-28 11:00:38|install|kernel-default|4.11.2-1.2|x86_64||openSUSE-20160613-0|e2e1fe04d715b3d5335274d2c28b300f22b517ef|
2017-06-03 12:03:16|install|kernel-default|4.11.3-1.2|x86_64||openSUSE-20160613-0|9d55ce17c60bdd5ff2da639ea2b78db8ca1c1a1e|
2017-06-14 09:22:14|install|kernel-default|4.11.4-1.1|x86_64||openSUSE-20160613-0|bfde818d5e3a58fb20196f27b2d89369622714f0|
2017-06-19 07:27:51|install|kernel-default|4.11.5-1.1|x86_64||openSUSE-20160613-0|fa74fd94aa8b2e2816309f4e9e832e64eee6dd04|
As you can see, there is no ok in the line…
And you grep this with “ok”, so no output…l…
Sauerland:
2017-05-03 13:23:32|install|kernel-default|4.10.13-1.1|x86_64||openSUSE-20160613-0|15d9511e0d6b1dc8c3c27e4423d95616e493d1b3|
2017-05-18 07:34:27|install|kernel-default|4.11.0-1.1|x86_64||openSUSE-20160613-0|975df94957c6616bde8352f48d936852deac1af0|
2017-05-23 09:43:05|install|kernel-default|4.11.1-1.2|x86_64||openSUSE-20160613-0|51812faf367102ccb529d4c460d21e6530695515|
2017-05-28 11:00:38|install|kernel-default|4.11.2-1.2|x86_64||openSUSE-20160613-0|e2e1fe04d715b3d5335274d2c28b300f22b517ef|
2017-06-03 12:03:16|install|kernel-default|4.11.3-1.2|x86_64||openSUSE-20160613-0|9d55ce17c60bdd5ff2da639ea2b78db8ca1c1a1e|
2017-06-14 09:22:14|install|kernel-default|4.11.4-1.1|x86_64||openSUSE-20160613-0|bfde818d5e3a58fb20196f27b2d89369622714f0|
2017-06-19 07:27:51|install|kernel-default|4.11.5-1.1|x86_64||openSUSE-20160613-0|fa74fd94aa8b2e2816309f4e9e832e64eee6dd04|
As you can see, there is no ok in the line…
And you grep this with “ok”, so no output…l…
Understood that the above lines do not have “ok” in them and that is what my question pertains to.
Prior to 05/04/2017 the /var/log/zypp/history file did contain lines for the kernel updates that had ‘ok’
cat /var/log/zypp/history |grep kernel-d|grep ok
# 2017-04-25 14:00:08 kernel-default-4.10.10-1.2.x86_64.rpm installed **ok**
# 2017-04-28 07:58:44 kernel-default-4.10.12-1.1.x86_64.rpm installed **ok**
# 2017-05-03 13:23:32 kernel-default-4.10.13-1.1.x86_64.rpm installed **ok**
But after that I have still received kernel updates but the history file does not show them the same way.
cat /var/log/zypp/history |grep kernel-d
# 2017-04-25 14:00:08 **kernel-d**efault-4.10.10-1.2.x86_64.rpm installed ok
2017-04-25 14:00:08|install|**kernel-d**efault|4.10.10-1.2|x86_64||openSUSE-20160613-0|0f15f608f792d1485c588761808446e571b260a5|
# 2017-04-28 07:58:44 **kernel-d**efault-4.10.12-1.1.x86_64.rpm installed ok
2017-04-28 07:58:44|install|**kernel-d**efault|4.10.12-1.1|x86_64||openSUSE-20160613-0|0ec5bd92b6c617322a7f301d0d6f79fbcbe13539|
# 2017-05-03 13:23:32 **kernel-d**efault-4.10.13-1.1.x86_64.rpm installed ok
2017-05-03 13:23:32|install|**kernel-d**efault|4.10.13-1.1|x86_64||openSUSE-20160613-0|15d9511e0d6b1dc8c3c27e4423d95616e493d1b3|
2017-05-18 07:34:27|install|**kernel-d**efault|4.11.0-1.1|x86_64||openSUSE-20160613-0|975df94957c6616bde8352f48d936852deac1af0|
2017-05-23 09:43:05|install|**kernel-d**efault|4.11.1-1.2|x86_64||openSUSE-20160613-0|51812faf367102ccb529d4c460d21e6530695515|
2017-05-28 11:00:38|install|**kernel-d**efault|4.11.2-1.2|x86_64||openSUSE-20160613-0|e2e1fe04d715b3d5335274d2c28b300f22b517ef|
2017-06-03 12:03:16|install|**kernel-d**efault|4.11.3-1.2|x86_64||openSUSE-20160613-0|9d55ce17c60bdd5ff2da639ea2b78db8ca1c1a1e|
2017-06-14 09:22:14|install|**kernel-d**efault|4.11.4-1.1|x86_64||openSUSE-20160613-0|bfde818d5e3a58fb20196f27b2d89369622714f0|
2017-06-19 07:27:51|install|**kernel-d**efault|4.11.5-1.1|x86_64||openSUSE-20160613-0|fa74fd94aa8b2e2816309f4e9e832e64eee6dd04|
So as you can see, the last 6 updates (from 2017/05/18 and forward) just show the ‘install | kernel-default’ line but not the ‘ok’ line but the first 6 lines have an ‘installed ok’ line and a corresponding ‘install | kernel-default’ line so I was trying to determine if that is normal output. More a curiosity than anything.
Thanks!
Do you see, if there is a second line in the histrory?
Here on Leap it is working.
If I cat the history file there is a lot of other items in there and I don’t see a pattern for the kernel updates easily.
I appreciate the assistance anyway but it was more my curiosity than a problem so I think I am good.
Thanks!