[Nix-dev] Re: RHEL5 Issues re-visited.

Jeevakan Suresh Jeevakan.Suresh at macquarie.com
Fri Oct 10 01:56:23 CEST 2008


Your use case works fine for me. (ie. cd /local/drive;  ls
/nfs/mounted/drive # works fine)
 
That can only mean one of 2 things

1. Something from the base system has 'sneaked in' to nix (causing
things to work)
2. Our configurations are subtly different.

I'll double check by installing and testing nix on a 'clean' machine,
but in the meantime here is some information from my machine.

$ Which ls
/home/isdtc/jsuresh/.nix-profile/bin/ls

$ ls -l /home/isdtc/jsuresh/.nix-profile/bin/ls
lrwxrwxrwx 1 jsuresh tccdev 65 2008-10-09 22:21
/home/isdtc/jsuresh/.nix-profile/bin/ls ->
/nix/store/309xxq48s2adir0p7b5rhkcccpdfkgqz-coreutils-6.12/bin/ls

$ ldd /nix/store/309xxq48s2adir0p7b5rhkcccpdfkgqz-coreutils-6.12/bin/ls
        linux-gate.so.1 =>  (0xb7f43000)
        librt.so.1 =>
/nix/store/5f4rfm4hkp8981jayh7fd2pya88s7b4h-glibc-2.7/lib/librt.so.1
(0xb7f2c000)
        libacl.so.1 =>
/nix/store/k085bpajkf62lx32g77aaqgzhd8l5p55-acl-2.2.47/lib/libacl.so.1
(0xb7f25000)
        libc.so.6 =>
/nix/store/5f4rfm4hkp8981jayh7fd2pya88s7b4h-glibc-2.7/lib/libc.so.6
(0xb7ded000)
        libpthread.so.0 =>
/nix/store/5f4rfm4hkp8981jayh7fd2pya88s7b4h-glibc-2.7/lib/libpthread.so.
0 (0xb7dd5000)
 
/nix/store/5f4rfm4hkp8981jayh7fd2pya88s7b4h-glibc-2.7/lib/ld-linux.so.2
(0xb7f44000)
        libattr.so.1 =>
/nix/store/7hf2x86z5bvy53z8y740mfjlcij4620a-attr-2.4.41/lib/libattr.so.1
(0xb7dd0000)


$ nix-env -sqaf /scratch/nix-pkgs/ 'glibc'
IP-  glibc-2.7
---  glibc-2.8-20080707

$ nix-env -sqaf /scratch/nix-pkgs/ 'coreutils'
IP-  coreutils-6.12

$ uname -a 
Linux tncbuild3 2.6.18-92.el5PAE #1 SMP Tue Apr 29 13:31:02 EDT 2008
i686 GNU/Linux

All of the above *seems* correct? Any ideas where our systems could be
deviating? My hunch is our kernels are subtly different. My experience
is the headers and kernel must match *exactly*.

Cheers
Jeeva.


-----Original Message-----
From: nix-dev-bounces at cs.uu.nl [mailto:nix-dev-bounces at cs.uu.nl] On
Behalf Of Peter Simons
Sent: Friday, October 10, 2008 9:54 AM
To: nix-dev at cs.uu.nl
Subject: [Nix-dev] Re: RHEL5 Issues re-visited.

Jeevakan Suresh writes:

> What commands are you running to get these errors?

Say /remote/disk is an NFS-mounted directory, then change onto a local
disk and run "ls /remote/disk" to get the ominous error 550. Running "cd
/remote/disk; ls", on the other hand, will work fine. Similarly, file
name completion from a Nix-installed bash won't work, i.e.:

 cd $HOME
 ls /remote/disk<TAB>

Take care,
Peter

_______________________________________________
nix-dev mailing list
nix-dev at cs.uu.nl
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

NOTICE
This e-mail and any attachments are confidential and may contain copyright material of Macquarie Group Limited or third parties. If you are not the intended recipient of this email you should not read, print, re-transmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. Macquarie Group Limited does not guarantee the integrity of any emails or any attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Macquarie Group Limited.




More information about the nix-dev mailing list