Re: [gentoo-user] How to unmount bind-mounted /dev?

2011-04-30 Thread Thomas Ulrich Nockmann
On Saturday 30 April 2011 Alex Schuster wrote:
[...]

Hello,

 weird ~ # umount /32/dev
 umount: /32/dev: device is busy.
 (In some cases useful info about processes that use
  the device is found by lsof(8) or fuser(1))
try 'umount -l /32/de'

Thomas



Re: [gentoo-user] How to unmount bind-mounted /dev?

2011-04-30 Thread Alex Schuster
Thomas Ulrich Nockmann writes:

 On Saturday 30 April 2011 Alex Schuster wrote:

 weird ~ # umount /32/dev
 umount: /32/dev: device is busy.
 (In some cases useful info about processes that use
  the device is found by lsof(8) or fuser(1))
 try 'umount -l /32/de'

Cool, this does the trick!

Thanks,

Wonko



Re: [gentoo-user] How to unmount bind-mounted /dev?

2011-04-30 Thread Alex Schuster
I just wrote:

 Thomas Ulrich Nockmann writes:
 
 On Saturday 30 April 2011 Alex Schuster wrote:
 
 weird ~ # umount /32/dev
 umount: /32/dev: device is busy.
 (In some cases useful info about processes that use
  the device is found by lsof(8) or fuser(1))
 try 'umount -l /32/de'
 
 Cool, this does the trick!

