LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-31-2015, 07:02 PM   #91
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled

Quote:
Originally Posted by viewtiful_jon View Post
Also, fully tracing the Salix dependency files begins to move the system towards the heavier side, which, while not exactly a problem, is somewhat counter to the exercise at hand.
Right, because the Salix dep files are going to compensate for every dependency in every scenario. So there could possibly extra dependencies included that are not exactly required for this application.
 
1 members found this post helpful.
Old 02-01-2015, 03:04 AM   #92
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by j_v View Post
Do you think it's going too far using the file-search? I could also easily bundle this into a single script, perhaps even improving performance some as well as reducing system load.
I have a very pragmatic suggestion. Perform an actual StripSlack installation, and test your scripts there.
 
2 members found this post helpful.
Old 02-01-2015, 04:25 AM   #93
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by kikinovak View Post
I think this little project has reached a point where the next logical step is thinking more in depth about the system's coherence, e. g. dependencies.

So far, I've been using the little script depcheck.sh for this task, but it's rather crude. I didn't create it from scratch, but actually took the inspiration from the first of the three scripts on this page.

I'm a bit undecided about this subject, so I guess I'm open for suggestions and/or contributions for depcheck.sh.
you do not know sbbdep, right?
https://bitbucket.org/a4z/sbbdep/wiki/Home

if you want detailed info about binary dependencies on you system this is your best option.
it gives you much better and precise info than ldd, tells you not just what a file needs but also who needs a file and through working with a cache is very very fast,
just read throuhg the doc, its not that much

the last version is a bit old (for me) but works ok,
I made huge changes and some improvements since then in the hg repo if you want I can make in intermediate release the next days. (the repo is not always stable)
 
2 members found this post helpful.
Old 02-01-2015, 04:54 AM   #94
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
After quite some more fiddling, I really begin to wonder if this little project is worth the hassle. Hunting down dependencies and writing the according tagfiles takes hours if not days. And whatever I choose, I always seem to end up with some missing bit here and there. Performing ldd on all the binaries in the PATH allows me to find something vaguely coherent. But as soon as I dig deeper and do the same check on all the installed system libraries, there's always one more missing bit.

My conclusion for now: future server installations will be performed as usual, with only the E, KDE{I}, XAP and XFCE groups left out.
 
2 members found this post helpful.
Old 02-01-2015, 06:52 AM   #95
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Just a couple of thoughts --

There are already quite a few tools, fwiw sbbdep is the only one that gets four and a half stars from me. (I never give anything five stars )

But there's a "false negative" problem here. ld.so dependencies are not the only ones to worry about. There are a lot more (python, perl...) that are really hard to detect. Also plenty of stuff uses dlopen, and again you are not going to catch those. If you solved the false negative problem, basically you would reconstruct (or at least document) the whole of Slackware. This problem needs a human curator.

Every false negative problem also has a "false positive" problem. The thing I *HATE* about automatic dependency resolution is that it is not a problem to have a few executables on your system that say 'not found' when you do 'ldd', if you never run them. And if you do run them, they will tell you what they need. This problem needs a human curator.

There's another thing too, which I think of as the 'libwnck' problem. *All* the packages in Slackware that use libwnck are in xfce/. So why isn't libwnck in xfce/? Because other non-xfce things *outside* Slackware (in SBo) use libwnck. So l/ is the right place for libwnck. You could do a cluster analysis to decide categories based on actual dependencies, but that's an NP-complete problem. So this problem needs a human curator.

So it all needs a human curator. Niki's conclusion is basically right. We already have some human curators. Their names are volkerdi and gapan and kikinovak and I think they are already doing a damn fine job. Four and a half stars from me
 
1 members found this post helpful.
Old 02-01-2015, 07:21 AM   #96
j_v
Member
 
Registered: Oct 2011
Distribution: Slackware64
Posts: 364

