[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Reading /dev/random



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello!

Daniel Forrest wrote:
| The root cause is that the Condor library uses stat() to see how big a
| file is before trying to read from it.

Wow! Thanks for the answer.

| The answer to question 1 is to add "Local_Files = /dev/random" to your
| job submission file.

Using the "Local_Files" - solution does not work in my case, as the
"/dev/random" device does not work on the actual computing nodes, but
only on the submitting host. Therefore, the read call SHOULD be executed
on the submitting and not on the executing host.

| The answer to question 2 is for the Condor people to answer.  I think
| it's a bug because there is no reason for the read() to fail.

I would consider this a bug, too. Especially as it simply changes the
semantics of fread().

Olaf

P.S. Sorry, Daniel, that you get this reply twice, but I forgot to send
the copy to the mailing list.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCHDtrtQ3riQ3oo/oRAnHCAKCze5Y4QPIbXsgUVws9DGtBxMeS/ACdHkQ0
d4jKggSGWxxv+yRrY/apaSk=
=aeX+
-----END PGP SIGNATURE-----