But it does not help :(  After unmounting /32/dev, I can finally unmount
/32, but now the fsck fails:

weird ~ # fsck -Cf /dev/mapper/32
fsck from util-linux 2.19
e2fsck 1.41.14 (22-Dec-2010)
fsck.ext3: Device or resource busy while trying to open /dev/mapper/32
Filesystem mounted or opened exclusively by another program?

lsof and fuser report nothing. I guess I will have to reboot then.

Wonko



[gentoo-user] Public Apology to Minister Mentor Lee Kuan Yew and Prime Minister Lee Hsien Loong, Singapore

2011-04-30 Thread Singapore Citizen Mr. Teo En Ming (Zhang Enming)
I was misconstrued as having insulted Minister Mentor Lee Kuan Yew. My 
words were twisted and misinterpreted and I feel that there is a need to 
explain myself and set the record straight.


[b]What really happened[/b]

It was sometime in Aug/Sep in the year 2009. The setting was in the 
Tampines Central office of Asiasoft Online Pte Ltd. I was having a 
***verbal*** conversation with Melvin Lee, my new I.T. department 
manager, when he challenged me to complete an I.T. assignment within a 
specified period of time. In response to his challenge, I replied in 
Mandarin: If I cannot complete the I.T. assignment within a specified 
period of time, then Lee Kuan Yew is wang ba dan. I used to be fond of 
using other people's names to bet with people but now no more. The 
Minister Mentor's name came into my mind spontaneously and I used it to 
bet with my I.T. department manager.


[b]Explanations[/b]

1. It was not my intention to insult the Minister Mentor at that time. 
Please note the use of the IF... THEN... statement in my verbal 
conversation.


2. I did not know wang ba dan [hanyu pinyin] means bastard at all until 
I consulted Goh Meng Seng much later.


I would like to apologize to the Minister Mentor and the Prime Minister 
of Singapore if I have offended them in any way. I swear it was not my 
intention to insult the Minister Mentor. Please forgive me for using 
your name carelessly to bet with my former I.T. department manager.



Yours sincerely,

Singapore Citizen Mr. Teo En Ming (Zhang Enming) Dip BEng(Hons)
Alma Maters:
(1) Singapore Polytechnic
(2) National University of Singapore




Re: [gentoo-user] URGENT: nfs stopped working

2011-04-30 Thread Stroller

On 30/4/2011, at 4:34am, Michael Sullivan wrote:
 
 Mine says:
 
 camille ~ # zcat /proc/config.gz | grep -i nfs
 CONFIG_NFS_FS=m
 CONFIG_NFS_V3=y
 # CONFIG_NFS_V3_ACL is not set
 # CONFIG_NFS_V4 is not set
 CONFIG_NFSD=m
 CONFIG_NFSD_V3=y
 # CONFIG_NFSD_V3_ACL is not set
 # CONFIG_NFSD_V4 is not set
 CONFIG_NFS_COMMON=y

The same on both systems? The other one doesn't have v4 set?

Did you try modprobing NFS before trying your mount command?

Unless you don't know what modprobe is, I shouldn't have had to ask this. You 
should have replied with `lsmod | grep -i nfs` (showing that the module is 
loaded) and a second attempt to perform the NFS mount.

Stroller.




Re: [gentoo-user] URGENT: nfs stopped working

2011-04-30 Thread Peter Humphrey
On Saturday 30 April 2011 14:16:15 Stroller wrote:
 On 30/4/2011, at 4:34am, Michael Sullivan wrote:
  Mine says:
  
  camille ~ # zcat /proc/config.gz | grep -i nfs
  CONFIG_NFS_FS=m
  CONFIG_NFS_V3=y
  # CONFIG_NFS_V3_ACL is not set
  # CONFIG_NFS_V4 is not set
  CONFIG_NFSD=m
  CONFIG_NFSD_V3=y
  # CONFIG_NFSD_V3_ACL is not set
  # CONFIG_NFSD_V4 is not set
  CONFIG_NFS_COMMON=y
 
 The same on both systems? The other one doesn't have v4 set?

If one has no V4 you'll have to use V3, so add vers=3 to your mount options.

-- 
Rgds
Peter



Re: [gentoo-user] Re: [OT router advice] a router capable of detailed logs

2011-04-30 Thread Todd Goodman
* Harry Putnam rea...@newsguy.com [110430 00:03]:
 Todd Goodman t...@bonedaddy.net writes:
 
 [...]
 
  You won't really break anything by changing the log levels.
 
 Todd, your post was really a boost for me.  And thanks for you kind
 offer of looking things over.
 
 [...]
 
 Mick wrote:
  No worries!  I'm no iptables guru, but I'm still here!  ;-)
 
 [...]
 
 Mick, your post was another really info packed and helpful response.
 
 This really sucks since I think right now is the proper time to pursue
 this stuff full tilt.
 
 However, life is intervening and I am leaving for Atlanta (from Gary
 IN) tomorrow with an old beatup 1979 1 ton ford pulling a gooseneck
 trailer.  I have quite a lot to do suddenly to get things ready with
 the old beater so it will be a good while before I can get back to
 this.
 
 I suspect I've about worn out the OT thread by now, so won't renew it,
 but I hope I will not be wearing out my welcome if I call on either of
 you by private email if I get in deep doo doo, when I do get back at
 this.
 
 I think both of your input on this is so full and thorough that I may
 be able to get it figured out now without further pestering.
 

You're welcome and are welcome to contact me via private email.

Good luck on your trip!

Todd



Re: [gentoo-user] URGENT: nfs stopped working SOLVED (mostly)

2011-04-30 Thread Michael Sullivan
On Sat, 2011-04-30 at 16:08 +0100, Peter Humphrey wrote:
 On Saturday 30 April 2011 14:16:15 Stroller wrote:
  On 30/4/2011, at 4:34am, Michael Sullivan wrote:
   Mine says:
   
   camille ~ # zcat /proc/config.gz | grep -i nfs
   CONFIG_NFS_FS=m
   CONFIG_NFS_V3=y
   # CONFIG_NFS_V3_ACL is not set
   # CONFIG_NFS_V4 is not set
   CONFIG_NFSD=m
   CONFIG_NFSD_V3=y
   # CONFIG_NFSD_V3_ACL is not set
   # CONFIG_NFSD_V4 is not set
   CONFIG_NFS_COMMON=y
  
  The same on both systems? The other one doesn't have v4 set?
 
 If one has no V4 you'll have to use V3, so add vers=3 to your mount options.
 

