LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-12-2016, 06:36 PM   #1
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware, Void
Posts: 7,341

Rep: Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743
A new kernel for the stable branch and for -current!


Time to upgrade your stable and -current boxes. In today's changelog:

Code:
Mon Dec 12 21:25:50 UTC 2016
a/coreutils-8.26-x86_64-1.txz:  Upgraded.
a/grep-2.27-x86_64-1.txz:  Upgraded.
a/kernel-firmware-20161211git-noarch-1.txz:  Upgraded.
a/kernel-generic-4.4.38-x86_64-1.txz:  Upgraded.
  This kernel fixes a security issue with a race condition in
  net/packet/af_packet.c that can be exploited to gain kernel code execution
  from unprivileged processes.
  Thanks to Philip Pettersson for discovering the bug and providing a patch.
  Be sure to upgrade your initrd after upgrading the kernel packages.
  If you use lilo to boot your machine, be sure lilo.conf points to the correct
  kernel and initrd and run lilo as root to update the bootloader.
  If you use elilo to boot your machine, you should run eliloconfig to copy the
  kernel and initrd to the EFI System Partition.
  For more information, see:
    https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=84ac7260236a49c79eede91617700174c2c19b0c
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-8655
  (* Security fix *)
http://slackware.osuosl.org/slackwar.../ChangeLog.txt
 
Old 12-12-2016, 08:02 PM   #2
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,015

Rep: Reputation: 7186Reputation: 7186Reputation: 7186Reputation: 7186Reputation: 7186Reputation: 7186Reputation: 7186Reputation: 7186Reputation: 7186Reputation: 7186Reputation: 7186
Installed, and so far, so good.
 
2 members found this post helpful.
Old 12-12-2016, 08:03 PM   #3
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware, Void
Posts: 7,341

Original Poster
Rep: Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743
Quote:
Originally Posted by cwizardone View Post
Installed, and so far, so good.
Yep. Working well here on my stable and -current box.

Code:
bash-4.4$ uname -a
Linux odin 4.4.38 #2 SMP Sun Dec 11 16:11:02 CST 2016 x86_64 Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz GenuineIntel GNU/Linux
 
2 members found this post helpful.
Old 12-12-2016, 09:05 PM   #4
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
The most ironic possible moment to publish this
 
6 members found this post helpful.
Old 12-12-2016, 09:13 PM   #5
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware, Void
Posts: 7,341

Original Poster
Rep: Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743
Quote:
Originally Posted by 55020 View Post
The most ironic possible moment to publish this
Interesting post. Thanks. I will stick with official builds of the Slackware kernel.
 
1 members found this post helpful.
Old 12-13-2016, 04:15 AM   #6
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Quote:
Originally Posted by 55020 View Post
The most ironic possible moment to publish this
Thanks 55020 !

I wrote my own system to auto-generate new kernel Packages from the official Slackware Kernel SlackBuilds but your dusk.Slackbuild is MUCH cleaner and simpler than my hand-rolled solution.

I LIKE it !

One question about the version of makepkg on your git repo.

Does your version of makepkg replace the official slackware makepkg ?

Do I need to be careful where I install it ?

Thanks and thanks for sharing the dusk.SlackBuild !

-- kjh
 
Old 12-13-2016, 05:21 AM   #7
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by kjhambrick View Post
Does your version of makepkg replace the official slackware makepkg ?
Nope, that makepkg sits in the same directory as everything else (and is invoked as $CWD/makepkg instead of /sbin/makepkg). It's all in the right place when you clone it from gitlab. Here's the makepkg diff.

This is still *experimental* / unfinished / just for fun / learning / potential disaster / borderline heresy. Like hitest, I still use Patrick's kernels and have no plans to change

Last edited by 55020; 12-13-2016 at 05:34 AM. Reason: unfinished, and no actual published packages yet
 
1 members found this post helpful.
Old 12-13-2016, 08:20 AM   #8
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,873

Rep: Reputation: 4982Reputation: 4982Reputation: 4982Reputation: 4982Reputation: 4982Reputation: 4982Reputation: 4982Reputation: 4982Reputation: 4982Reputation: 4982Reputation: 4982
Anyone tried 4.9 yet? I've just run through make oldconfig and got my local config file ready for a build. Surprisingly there weren't that many new options to set given how large a changeset 4.9 is.

update:
Code:
test@ws1:~$ uname -a
Linux ws1 4.9.0-local #1 SMP Tue Dec 13 14:25:08 GMT 2016 x86_64 Intel(R) Core(TM) i3-5157U CPU @ 2.50GHz GenuineIntel GNU/Linux
Well, if nothing else. It still boots. Nothing obviously untoward in the kernel log.

Last edited by GazL; 12-13-2016 at 08:40 AM.
 
