Re: Little note on psmisc
So, I'm nearly ready to commit a patch to fix up the list of files and libraries for each package. However: And while you're fixing, 2 other notes: genl is installed by IPRoute, but not in the list Hmm, looks like a new program...didn't exist at the time of LFS 6.2. Indeed, and there's no man page for it, and no useful info in --help for it either. I'm certainly not going to go and try to grok the source to figure out what on earth it does. In the same boat as that is groupmems, which is installed by Shadow. Again, no source of info as to what it is supposed to do. Any insight from other list members welcome! Regards, Matt. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
Re: Little note on psmisc
El Jueves, 10 de Mayo de 2007 19:56, Matthew Burgess escribió: Indeed, and there's no man page for it, and no useful info in --help for it either. I'm certainly not going to go and try to grok the source to figure out what on earth it does. Looks like is related to generic netlinks control and inet socket monitoring, but I don't know what it actually do. In the same boat as that is groupmems, which is installed by Shadow. Again, no source of info as to what it is supposed to do. This one have a man page. At least it XML source can be found in {shadow_sources}/man/groupmems.8.xml -- Manuel Canales Esparcia Usuario de LFS nº2886: http://www.linuxfromscratch.org LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.info TLDP-ES: http://es.tldp.org -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
Re: Little note on psmisc
M.Canales.es wrote: El Jueves, 10 de Mayo de 2007 19:56, Matthew Burgess escribió: Indeed, and there's no man page for it, and no useful info in --help for it either. I'm certainly not going to go and try to grok the source to figure out what on earth it does. Looks like is related to generic netlinks control and inet socket monitoring, but I don't know what it actually do. In the same boat as that is groupmems, which is installed by Shadow. Again, no source of info as to what it is supposed to do. This one have a man page. At least it XML source can be found in {shadow_sources}/man/groupmems.8.xml Looking at the source and then running `genl -help` I get $ ./genl -help Usage: genl [ OPTIONS ] OBJECT | help } where OBJECT := { ctrl etc } OPTIONS := { -s[tatistics] | -d[etails] | -r[aw] } But I have no idea what that means. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
Re: Little note on psmisc
On Thursday 10 May 2007 20:01:04 M.Canales.es wrote: El Jueves, 10 de Mayo de 2007 19:56, Matthew Burgess escribió: In the same boat as that is groupmems, which is installed by Shadow. Again, no source of info as to what it is supposed to do. This one have a man page. At least it XML source can be found in {shadow_sources}/man/groupmems.8.xml Well, something's screwed up with Shadow then (surprise, surprise!): $ for file in `ls -1 /sources/shadow-4.0.18.1/man/*.8`; do ls /usr/share/man/man8/$(basename $file); done; /usr/share/man/man8/chgpasswd.8 /usr/share/man/man8/chpasswd.8 /usr/share/man/man8/faillog.8 /usr/share/man/man8/groupadd.8 ls: cannot access /usr/share/man/man8/groupdel.8: No such file or directory ls: cannot access /usr/share/man/man8/groupmems.8: No such file or directory ls: cannot access /usr/share/man/man8/groupmod.8: No such file or directory ls: cannot access /usr/share/man/man8/grpck.8: No such file or directory ls: cannot access /usr/share/man/man8/grpconv.8: No such file or directory /usr/share/man/man8/grpunconv.8 /usr/share/man/man8/lastlog.8 /usr/share/man/man8/logoutd.8 /usr/share/man/man8/newusers.8 /usr/share/man/man8/nologin.8 /usr/share/man/man8/pwck.8 /usr/share/man/man8/pwconv.8 /usr/share/man/man8/pwunconv.8 /usr/share/man/man8/sulogin.8 /usr/share/man/man8/useradd.8 /usr/share/man/man8/userdel.8 /usr/share/man/man8/usermod.8 /usr/share/man/man8/vigr.8 /usr/share/man/man8/vipw.8 Can someone with more Automake/Makefile foo explain to me why those 5 man pages aren't being installed please? It might just be a conincidence, but they all appear on the same line in the definition of man_MANS in man/Makefile! Other man sections that shadow installs files to look OK using a similar script to the one above. Thanks, Matt. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
Re: Little note on psmisc
El Jueves, 10 de Mayo de 2007 21:11, Bruce Dubbs escribió: Looking at the source and then running `genl -help` I get $ ./genl -help Usage: genl [ OPTIONS ] OBJECT | help } where OBJECT := { ctrl etc } OPTIONS := { -s[tatistics] | -d[etails] | -r[aw] } But I have no idea what that means. After looking also at include/linux/genetlink.h, looks like genl is a tool for monitoring generic netlink linux sockets (what is that??), similar to what ip monitor do for devices, addresses, and routes. -- Manuel Canales Esparcia Usuario de LFS nº2886: http://www.linuxfromscratch.org LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.info TLDP-ES: http://es.tldp.org -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
Re: Little note on psmisc
On Thursday 10 May 2007 20:29:50 Matthew Burgess wrote: Can someone with more Automake/Makefile foo explain to me why those 5 man pages aren't being installed please? Ah, it looks like it's a translation issue, perhaps? root:/usr/share# find . -name groupdel.8 ./man/it/man8/groupdel.8 ./man/cs/man8/groupdel.8 ./man/fr/man8/groupdel.8 ./man/pt_BR/man8/groupdel.8 ./man/sv/man8/groupdel.8 ./man/tr/man8/groupdel.8 root:/usr/share# find . -name groupmems.8 root:/usr/share# find . -name groupmod.8 ./man/cs/man8/groupmod.8 ./man/pt_BR/man8/groupmod.8 ./man/tr/man8/groupmod.8 root:/usr/share# find . -name grpck.8 ./man/ja/man8/grpck.8 ./man/cs/man8/grpck.8 ./man/pl/man8/grpck.8 root:/usr/share# find . -name grpconv.8 ./man/ja/man8/grpconv.8 ./man/pl/man8/grpconv.8 Regards, Matt. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
Re: Little note on psmisc
On 5/10/07, Matthew Burgess [EMAIL PROTECTED] wrote: Can someone with more Automake/Makefile foo explain to me why those 5 man pages aren't being installed please? It might just be a conincidence, but they all appear on the same line in the definition of man_MANS in man/Makefile! Other man sections that shadow installs files to look OK using a similar script to the one above. I had the same problem, and now I figured out why. The sed we do is way too aggressive. find man -name Makefile -exec sed -i '/groups/d' {} \; In man/Makefile.in, groups appears on the same line as all the other group* manpages. So, we've conveniently told make not to install them! This only in a couple subdirectories. Untested, but I think this would work: find man -name Makefile.in -exec sed -i 's/groups\.1 //' {} ';' -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
Re: Little note on psmisc
On 5/10/07, Dan Nicholson [EMAIL PROTECTED] wrote: Untested, but I think this would work: find man -name Makefile.in -exec sed -i 's/groups\.1 //' {} ';' Seems to work. Before configure, of course. s/Makefile.in/Makefile/ to keep the command in the spot it is now. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
Re: Little note on psmisc
Dan Nicholson wrote: On 5/10/07, Matthew Burgess [EMAIL PROTECTED] wrote: Can someone with more Automake/Makefile foo explain to me why those 5 man pages aren't being installed please? It might just be a conincidence, but they all appear on the same line in the definition of man_MANS in man/Makefile! Other man sections that shadow installs files to look OK using a similar script to the one above. I had the same problem, and now I figured out why. The sed we do is way too aggressive. find man -name Makefile -exec sed -i '/groups/d' {} \; In man/Makefile.in, groups appears on the same line as all the other group* manpages. So, we've conveniently told make not to install them! This only in a couple subdirectories. Untested, but I think this would work: find man -name Makefile.in -exec sed -i 's/groups\.1 //' {} ';' -- Dan Oops, I corrected this in CLFS six months ago but it seems I forgot to email LFS-dev as well...sorry... Anyway, it seems two commands are now needed, due to changes in the Makefile in the latest Shadow verison. We don't use the find command for all the various translations in CLFS (though maybe we should) but other than that it should be the same...here's what we've got... sed -i '/groups.1.xml/d' man/Makefile sed -i 's/groups.1//' man/Makefile Actually, I believe the groups.1.xml line is only in the Makefile in the man directory so the find should only be needed for the 2nd command... -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
Re: Little note on psmisc
On Thursday 10 May 2007 20:57:04 Dan Nicholson wrote: On 5/10/07, Dan Nicholson [EMAIL PROTECTED] wrote: Untested, but I think this would work: find man -name Makefile.in -exec sed -i 's/groups\.1 //' {} ';' Seems to work. Before configure, of course. s/Makefile.in/Makefile/ to keep the command in the spot it is now. The following is a bit safer: find . -name Makefile -exec sed -i 's/groups\.1 / /' {} \; Otherwise we end up with another change on line 225 of Makefile where 'groups.1.xml' becomes '.xml'. Oddly enough, I've ended up with groups.1 being installed on my most recent jhalfs build. The script seems sane enough (it has the sed in it) - we'll see what happens with the next run! Regards, Matt. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
Re: Little note on psmisc
On 5/11/07, M.Canales.es [EMAIL PROTECTED] wrote: El Jueves, 10 de Mayo de 2007 21:11, Bruce Dubbs escribió: Looking at the source and then running `genl -help` I get $ ./genl -help Usage: genl [ OPTIONS ] OBJECT | help } where OBJECT := { ctrl etc } OPTIONS := { -s[tatistics] | -d[etails] | -r[aw] } But I have no idea what that means. After looking also at include/linux/genetlink.h, looks like genl is a tool for monitoring generic netlink linux sockets (what is that??), similar to what ip monitor do for devices, addresses, and routes. Netlink is a method of communicating between kernel and userspace I believe - the netfilter modules use this new technology to replace the old logging methods. Basically you setup a socket in the kernel, and then userspace can use that to communicate to a kernel module - this can be bi-directional and multi-cast too, so you can hang a userspace process on a netlink socket and receive output from the kernel module - useful for accounting, audting, etc. -- -- - Steve Crosby -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page