I rebuilt kernels on camille and catherine, enabling every NFS option I
could and now they both can use NFS from carter.  However, carter cannot
mount camille's /mnt/store:

carter ~ # mount camille:/mnt/store/ /mnt/store/
mount.nfs: requested NFS version or transport protocol is not supported

But, somehow, carter has access to all the recordings.  This happens
sometimes and I don't know why...




[gentoo-user] Re: [OT router advice] a router capable of detailed logs

2011-04-30 Thread James
Harry Putnam reader at newsguy.com writes:


 All good, except then you have to muck around with iptables.  I once
 knew a bit about that when it first replaced ipchains in linux
 distros... thats' been yrs ago, and I've completely forgotten whatever
 I may have learned back then. 

Hello Harry,

These links may provide the theoretical information
you seek, for logging on an embedded linux device.

http://www.netfilter.org/projects/conntrack-tools/index.html

http://conntrack-tools.netfilter.org/


However, this is not a painless path, but one full
of reward and fine_grain control of logging information.

hth,
James






Re: [gentoo-user] Public Apology to Minister Mentor Lee Kuan Yew and Prime Minister Lee Hsien Loong, Singapore

2011-04-30 Thread Albert Hopkins
Perhaps a bit too public.

Anyway, hope all is forgiven :D

-a





Re: [gentoo-user] Public Apology to Minister Mentor Lee Kuan Yew and Prime Minister Lee Hsien Loong, Singapore

2011-04-30 Thread Volker Armin Hemmann
On Saturday 30 April 2011 14:57:27 Albert Hopkins wrote:
 Perhaps a bit too public.
 
 Anyway, hope all is forgiven :D

dead man walking :P



Re: [gentoo-user] Public Apology to Minister Mentor Lee Kuan Yew and Prime Minister Lee Hsien Loong, Singapore

2011-04-30 Thread Thanasis
on 04/30/2011 09:57 PM Albert Hopkins wrote the following:
 Perhaps a bit too public.

 Anyway, hope all is forgiven :D
...all except spam ...



Re: [gentoo-user] Public Apology to Minister Mentor Lee Kuan Yew and Prime Minister Lee Hsien Loong, Singapore

2011-04-30 Thread Florian Philipp
Am 30.04.2011 21:12, schrieb Thanasis:
 on 04/30/2011 09:57 PM Albert Hopkins wrote the following:
 Perhaps a bit too public.

 Anyway, hope all is forgiven :D
 ...all except spam ...
 

Seems like Gentoo Infra reacts a tad faster than Scientific Linux Infra.
There was meant to be a follow-up spam mail. Seems like it didn't come
through.

Cheers,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Public Apology to Minister Mentor Lee Kuan Yew and Prime Minister Lee Hsien Loong, Singapore

2011-04-30 Thread Volker Armin Hemmann
On Saturday 30 April 2011 21:56:19 Florian Philipp wrote:
 Am 30.04.2011 21:12, schrieb Thanasis:
  on 04/30/2011 09:57 PM Albert Hopkins wrote the following:
  Perhaps a bit too public.
  
  Anyway, hope all is forgiven :D
  
  ...all except spam ...
 
 Seems like Gentoo Infra reacts a tad faster than Scientific Linux Infra.
 There was meant to be a follow-up spam mail. Seems like it didn't come
 through.
 
 Cheers,
 Florian Philipp

too bad - I would have liked to see the follow up. 



Re: [gentoo-user] Public Apology to Minister Mentor Lee Kuan Yew and Prime Minister Lee Hsien Loong, Singapore