Rep: Reputation: 67
@a4z
Very nice, thanks for the heads up. I didn't know about sbbdep. I will definitely be turning my attention to using that for my needs in the future. Unless there's a request for me to carry my version of the deps script further, I will put it to rest for now (other than kikinovak's suggestion to test it on a StripSlack install). I'm not looking to duplicate other efforts; I have an aversion to ldd usage, especially scripted, which piqued my interest here.

Cheers

EDIT:
Btw, after testing sbbdep, I'm pleased to find such a useful tool. Very well done, a4z.

Last edited by j_v; 02-01-2015 at 09:18 AM.
 
Old 02-22-2015, 09:53 PM   #97
viewtiful_jon
LQ Newbie
 
Registered: Apr 2014
Posts: 12

Rep: Reputation: 4
Hey @kikinovak,

I read your announcement in your other thread about how you're switching your MLED project to CentOS.

If I wanted to continue working on StripSlack (mostly for personal use, not at the scope of MLED), how would you prefer I go about doing that? Would you prefer I clone your entire SlackWare repository? Copy the StripSlack files to a new repository?

Obviously, your support email address (at the top of the "README") wouldn't really be applicable anymore. I'm also concerned about giving you proper credit, since you never put any license or your name at the top of the shell scripts and tagfiles.
 
Old 02-22-2015, 11:05 PM   #98
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by viewtiful_jon View Post
Hey @kikinovak,

I read your announcement in your other thread about how you're switching your MLED project to CentOS.

If I wanted to continue working on StripSlack (mostly for personal use, not at the scope of MLED), how would you prefer I go about doing that? Would you prefer I clone your entire SlackWare repository? Copy the StripSlack files to a new repository?

Obviously, your support email address (at the top of the "README") wouldn't really be applicable anymore. I'm also concerned about giving you proper credit, since you never put any license or your name at the top of the shell scripts and tagfiles.
Hi,

Yes, just grab the whole Git tree, and then feel free to cannibalize anything as you wish. I don't mind about being given credit or not. Feel free to drink a beer to my health.

Cheers,

Niki
 
Old 02-22-2015, 11:19 PM   #99
viewtiful_jon
LQ Newbie
 
Registered: Apr 2014
Posts: 12

Rep: Reputation: 4
Quote:
Originally Posted by kikinovak View Post
Hi,

Yes, just grab the whole Git tree, and then feel free to cannibalize anything as you wish. I don't mind about being given credit or not. Feel free to drink a beer to my health.

Cheers,

Niki
Great, thanks a lot for your SlackWare work, and best of luck with the new project!
 
1 members found this post helpful.
Old 05-23-2018, 01:03 PM   #100
perfection
Member
 
Registered: Nov 2015
Distribution: Slackware64-Current
Posts: 58

Rep: Reputation: Disabled
Thumbs down All Links are Offline!

Quote:
Originally Posted by kikinovak View Post
Here's a first version of StripSlack: http://www.microlinux.fr/slackware/stripslack-14.1/
Here's a detailed introduction with a HOWTO: http://www.microlinux.fr/slackware/s...lack-HOWTO.txt
Niki
All Links are Offline!
 
Old 05-23-2018, 01:21 PM   #101
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,044

Rep: Reputation: Disabled
Quote:
Originally Posted by perfection View Post
All Links are Offline!
This can happen when you follow the links in a more than three years old post.

For your information kikinovak ceased to use Slackware one year ago or so, his repositories are still available @ slackware.uk but no more upgraded.
 
2 members found this post helpful.
Old 05-29-2018, 06:03 PM   #102
perfection
Member
 
Registered: Nov 2015
Distribution: Slackware64-Current
Posts: 58

Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by Didier Spaier View Post
For your information kikinovak ceased to use Slackware one year ago or so, his repositories are still available @ slackware.uk but no more upgraded.
Thank you for reporting the repository link, it will be 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
Minimal configuration to run XWindows client software? FeyFre Slackware 4 03-06-2012 12:11 PM
Need minimal Samba configuration with guest r/w share instructions daggett Linux - Server 1 11-09-2011 03:22 PM
help plz, redhat entreprise 3 minimal hardware configuration akadidm Linux - Hardware 3 06-12-2006 05:35 AM
Minimal Slackware hsimah Linux - Newbie 5 01-06-2006 09:03 PM
Minimal Slackware? Allen614 Slackware 26 03-21-2004 03:17 AM

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

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