LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 10-01-2019, 12:38 PM   #3811
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,187

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379

Quote:
Originally Posted by olear View Post
Maybe, but releasing Slackware 15 with kernel 4.19 or 5.4 would be a bad decision in regards to security down the line.

I can get security updates to the kernel I run on Slackware 14.2 until 2022. Getting ~2 years on Slackware 15.0 is not good IMHO.


Looking back Slackware 15 should have been released (early) 2018 with kernel 4.14 (EOL 2024).
I would say that is the main issue. I think that this development cycle has been longer than usual, but again there are circumstances that caused that - software inclusion mainly. .
 
Old 10-01-2019, 01:02 PM   #3812
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,063

Rep: Reputation: Disabled
Quote:
Originally Posted by Jeebizz View Post
I hope I don't run into that on my production machine when I use cfdisk to wipe the partitions itself (writing to disk and the old fs still stays even after reboot)
Using cfdisk you create or modify a partition table, recording where each partition begins and ends and the partition's type. This doesn't change the content of the partitions, including the file systems, in any way. To change a file system type you have to set up a new one for the partition.

Last edited by Didier Spaier; 10-01-2019 at 01:03 PM.
 
Old 10-01-2019, 01:06 PM   #3813
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,063

Rep: Reputation: Disabled
Let Pat decide which kernel he includes in any Slackware version, and upgrade it as he sees fit. If this choice does not fit your needs, just build and install another one.

Last edited by Didier Spaier; 10-01-2019 at 04:47 PM. Reason: typo fix
 
1 members found this post helpful.
Old 10-01-2019, 01:24 PM   #3814
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,187

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Quote:
Originally Posted by Didier Spaier View Post
Quote:
Originally Posted by Jeebizz View Post
I hope I don't run into that on my production machine when I use cfdisk to wipe the partitions itself (writing to disk and the old fs still stays even after reboot)
Using cfdisk you create or modify a partition table, recording where each partition begins and ends and the partition's type. This doesn't change the content of the partitions, including the file systems, in any way. To change a file system type you have to set up a new one for the partition.
Right, but I know for a fact I cleared the partition in cfdisk, then chose to format sda2 as f2fs and it didnt stick, so I dont know..

Last edited by Jeebizz; 10-01-2019 at 03:27 PM.
 
Old 10-01-2019, 02:00 PM   #3815
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Quote:
Originally Posted by Jeebizz View Post
I don't know why the settings were not sticking, because I know I made sure to write to disk in cfdisk - I literally had to delete the VM and start a new, and this time I created the partitions - I can't explain why when I wiped the partition types and wrote to disk, it kept reverting back as being labeled as jfs.
Now you have f2fs partition. Still got troubles with installation on this partition?
 
Old 10-01-2019, 03:09 PM   #3816
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,187

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Quote:
Originally Posted by igadoter View Post
Quote:
Originally Posted by Jeebizz View Post
I don't know why the settings were not sticking, because I know I made sure to write to disk in cfdisk - I literally had to delete the VM and start a new, and this time I created the partitions - I can't explain why when I wiped the partition types and wrote to disk, it kept reverting back as being labeled as jfs.
Now you have f2fs partition. Still got troubles with installation on this partition?

Yes, installation was successful.
 
1 members found this post helpful.
Old 10-01-2019, 08:22 PM   #3817
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by olear View Post
Since Slackware stable is supported over several years the only sensible versions (right now) would be 4.14 or 4.9.
Personally, I think this would be a bad solution. It limits hardware support on a new release and would make Slackware 15.0 not be the stellar release that its users deserve. No previous version of Slackware was released with the knowledge LTS kernels might get support past the 2 year mark (14.2 was released in 2016 and 4.4 was announced to have 6 years of support in 2017... when 14.2 was released, it was expected the 4.4 kernel would have 2 years of support by kernel.org).

Keep in mind, 6 year LTS kernels are still relatively new. It was first announced 2 years ago with the 4.4 kernel... only about 5 months before 4.4 was expected to go EOL (it was initially going to be EOL Feb 2018 and they announced in Sep 2017 that it would have 6 years of support). And 4.14 was initially released with only 2 years of guaranteed support, but that was recently extended to 6 years. It is very possible the same could happen for the 4.19 and the 5.4 releases. The fact that Slackware 14.2 ended up with a 6 year kernel in a time when the development of the next stable release has taken longer than the normal 2 year LTS period of a kernel is straight up luck. 14.2 wasn't released with the expectation of 6 years of kernel support, and I hope Pat doesn't release 15.0 expecting a 6 year kernel support. I hope that Slackware doesn't get to the point where the next stable is regularly released more than 2 years after the previous stable.