2011-04-30 Thread Florian Philipp
Am 30.04.2011 22:09, schrieb Volker Armin Hemmann:
 On Saturday 30 April 2011 21:56:19 Florian Philipp wrote:
 Am 30.04.2011 21:12, schrieb Thanasis:
 on 04/30/2011 09:57 PM Albert Hopkins wrote the following:
 Perhaps a bit too public.

 Anyway, hope all is forgiven :D

 ...all except spam ...

 Seems like Gentoo Infra reacts a tad faster than Scientific Linux Infra.
 There was meant to be a follow-up spam mail. Seems like it didn't come
 through.

 Cheers,
 Florian Philipp
 
 too bad - I would have liked to see the follow up. 
 

I could forward it but I guess that would make me a human spam bot ;)

Anyway, it was just a link to a youtube video with a bit of text around
it to intrigue the reader to watch it. I didn't take a look. The whole
thing was a good piece of social engineering, though.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Public Apology to Minister Mentor Lee Kuan Yew and Prime Minister Lee Hsien Loong, Singapore

2011-04-30 Thread Volker Armin Hemmann
On Saturday 30 April 2011 22:18:12 Florian Philipp wrote:
 Am 30.04.2011 22:09, schrieb Volker Armin Hemmann:
  On Saturday 30 April 2011 21:56:19 Florian Philipp wrote:
  Am 30.04.2011 21:12, schrieb Thanasis:
  on 04/30/2011 09:57 PM Albert Hopkins wrote the following:
  Perhaps a bit too public.
  
  Anyway, hope all is forgiven :D
  
  ...all except spam ...
  
  Seems like Gentoo Infra reacts a tad faster than Scientific Linux
  Infra.
  There was meant to be a follow-up spam mail. Seems like it didn't come
  through.
  
  Cheers,
  Florian Philipp
  
  too bad - I would have liked to see the follow up.
 
 I could forward it but I guess that would make me a human spam bot ;)
 
 Anyway, it was just a link to a youtube video with a bit of text around
 it to intrigue the reader to watch it. I didn't take a look. The whole
 thing was a good piece of social engineering, though.

I like spam bots who are like humans. They give me the illusion to interact 
with real people. *g*



Re: [gentoo-user] Public Apology to Minister Mentor Lee Kuan Yew and Prime Minister Lee Hsien Loong, Singapore

2011-04-30 Thread Neil Bothwick
On Sat, 30 Apr 2011 22:18:12 +0200, Florian Philipp wrote:

 Anyway, it was just a link to a youtube video with a bit of text around
 it to intrigue the reader to watch it. I didn't take a look. The whole
 thing was a good piece of social engineering, though.

Not that good if you didn't follow the link ;-)


-- 
Neil Bothwick

- How many surrealists does it take to change a light bulb?
- Two: one to hold the giraffe, the other to fill the bathtub with
  lots of brightly colored machine tools.


signature.asc
Description: PGP signature


Re: [gentoo-user] How to unmount bind-mounted /dev?