3 members found this post helpful.
Old 12-13-2016, 08:40 AM   #9
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Quote:
Originally Posted by GazL View Post
Anyone tried 4.9 yet? I've just run through make oldconfig and got my local config file ready for a build. Surprisingly there weren't that many new options to set given how large a changeset 4.9 is.
Not yet GazL

It's 'on my list' for Slackware64 14.2 though because Greg KH designated 4.9.x as an LTS Kernel last September.

And now I am even more inclined to try 4.9.x, given your report of surprisingly few new options for me to research

Thanks for the report !

-- kjh
 
Old 12-13-2016, 09:16 AM   #10
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
So, the Security Team e-mail this morning (actually, yesterday at 6:10 PM) for PHP, mcabber, loudmounth and the 4.4.38 kernel in the mail. Downloaded all of 'em, did the updates, remembered to run lilo, rebooted the main workstation.

One strange thing (well, two): something reported two fatal errors about couldn't find /lib/something 4.4.29 (when it was shutting down from init 6).

Hm.

I think -- think -- it's something to do with VirtualBox but prowling through the logs looking for what the error actually was turned up nothing.

Hm.

But, it rebooted, everything seems to be working (including VirtualBox). No second report of the fatal error.

OK, do the laptop and the two data base servers, no runs, no drips, no errors (seems like it must actually be VirtualBox), haven't gotten around to rebuilding it yet, still checking everything that matters.