Also, keep in mind that the length of development time for 15.0 is unprecedented in Slackware history. We don't know whether 15.1 will keep a similar extremely extended development cycle or get to something a bit more useful, like maybe 1-2 years of development time. I have a feeling it is because Pat is working on something potentially disruptive in the background like including PAM or QT5/KDE5 and he needs it to be at a certain level before he's willing to push it out to the masses (I imagine him getting pulseaudio to work so seamlessly for most users is why 14.2 took so long), and that took a lot more time than he expected... especially with all the CPU security issues that have popped up over the last year and a half and the crazy amount of patches that have been pushed out to various software stacks. If he's able to get everything working smoothly with 15.0, hopefully there won't be anything super disruptive in future releases and he can push out 15.1 quicker.

It would've been nice to get an interim 14.2.1 release with a few things upgraded to take advantage of newer hardware, but that never happened. Hopefully whatever Pat is brewing is getting close for him to make public and could lead to us getting a 15.0 release soonish.

Long story short, with the time we've been waiting for 15.0, it should be a stellar release supporting the latest and greatest... not handicapped by putting in a 2+ year old kernel, just to ensure we can get 6 years of kernel updates.
 
5 members found this post helpful.
Old 10-01-2019, 09:28 PM   #3818
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
I should probably mention that these are just my personal opinions on the matter. Obviously, Pat is going to do what he feels is best for Slackware. I don't know if he factors expected support from kernel developers into his release cycle. It is very possible that the extended support of the 4.4 kernel is what made him feel that he could push out the 15.0 release further to ensure it is worth the 15.0 label.
 
1 members found this post helpful.
Old 10-02-2019, 04:01 AM   #3819
franzen
Member
 
Registered: Nov 2012
Distribution: slackware
Posts: 535

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
Quote:
Originally Posted by franzen View Post
While you are on it
Just to mention it, from llvm.SlackBuild
Code:
  find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
may become

Code:
  find . -type f -exec file '{}' \+ | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
Also to mention:
\+ omits problems with filenames containing whitespaces etc., just like "-print0 | xargs -0".

and from the find manpage:
Code:
 -exec command {} +
   [...]
   If find encounters an error, this can sometimes cause an immedi‐
   ate  exit, so some pending commands may not be run at all.  This
   variant of -exec always returns true.
There are some BuildScripts with a trailing '| true' after 'find' which could be omitted, as it feels like a workaround for me.

Last edited by franzen; 10-02-2019 at 04:05 AM. Reason: typo
 
Old 10-02-2019, 05:02 AM   #3820
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,906

Rep: Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026
Just a couple of points on using '+' on find in case some folk don't know them:

'+' has no special meaning to the shell, so unlike ';' the escape is unnecessary on all these finds people are posting.

Also worth remembering, + only works with commands that may take multiple file arguments, for example one couldn't do a find /tmp/somedir -type f -exec unlink {} + but a \; based variant would be ok.


Apologies to any grannys I've just tried to teach to suck eggs.
 
2 members found this post helpful.
Old 10-02-2019, 06:32 AM   #3821
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by franzen View Post
Just to mention it, from llvm.SlackBuild
Code:
  find . -type f -exec file '{}' \+ | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
You can even combine the two greps into one as
Code:
find . -type f -exec file '{}' + | grep "ELF .* executable" | <rest of the commandline
And, as others already have remarked: the \ in front of the + isn't needed (so I have removed it).
 
Old 10-02-2019, 06:47 AM   #3822
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,906

Rep: Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026
or, given that there's also a 'cut' in that pipeline, use a sed instead of both greps and the cut. Something along the lines of:
Code:
sed -e '/: ELF.*executable,/s/\(.*\):.*/\1/'
 
Old 10-02-2019, 09:02 AM   #3823
franzen
Member
 
Registered: Nov 2012
Distribution: slackware
Posts: 535

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
Quote:
Originally Posted by GazL View Post
Apologies to any grannys I've just tried to teach to suck eggs.
In case the buildscripts are gonna be changed, it's the right time to throw hints in.
Things might be overseen, regardless if the knowledge already exists for decades.
 
1 members found this post helpful.
Old 10-02-2019, 01:40 PM   #3824
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543

Rep: Reputation: 178Reputation: 178
Ruby 2.6.5 is released:

https://www.ruby-lang.org/en/news/20...-6-5-released/
 
Old 10-02-2019, 01:52 PM   #3825
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,110

Rep: Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180
Quote:
Originally Posted by jostber View Post
maybe you missed it, it's already in current
Code:
Wed Oct  2 06:46:20 UTC 2019
[...]
d/ruby-2.6.5-x86_64-1.txz:  Upgraded.
  This update fixes bugs and security issues:
  A code injection vulnerability of Shell#[] and Shell#test.
  HTTP response splitting in WEBrick (Additional fix).
  A NUL injection vulnerability of File.fnmatch and File.fnmatch?.
  Regular Expression Denial of Service vulnerability of WEBrick's Digest
  access authentication.
  For more information, see:
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16255
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16254
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-15845
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16201
  (* Security fix *)
 
  


Reply



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
[SOLVED] Requests for -current (20151216) rworkman Slackware 3441 12-28-2017 03:50 PM

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

All times are GMT -5. The time now is 11:01 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