2011-04-30 Thread Mark Shields
On Sat, Apr 30, 2011 at 5:15 AM, Alex Schuster wo...@wonkology.org wrote:

 I just wrote:

  Thomas Ulrich Nockmann writes:
 
  On Saturday 30 April 2011 Alex Schuster wrote:
 
  weird ~ # umount /32/dev
  umount: /32/dev: device is busy.
  (In some cases useful info about processes that use
   the device is found by lsof(8) or fuser(1))
  try 'umount -l /32/de'
 
  Cool, this does the trick!

 But it does not help :(  After unmounting /32/dev, I can finally unmount
 /32, but now the fsck fails:

 weird ~ # fsck -Cf /dev/mapper/32
 fsck from util-linux 2.19
 e2fsck 1.41.14 (22-Dec-2010)
 fsck.ext3: Device or resource busy while trying to open /dev/mapper/32
 Filesystem mounted or opened exclusively by another program?

 lsof and fuser report nothing. I guess I will have to reboot then.

Wonko


Try a lazy umount, or forced umount?

# umount -f
# umount -l


[gentoo-user] Re: URGENT: nfs stopped working

2011-04-30 Thread walt

On 04/29/2011 05:46 PM, Michael Sullivan wrote:

OK.  I recently switched my three computers (carter, camille, and
catherine) to the new gcc profile:  i686-pc-linux-gnu-4.4.5 from
i686-pc-linux-gnu-4.3.4.  As recommended, I performed emerge -e system
and then emerge -e world on all of them.  Carter finished his emerge -e
world a couple of days ago (he's faster than the others).  Camille and
catherine were a few hundred packages from the end of their emerge -e
world when the power went out.  Carter supplies daily
updated /usr/portage to camille and catherine via nfs, but when I
restarted the computers when the power came back on, I get this:

camille ~ # mount carter:/usr/portage /usr/portage/
mount.nfs: an incorrect mount option was specified

Am I not constructing my command correctly?

I have tried mount -t nfs and it still doesn't work.  I can ping carter
fine, and carter says nfs is running.  How do I get nfs back?


I use nfs about twice/year to transfer large files between machines -- so
I'm quite an expert at praying to the computer gods to please let this nfs
mount work just this one last time and I'll never bother you again, I promise!

I'm lying, of course, because I intend to do it again six months from now.

Every time, the computer gods make me suffer through multiple attempts to
guess the correct magic prayer before the remote nfs filesystem finally
appears for its biannual visit on /mnt/nfs.

Yes, I may well be paranoid, but it seems to me that the magic prayer for
nfs mounts changes every time I need it.

Sometimes I succeed using mount.nfs4, sometimes using mount -t nfs -o
nfsvers=4, or sometimes just mount -t nfs.

I have NFI what the real secret is, so I ask you nfs wonks to have mercy
and fill us in...






Re: [gentoo-user] How to unmount bind-mounted /dev?

2011-04-30 Thread Alex Schuster
Mark Shields writes:

 On Sat, Apr 30, 2011 at 5:15 AM, Alex Schuster wo...@wonkology.org
 mailto:wo...@wonkology.org wrote:
 
 I just wrote:
 
  Thomas Ulrich Nockmann writes:

  try 'umount -l /32/de'
 
  Cool, this does the trick!
 
 But it does not help :(  After unmounting /32/dev, I can finally unmount
 /32, but now the fsck fails:
 
 weird ~ # fsck -Cf /dev/mapper/32
 fsck from util-linux 2.19
 e2fsck 1.41.14 (22-Dec-2010)
 fsck.ext3: Device or resource busy while trying to open /dev/mapper/32
 Filesystem mounted or opened exclusively by another program?
 
 lsof and fuser report nothing. I guess I will have to reboot then.

 Try a lazy umount, or forced umount?
 
 # umount -f 
 # umount -l

The lazy unmount was Thomas' hint already and worked, the partition is
no longer mounted. But I cannot fsck it, it is still in use. cryptsetup
luksClose works neither.
It's no big trouble, but still I'm curious why this is.

Wonko



Re: [gentoo-user] Re: URGENT: nfs stopped working

2011-04-30 Thread Adam Carter
 I use nfs about twice/year to transfer large files between machines -- so
 I'm quite an expert at praying to the computer gods to please let this nfs
 mount work just this one last time and I'll never bother you again, I
 promise!

 I'm lying, of course, because I intend to do it again six months from now.


Why not just use scp of sftp since its so infrequent?


Re: [gentoo-user] Re: URGENT: nfs stopped working

2011-04-30 Thread Dale

Adam Carter wrote:


I use nfs about twice/year to transfer large files between
machines -- so
I'm quite an expert at praying to the computer gods to please let
this nfs
mount work just this one last time and I'll never bother you
again, I promise!

I'm lying, of course, because I intend to do it again six months
from now.


Why not just use scp of sftp since its so infrequent?


New can of worms.  o_O

Dale

:-)  :-)


Re: [gentoo-user] Re: URGENT: nfs stopped working

2011-04-30 Thread Adam Carter

 Why not just use scp of sftp since its so infrequent?


 New can of worms.  o_O

 Dale


 Much smaller can thought :)