I run the huge kernel, do not fiddle with anything kernelish (I don't care if it's a little on the big side, got plenty of RAM and lots of disk, just ain't worth messing with it. I don't know if I have an initrd, but I don't think so.

It looks like all is well that ends.

Last edited by tronayne; 12-13-2016 at 09:17 AM.
 
1 members found this post helpful.
Old 12-13-2016, 09:35 AM   #11
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
tronayne --

You mentioned that you downloaded the packages and did the updates ... my question is how did you do the updates ?

-- kjh
 
Old 12-13-2016, 09:44 AM   #12
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware, Void
Posts: 7,341

Original Poster
Rep: Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743Reputation: 3743
Quote:
Originally Posted by tronayne View Post
I don't know if I have an initrd, but I don't think so.

It looks like all is well that ends.
Yes. You would know if you had an initrd as you need to set it up. Glad everything is working well now.

Here's Patrick's how to on setting up an initrd.
 
Old 12-13-2016, 11:01 AM   #13
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Quote:
Originally Posted by kjhambrick View Post
tronayne --

You mentioned that you downloaded the packages and did the updates ... my question is how did you do the updates ?

-- kjh
I keep a directory /usr/local/patches. I get the patch file(s) with wget:
Code:
wget ftp://ftp.osuosl.org/pub/slackware/slackware64-14.2/patches/packages/linux-4.4.38/*
upgradepkg *.t?z
(that gets the kernel packages, I created the linux-4.4.38 directory by hand, cd into it and run wget.

I know there are other ways to do it (such as rsync) but I prefer to do it by hand. YMMV.

The individual patch files I do the same way, but one at a time. For example, the PHP update:
Code:
cd /usr/local/patches
rm php*
wget ftp://ftp.osuosl.org/pub/slackware/slackware64-14.2/patches/packages/php*
upgradepkg php*.t?z
I just do a command line edit for the other non-kernel updates.

If you subscribe to the Slackware Security list you'll get an e-mail that looks like this:
Quote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[slackware-security] php (SSA:2016-347-03)

New php packages are available for Slackware 14.0, 14.1, 14.2, and -current to
fix security issues.


Here are the details from the Slackware 14.2 ChangeLog:
+--------------------------+
patches/packages/php-5.6.29-i586-1_slack14.2.txz: Upgraded.
This release fixes bugs and security issues.
For more information, see:
https://php.net/ChangeLog-5.php#5.6.29
https://cve.mitre.org/cgi-bin/cvenam...=CVE-2016-9933
https://cve.mitre.org/cgi-bin/cvenam...=CVE-2016-9934
https://cve.mitre.org/cgi-bin/cvenam...=CVE-2016-9935
(* Security fix *)
+--------------------------+


Where to find the new packages:
+-----------------------------+

Thanks to the friendly folks at the OSU Open Source Lab
(http://osuosl.org) for donating FTP and rsync hosting
to the Slackware project!

Also see the "Get Slack" section on http://slackware.com for
additional mirror sites near you.

Updated package for Slackware 14.0:
ftp://ftp.slackware.com/pub/slackwar..._slack14.0.txz

Updated package for Slackware x86_64 14.0:
ftp://ftp.slackware.com/pub/slackwar..._slack14.0.txz

Updated package for Slackware 14.1:
ftp://ftp.slackware.com/pub/slackwar..._slack14.1.txz

Updated package for Slackware x86_64 14.1:
ftp://ftp.slackware.com/pub/slackwar..._slack14.1.txz

Updated package for Slackware 14.2:
ftp://ftp.slackware.com/pub/slackwar..._slack14.2.txz

Updated package for Slackware x86_64 14.2:
ftp://ftp.slackware.com/pub/slackwar..._slack14.2.txz

Updated package for Slackware -current:
ftp://ftp.slackware.com/pub/slackwar....29-i586-1.txz

Updated package for Slackware x86_64 -current:
ftp://ftp.slackware.com/pub/slackwar...9-x86_64-1.txz


MD5 signatures:
+-------------+

Slackware 14.0 package:
3b1bcd9a49f51a1c53b6d78fac417e4c php-5.6.29-i486-1_slack14.0.txz

Slackware x86_64 14.0 package:
f8cf25305c8da567de0d27ba50dc70eb php-5.6.29-x86_64-1_slack14.0.txz

Slackware 14.1 package:
b2d17fad7d12e9164f647fad58a9e6d8 php-5.6.29-i486-1_slack14.1.txz

Slackware x86_64 14.1 package:
d8af82b42e32c6cdaf2796b99bb1dcdb php-5.6.29-x86_64-1_slack14.1.txz

Slackware 14.2 package:
7e58a0bd4fb49042c070bf93bd86e7fa php-5.6.29-i586-1_slack14.2.txz

Slackware x86_64 14.2 package:
d1c5f9f1fb9fa184797d7764a57190e8 php-5.6.29-x86_64-1_slack14.2.txz

Slackware -current package:
3d5500cbe78434ba2689c9299a93dc59 n/php-5.6.29-i586-1.txz

Slackware x86_64 -current package:
669059915290232877a19f43a76ee6c6 n/php-5.6.29-x86_64-1.txz


Installation instructions:
+------------------------+

Upgrade the package as root:
# upgradepkg php-5.6.29-i586-1_slack14.2.txz

Then, restart Apache httpd:
# /etc/rc.d/rc.httpd stop
# /etc/rc.d/rc.httpd start


+-----+

Slackware Linux Security Team
http://slackware.com/gpg-key
security@slackware.com

+------------------------------------------------------------------------+
| To leave the slackware-security mailing list: |
+------------------------------------------------------------------------+
| Send an email to majordomo@slackware.com with this text in the body of |
| the email message: |
| |
| unsubscribe slackware-security |
| |
| You will get a confirmation message back containing instructions to |
| complete the process. Please do not reply to this email address. |
+------------------------------------------------------------------------+
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAlhPIvMACgkQakRjwEAQIjOdqQCfc5F8LM7tgLUzXwbMtzloHynP
ASgAn0/WhxqDhY/ctMA0a1DPJhY9yHrX
=wV0/
-----END PGP SIGNATURE-----
You subscribe at slackware .com.

Hope this helps some.
 
1 members found this post helpful.
Old 12-13-2016, 08:46 PM   #14
dr.s
Member
 
Registered: Feb 2010
Distribution: Slackware64-current
Posts: 338

Rep: Reputation: 156Reputation: 156
Quote:
Originally Posted by GazL View Post
Anyone tried 4.9 yet? I've just run through make oldconfig and got my local config file ready for a build. Surprisingly there weren't that many new options to set given how large a changeset 4.9 is.

update:
Code:
test@ws1:~$ uname -a
Linux ws1 4.9.0-local #1 SMP Tue Dec 13 14:25:08 GMT 2016 x86_64 Intel(R) Core(TM) i3-5157U CPU @ 2.50GHz GenuineIntel GNU/Linux
Well, if nothing else. It still boots. Nothing obviously untoward in the kernel log.
Tried both 4.8.x for a while and 4.9 now, laptop boots as usual, sleep/hibernate works, no issues at all so far.
 
2 members found this post helpful.
Old 12-13-2016, 09:03 PM   #15
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
Quote:
Originally Posted by dr.s View Post
Tried both 4.8.x for a while and 4.9 now, laptop boots as usual, sleep/hibernate works, no issues at all so far.
How did you get your sleep/hibernation to work? I have been struggling with it.

Last edited by PROBLEMCHYLD; 12-14-2016 at 07:30 AM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Stable 13 kernel vs Current kernel in Stable system linus72 Slackware 6 04-01-2010 07:45 AM
what is the current stable Kernel for Slack 10.2? alex1986 Linux - Kernel 4 08-01-2006 04:38 PM
current branch: kde 3.4 and kdm tobyl Slackware 2 03-29-2005 12:15 PM
X11 6.8.1 in slack-current branch r_jensen11 Slackware 19 09-30-2004 05:49 AM
Gnome 2.6 in the current branch? (+Questions about Dropline) the who Slackware 6 05-06-2004 11:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration