LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-02-2018, 06:31 PM   #1
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
Missing setxattr(2) man-page


Please could someone with a full slackware64-current install tell me which package the setxattr man-page is found in?

It was missing from my system and I had to rerun the man-pages.slackbuild in order to have it included. The slackbuild contains some code that tries to remove duplicate manpages and I assume that is removing the man-page from Pat's official man-pages package and I'd like to confirm that is the case.

I don't have a full install here (no kde and a few other minor packages missing), so I can't check for myself.
 
Old 11-02-2018, 06:40 PM   #2
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 928

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
Is this the right search?
Code:
 grep setxattr /var/lib/pkgtools/packages/*
/var/lib/pkgtools/packages/man-pages-4.16-noarch-1:usr/man/man2/fsetxattr.2.gz
/var/lib/pkgtools/packages/man-pages-4.16-noarch-1:usr/man/man2/lsetxattr.2.gz
 
1 members found this post helpful.
Old 11-02-2018, 07:09 PM   #3
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Original Poster
Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
Hmmm, yes, but I was expecting it to show up in another package. After rebuilding man-pages locally, I now get this
Code:
$ grep setxattr /var/log/packages/*
/var/log/packages/man-pages-4.16-noarch-2_local:usr/man/man2/fsetxattr.2.gz
/var/log/packages/man-pages-4.16-noarch-2_local:usr/man/man2/lsetxattr.2.gz
/var/log/packages/man-pages-4.16-noarch-2_local:usr/man/man2/setxattr.2.gz
$ zcat /usr/man/man2/?setxattr.2.gz 
.so man2/setxattr.2
.so man2/setxattr.2
$
As you can see, the other 2 are just redirections to setxattr.2 and won't work without it. I'd assumed it was because I didn't have a full install, but perhaps Pat just needs to rebuild the man-pages package.

Thanks for your reply.

P.S. I really ought to start using /var/lib/pkgtools too, but muscle memory wins out!

Last edited by GazL; 11-02-2018 at 07:14 PM.
 
Old 11-02-2018, 07:32 PM   #4
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 928

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
Is the man page missing?
https://linux.die.net/man/2/setxattr

Code:
LANG=C man lsetxattr
man: can't open /usr/man/man2/setxattr.2: No such file or directory
man: can't open /usr/man/man2/setxattr.2: No such file or directory
man: can't open /usr/man/man2/setxattr.2: No such file or directory
No manual entry for lsetxattr
paulo@claudio-pcbash~$ LANG=C man fsetxattr
man: can't open /usr/man/man2/setxattr.2: No such file or directory
man: can't open /usr/man/man2/setxattr.2: No such file or directory
man: can't open /usr/man/man2/setxattr.2: No such file or directory
No manual entry for fsetxattr
ps- I had to struggle, but got new muscle memory for the new packages dir
I think the 10-finger typing helps, all my passwords I remember by it's muscle memory.
 
Old 11-02-2018, 07:33 PM   #5
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
You do not need a full install of Slackware to know what file belongs to which package. You can use the Slackware packages site to search for any file under the mode "content".

https://packages.slackware.com/

Edit: So that man page belonged to the "attr" package in 14.2 and I suppose it vanished during one of the updates without anyone noticing until now.

Last edited by orbea; 11-02-2018 at 07:38 PM.
 
3 members found this post helpful.
Old 11-02-2018, 07:48 PM   #6
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Original Poster
Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
Thanks orbea. That would explain it.
 
  


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
how does /etc/network/interfaces actually work? information maybe missing in man page blueSn0w Linux - Networking 4 08-19-2014 01:54 PM
man page is not found although $MANPATH and man.conf changed Abbraxas Linux - Newbie 3 09-05-2011 06:40 PM
manual page for X is missing (man X) ? Vilius Red Hat 8 09-11-2010 06:24 AM
pthread_sigmask man-page missing. dlinux Slackware 1 07-07-2009 10:19 AM
man alsamixer not showing the man page nosaku Slackware 1 12-20-2004 08:52 AM

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

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