Re: Need help

2007-01-13 Thread Bill Davidsen

Joerg Schilling wrote:

Bill Davidsen [EMAIL PROTECTED] wrote:

  

cdrecord works without real problems on Linux-2.6 if you install it correctly
suid root.
  
  
Unfortunately run everything as root is not going to happen on many 
systems, some years ago capabilities were added to Linux, and those are 
the proper way to do access rather than bypassing all security checks. 
Also, the last time I looked the notes you provided only worked if 
security was disabled, selinux won't let you do what you were suggesting.



Looks like you are uninformed :-(
  


I know about capabilities.

Currently there is no more than something in pre-alpha state that could later
become a fine grained security modell (once there is support in userland).
  


You are confused. NSA selinux and capabilities are two totally different 
things. Capabilities have been in Linux since somewhere in 2.2, and are 
hardly pre-alpha.
Check out man privileges on Solaris for more information on what makes a 
ready to use system in this area.
  

I'm discussing the shortcomings of cdrecord under Linux.


Once Linux implements a user ready version of the current experimental
interface, it would make sense to let cdrtools use this interface.
  

The capability library has been around for years.


  

Some old versions do not but this is caused by non-cooperative acting
from the Linux Kernel maintainers: they did introduce a severe incompatible 
interface change after cdrtools had been put into a code freeze state 
for releasing.
  
Caused by fixing a serious security issue... Once the first exploit was 
out it did have to be done quickly, and it did impact applications (not 
just yours). It came at a bad time in your code cycle, but making it 
sound as if the change was made just because they felt like it is simply 
not true. Allowing any SCSI command to go to devices was a hole allowing 
the bad guys to wipe out firmware on hard drives as well as burners, and 
had to be stopped immediately.



You are again uninformed: The security issue was: sending of SCSI commands 
was possible on file descriptors opened with O_RDONLY. The correct fix

for this security bug was to require O_RDWR instead of O_RDONLY.
  


That is like saying that I have to open a file for read and write just 
to read it. Most people don't think allowing general write permission of 
raw devices is a correct fix.


The correct fix was to allow a program to write SCSI commands (such as 
seek and read) with O_READ, but not to let other commands through. And 
it did take some time to get the list of allowed commands correct for 
the general case. And there are cases where odd vendor commands are 
blocked to non-root. Agreed it's not perfect, but it does keep people 
from reconfiguring the firmware when given read access.

This did not harm interfaces but cure the problem. The problem was that
Mr. Torvalds did introduce an incompatible interface change instead although
many people on LKML did send their protest mails.
  


Given a choice of more security or more convenience, I choose security. 
I don't insult people who make other choices, their priorities may be 
different from mine. The choice was made to default to restricted, and 
allow several methods to change that choice.


--
bill davidsen [EMAIL PROTECTED]
 CTO TMR Associates, Inc
 Doing interesting things with small computers since 1979


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Need help

2007-01-11 Thread Greg Wooledge
On Wed, Jan 10, 2007 at 01:41:21PM -0800, Shim, JaiX K wrote:
 I tried cdrecord -scanbus. But I got the following error message.
 
  
 
 cdrecord: No such file or directory. Cannot open SCSI driver.

Sounds like you run Linux 2.6.

If you want any help, you're going to have to tell us a lot more detail --
which version of cdrecord, which operating system, etc.  (Although if
your platform is Linux 2.6, all the help you'll get is don't try to run
cdrecord -scanbus on Linux 2.6, or possibly we've attempted a workaround
for Linux 2.6 in cdrecord version xx.yy.zz, and you can try that.)

Also, your Subject: line is abysmal.  Some people filter which messages
they'll read based on that, and yours screams unhelpable or spammer.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Need help

2007-01-11 Thread Joerg Schilling
Greg Wooledge [EMAIL PROTECTED] wrote:

 On Wed, Jan 10, 2007 at 01:41:21PM -0800, Shim, JaiX K wrote:
  I tried cdrecord -scanbus. But I got the following error message.
  
   
  
  cdrecord: No such file or directory. Cannot open SCSI driver.

 Sounds like you run Linux 2.6.

 If you want any help, you're going to have to tell us a lot more detail --
 which version of cdrecord, which operating system, etc.  (Although if
 your platform is Linux 2.6, all the help you'll get is don't try to run
 cdrecord -scanbus on Linux 2.6, or possibly we've attempted a workaround
 for Linux 2.6 in cdrecord version xx.yy.zz, and you can try that.)

This is wrong!

cdrecord works without real problems on Linux-2.6 if you install it correctly
suid root.

ftp://ftp.berlios.de/pub/cdrecord/alpha/
http://cdrecord.berlios.de/old/private/problems.html

Some old versions do not but this is caused by non-cooperative acting
from the Linux Kernel maintainers: they did introduce a severe incompatible 
interface change after cdrtools had been put into a code freeze state 
for releasing.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Need help

2007-01-11 Thread Joerg Schilling
Bill Davidsen [EMAIL PROTECTED] wrote:

  cdrecord works without real problems on Linux-2.6 if you install it 
  correctly
  suid root.

 Unfortunately run everything as root is not going to happen on many 
 systems, some years ago capabilities were added to Linux, and those are 
 the proper way to do access rather than bypassing all security checks. 
 Also, the last time I looked the notes you provided only worked if 
 security was disabled, selinux won't let you do what you were suggesting.

Looks like you are uninformed :-(

Currently there is no more than something in pre-alpha state that could later
become a fine grained security modell (once there is support in userland).
Check out man privileges on Solaris for more information on what makes a 
ready to use system in this area.

On Solaris, cdrecord really runs without root privileges. On Solaris, 
/usr/bin/cdrecord is a shell script with the following content:

#!/bin/sh
pfexec `dirname $0`/`basename $0`.bin $@

The file /etc/security/exec_attr contains the following entries for cdrtools:

Basic Solaris 
User:solaris:cmd:::/usr/bin/cdrecord.bin:privs=file_dac_read,sys_devices,proc_lock_memory,proc_priocntl,net_privaddr
 
Basic Solaris 
User:solaris:cmd:::/usr/bin/cdda2wav.bin:privs=file_dac_read,sys_devices,proc_priocntl,net_privadd
Basic Solaris 
User:solaris:cmd:::/usr/bin/readcd.bin:privs=file_dac_read,sys_devices,net_privaddr

Once Linux implements a user ready version of the current experimental
interface, it would make sense to let cdrtools use this interface.


  Some old versions do not but this is caused by non-cooperative acting
  from the Linux Kernel maintainers: they did introduce a severe incompatible 
  interface change after cdrtools had been put into a code freeze state 
  for releasing.
 Caused by fixing a serious security issue... Once the first exploit was 
 out it did have to be done quickly, and it did impact applications (not 
 just yours). It came at a bad time in your code cycle, but making it 
 sound as if the change was made just because they felt like it is simply 
 not true. Allowing any SCSI command to go to devices was a hole allowing 
 the bad guys to wipe out firmware on hard drives as well as burners, and 
 had to be stopped immediately.

You are again uninformed: The security issue was: sending of SCSI commands 
was possible on file descriptors opened with O_RDONLY. The correct fix
for this security bug was to require O_RDWR instead of O_RDONLY.
This did not harm interfaces but cure the problem. The problem was that
Mr. Torvalds did introduce an incompatible interface change instead although
many people on LKML did send their protest mails.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Need help

2007-01-11 Thread Norbert Preining
On Don, 11 Jan 2007, Joerg Schilling wrote:
 Mr. Torvalds did introduce an incompatible interface change instead although
 many people on LKML did send their protest mails.

Not again ... Mr. Schilling, we know all this already. You don't have to
iterate everything billion times, nobody is anyway believing you in
this.

Norbert

---
Dr. Norbert Preining [EMAIL PROTECTED]Università di Siena
Debian Developer [EMAIL PROTECTED] Debian TeX Group
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
CHICAGO (n.)
The foul-smelling wind which precedes an underground railway train.
--- Douglas Adams, The Meaning of Liff


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Need help

2007-01-11 Thread Bill Davidsen

Joerg Schilling wrote:

Greg Wooledge [EMAIL PROTECTED] wrote:

  

On Wed, Jan 10, 2007 at 01:41:21PM -0800, Shim, JaiX K wrote:


I tried cdrecord -scanbus. But I got the following error message.

 


cdrecord: No such file or directory. Cannot open SCSI driver.
  

Sounds like you run Linux 2.6.

If you want any help, you're going to have to tell us a lot more detail --
which version of cdrecord, which operating system, etc.  (Although if
your platform is Linux 2.6, all the help you'll get is don't try to run
cdrecord -scanbus on Linux 2.6, or possibly we've attempted a workaround
for Linux 2.6 in cdrecord version xx.yy.zz, and you can try that.)



This is wrong!

cdrecord works without real problems on Linux-2.6 if you install it correctly
suid root.
  
Unfortunately run everything as root is not going to happen on many 
systems, some years ago capabilities were added to Linux, and those are 
the proper way to do access rather than bypassing all security checks. 
Also, the last time I looked the notes you provided only worked if 
security was disabled, selinux won't let you do what you were suggesting.


That was some time ago, I did put get current docs on my todo list, 
probably won't happen until tomorrow.

ftp://ftp.berlios.de/pub/cdrecord/alpha/
http://cdrecord.berlios.de/old/private/problems.html

Some old versions do not but this is caused by non-cooperative acting
from the Linux Kernel maintainers: they did introduce a severe incompatible 
interface change after cdrtools had been put into a code freeze state 
for releasing.
Caused by fixing a serious security issue... Once the first exploit was 
out it did have to be done quickly, and it did impact applications (not 
just yours). It came at a bad time in your code cycle, but making it 
sound as if the change was made just because they felt like it is simply 
not true. Allowing any SCSI command to go to devices was a hole allowing 
the bad guys to wipe out firmware on hard drives as well as burners, and 
had to be stopped immediately.


--
bill davidsen [EMAIL PROTECTED]
 CTO TMR Associates, Inc
 Doing interesting things with small computers since 1979



Re: Need help

2007-01-11 Thread Greg Wooledge
On Thu, Jan 11, 2007 at 02:57:15PM +0100, Joerg Schilling wrote:
 cdrecord works without real problems on Linux-2.6 if you install it correctly
 suid root.
 
 ftp://ftp.berlios.de/pub/cdrecord/alpha/
 http://cdrecord.berlios.de/old/private/problems.html

I looked at the HTTP link above.  It does not contain any of the words
setuid, suid or root.  It doesn't even contain the word install,
except as part of installation, and that's only in the paragraph that
says ATAPI is supported.

So I don't really see why you gave us that URL.

 Some old versions do not [...]

Where old means anything not in my alpha/ subdirectory?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Need help

2007-01-11 Thread scdbackup
Hi,

 I tried cdrecord -scanbus. But I got the following error message.
 cdrecord: No such file or directory. Cannot open SCSI driver.
 Can you help me please?

Looks like you stirred up other much older quarrels.
These quarrels are the reason why we got some wealth of
cdrecord compatible programs. Better too many than too few.

The original:
You might expect help from Joerg Schilling, the author of
cdrecord, if you use his newest release, from 
  ftp://ftp.berlios.de/pub/cdrecord/alpha
To my knowledge current is:
  ftp://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-2.01.01a23.tar.gz
(For some reason this address does not work for me currently.
traceroute ends at funnel.fokus.fraunhofer.de )
Proper problem reports are indeed on topic here
  cdwrite@other.debian.org
but see below for some hints.

Project cdrkit:
cdrkit contains program wodim which stems from cdrecord
and is therefore very very compatible. 
  http://cdrkit.org
Current seems to be
  http://cdrkit.org/releases/cdrkit-1.1.1.tar.gz
I guess problem reports can be submitted to
  [EMAIL PROTECTED]

My own effort:
cdrskin is the cdrecord compatibility wrapper of libburn
  http://scdbackup.sourceforge.net/cdrskin_eng.html
current is (i'm sure)
  http://scdbackup.sourceforge.net/cdrskin-0.2.6.pl02.tar.gz
Bug reports and requests can be mailed to
  [EMAIL PROTECTED]
or submitted at
  http://libburnia.pykix.org/newticket


If you picked the recent release of one of above projects
and then still have the problem: please give some info wether
you were superuser and on what operating system ...

If it is Linux, one reason might be the lack of sg devices.
So the output of this could be interesting:
  ls -l /dev/sg[0-9]*
  lsmod | grep sg


Have a nice day :)

Thomas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Need help

2007-01-11 Thread Joerg Schilling
[EMAIL PROTECTED] wrote:

 The original:
 You might expect help from Joerg Schilling, the author of
 cdrecord, if you use his newest release, from 
   ftp://ftp.berlios.de/pub/cdrecord/alpha
 To my knowledge current is:
   ftp://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-2.01.01a23.tar.gz
 (For some reason this address does not work for me currently.
 traceroute ends at funnel.fokus.fraunhofer.de )

It did work 3 hours ago... and I did just send a bug report to our
sysadmin for the network.


 Project cdrkit:
 cdrkit contains program wodim which stems from cdrecord
 and is therefore very very compatible. 

I cannot recommend it as it is not very compatible, In fact, it is
incompatible by intention and it is mainly a frozen version of
a one year old cdrtools. During the last year, I did e.g. fix several
dozen old bugs in mkisofs that are still present in this packet.


Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Need help splitting a directory

2004-12-21 Thread ljknews
At 10:06 PM +0530 10/20/04, _N4R3N_ wrote:
hi


I want to split a directory in to two sub directories

If my home dir is 1000 Mb I can't write it completely on one cd

So i want to split it in to two directories namely

1)naren.bak.1
2)naren.bak.2

so that my /home/naren directory will be split in to two temporary 

directories ..


so that i can write the images of thus formed using mkisofs  

 on two cdroms

Is mkisofs incapable of writing ISO-9660 volume sets ?

Volume sets can be comprised of up to 32767 volumes, probably
more than enough for your largest directory :-)
-- 
Larry Kilgallen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Need help splitting a directory

2004-10-21 Thread Helmut Jarausch
On 20 Oct, _N4R3N_ wrote:
 
 
 hi
 
 
 I want to split a directory in to two sub directories
 
 If my home dir is 1000 Mb I can't write it completely on one cd
 
 So i want to split it in to two directories namely
 
 1)naren.bak.1
 2)naren.bak.2

No need to do that!
Have a look at
http://www.serice.net/shunt

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Need help splitting a directory

2004-10-21 Thread Rob Bogus
_N4R3N_ wrote:
hi
I want to split a directory in to two sub directories
If my home dir is 1000 Mb I can't write it completely on one cd
So i want to split it in to two directories namely
1)naren.bak.1
2)naren.bak.2
so that my /home/naren directory will be split in to two temporary 

directories ..
so that i can write the images of thus formed using mkisofs  

on two cdroms
and afterwards i also need help how do i combine them again.
so that after copying two backup directories from the cdrom 

naren.bak.1 and naren.bak.2 in to
/tmp directory I want to combine this 

two to make it again one directory say naren 

How do i do this 

 

I won't say this is the best thing to do, but the simple solution is 
links. Create as many subdirectories as you need, filled with links to 
the appropriate files, then back up each to a CD.

I have some tools which help with this, but until I find time to get my 
ftp server back up I have no easy way to release them. I use that as 
motivation to get to rebuilding the server ;-)

--
E. Robert Bogusta
 It seemed like a good idea at the time
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Need help splitting a directory

2004-10-21 Thread Joerg Schilling
_N4R3N_ [EMAIL PROTECTED] wrote:

 I want to split a directory in to two sub directories

 If my home dir is 1000 Mb I can't write it completely on one cd

So try a 80 minute blank and use the following command:

cdrecord dev=b,t,l -v -sao driveropts=gigarec=1.4 out.iso

on a Plextor Premium writer :-)

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED](work) chars I am Jorg Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Need help with Sony DW-U10A

2003-12-20 Thread Konkoly Laci
Hi!

I've just purchased my first dvd-writer and it works as well as it is 
possible!
All of you write about the problems!
What kind of problem are you writing about???
Just normally make the contact between dvd-writer and your PC (IDE 
cable, for example secondary master), and Windows XP realizes this 
hardware, no need any installation!
Just use : NERO 6!!!
This software recorded my first dwd-rw disc completely!There were no 
problems!
Have a lot of fun!

Laci from Hungary
(If you have any suggestion, just mail me! [EMAIL PROTECTED])


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Need help with Sony DW-U10A

2003-12-20 Thread Konkoly Laci
Hi!

I've just purchased my first dvd-writer and it works as well as it is 
possible!
All of you write about the problems!
What kind of problem are you writing about???
Just normally make the contact between dvd-writer and your PC (IDE 
cable, for example secondary master), and Windows XP realizes this 
hardware, no need any installation!
Just use : NERO 6!!!
This software recorded my first dwd-rw disc completely!There were no 
problems!
Have a lot of fun!

Laci from Hungary
(If you have any suggestion, just mail me! [EMAIL PROTECTED])



Re: Need help with Sony DW-U10A

2003-09-10 Thread Andy Polyakov
 Memorex DVD-R with a 900MB ISO9660 image using growisofs.  It did not have
 any problems at all and the disc is mountable and readable just fine.  Two
 other times, growisofs has begun the burning, made it to about 30%, and then
 quit with what appeared to be the same type of sense error that cdrecord/
 dvdrecord had.

Three options:

- Media poorly supported by unit firmware. Reportedly Sony is not as
picky as NEC, but it's also known for not being able to record some
brands. Poor media support can manifest itself in most bizarre way. Try
another brand, update firmware, etc;
- Recorder hadware defect. The fact that you can record CD does not
exclude the possibility that circuitry engaged during DVD recording is
rotten. Talk to your vendor;
- Bad media batch. Unlike as you apparently tried for example DVD+RW;

 :-[ LBA=0h, SENSE KEY=5h/ASC=30h/ASCQ=10h ]
 :-[ media is not formatted or unsupported ]
^^^ It means every word of it.

 These same errors happen whether or not I'm using ide-scsi to access the
 drive.  I will point out that the one time growisofs successfully burned, I
 was NOT using ide-scsi.  But I do not know if this is relevant to the
 problem.

It's hardly relevant. It's between your unit and media. A.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Need help with Sony DW-U10A

2003-09-10 Thread Andy Polyakov
 Memorex DVD-R with a 900MB ISO9660 image using growisofs.  It did not have
 any problems at all and the disc is mountable and readable just fine.  Two
 other times, growisofs has begun the burning, made it to about 30%, and then
 quit with what appeared to be the same type of sense error that cdrecord/
 dvdrecord had.

Three options:

- Media poorly supported by unit firmware. Reportedly Sony is not as
picky as NEC, but it's also known for not being able to record some
brands. Poor media support can manifest itself in most bizarre way. Try
another brand, update firmware, etc;
- Recorder hadware defect. The fact that you can record CD does not
exclude the possibility that circuitry engaged during DVD recording is
rotten. Talk to your vendor;
- Bad media batch. Unlike as you apparently tried for example DVD+RW;

 :-[ LBA=0h, SENSE KEY=5h/ASC=30h/ASCQ=10h ]
 :-[ media is not formatted or unsupported ]
^^^ It means every word of it.

 These same errors happen whether or not I'm using ide-scsi to access the
 drive.  I will point out that the one time growisofs successfully burned, I
 was NOT using ide-scsi.  But I do not know if this is relevant to the
 problem.

It's hardly relevant. It's between your unit and media. A.



Re: Need help with cdrecord/rscsi

2002-06-11 Thread Andree Leidenfrost

Hi Jörg

On Wed, 2002-06-12 at 00:23, Joerg Schilling wrote:
 [...]
 o How can I use remote devices without being root on the client machine?
 
 Not possible because of UNIX restictition, but PLEASE RTFM for cdrecord.

Probably I didn't make myself clear here: I just found out that making
cdrecord suid root does infact work. It didn't orginally for me but that
was apparently due to a different problem. So, I'm a happy camper with
regards to this.

 o How can I use rscsi without having to have rshd running on the server=20
   machine?
 
 Impossible
 
 o Is there a way to use ssh instead of rsh?
 
 Why?
 
 ssh is way too slow for cd writing.

Hm...I think it depends. This is between the machines in question:

andree@aurich:~/downloads/kernelscp linux-2.2.17.tar.bz2 jever:
Password: 
linux-2.2.17.tar.bz2 100%
|| 13727 KB00:02

Between 2 and 3 seconds for 13+MB should be sufficient for CD writing
don't you think. Or is there a hidden latency problem somewhere?

A good reason to use ssh/sshd would be encryption of the datastream in
situations where you want to use it across a non-trusted net.

 If you have a ssh aware rcmd(3) implementation it should work.

I'll check that out, thanks! Would that give me encryption of the data?
I fear not, as rcmd is rcmd and doesn't come with encryption...

 Other questions:
 
 What is your opinion on http://sourceforge.net/projects/linux-iscsi? I
 understand that this is only a client to access iSCSI services. Are you
 aware of any server iSCSI development for Linux? This would pretty much
 be what rscsi is doing, wouldn't it?
 
 The RSCSI idea is more than 5 years old and has been finally implemented short 
 before the ISCSI idea came up. If you believe that ISCSI makes sense, write
 a ISCSI transport implementaion for libscg and send it to me...
 
 I'm using SANE to access a remote scanner just as I'm trying to access a
 remote CD writer via cdrecord/rscsi. This prompts me to ask the question
 whether you've ever contemplated to turn cdrecord into a library just
 like the SANE folks did?
 
 Sorry, I contacted the SANE people many times to use my scsi trnaport 
 implementaion. They don't like it because their implementation is so InSANE
 that it is not possible to integrate a SCSI trabsport with a clean interface :-(

That is quite sad to hear as it sounds like triplication of effort. My
understanding is that iSCSI is an open (?) industry standard which can
be implemented by anyone. (Well, anyone that understands the matter, ie.
not me, so don't hold your breath... ;-) ) This to my mind gives it an
edge over rscsi and whatever SANE is doing.

I quite like the SANE approach as it doesn't require me to run rshd but
comes with its own custom-purpose daemon. This is purely from a user
perspective without any insight in the actual implementation of course.
 
What I really meant with my library question is this: In the SANE world
you have e.g. 

aurich:/usr/binldd xsane
libsane.so.1 = /usr/lib/libsane.so.1 (0x40014000)

In other words, the functionality is encapsulated in a library. Wouldn't
it be nice to have something like:

aurich:/usr/binldd gtoaster
libcdrecord.so.1 = /usr/lib/libcdrecord.so.1 (0x40014000)

I'd dare say that making the cdrecord functionality available as a
library should have a number of advantages over calling a separate
program. What is your opinion on this?

Best regards
Andree
-- 
Andree Leidenfrost
Sydney - Australia


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Need help with cdrecord/rscsi

2002-06-10 Thread Andree Leidenfrost

Hi Jörg

 Make sure that .rhost is set up correctly.

The permissions of ~rscsi/.rhosts were a bit, er, liberal. It works now,
as root I can do

cdrecord dev=REMOTE:[EMAIL PROTECTED] -scanbus

on the client machine and I get a list of SCSI targets on the server
machine.
 
 READ  the README's for remote SCSI!

What do you mean? How do you think did I get as far as I did before
contacting the mailing list? ;-) Seriously, I tried to do the preferred
method from README.rscsi.gz as a starting point. Are there other READMEs
for remote SCSI? If so, I'd be keen to find out whether they have
information regarding the following:

o How can I use remote devices without being root on the client machine?
o How can I use rscsi without having to have rshd running on the server 
  machine?
o Is there a way to use ssh instead of rsh?

Note: I am not necessarily argueing with the security of the setup
suggested. My primary concern is that I have to have rshd running on the
server machine which I normally don't.

Other questions:

What is your opinion on http://sourceforge.net/projects/linux-iscsi? I
understand that this is only a client to access iSCSI services. Are you
aware of any server iSCSI development for Linux? This would pretty much
be what rscsi is doing, wouldn't it?

I'm using SANE to access a remote scanner just as I'm trying to access a
remote CD writer via cdrecord/rscsi. This prompts me to ask the question
whether you've ever contemplated to turn cdrecord into a library just
like the SANE folks did?

Best regards
Andree
-- 
Andree Leidenfrost
Sydney - Australia


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Need help with cdrecord/rscsi

2002-06-06 Thread Andree Leidenfrost

Jörg

Are you saying I can only use rscsi as user root on the client machine
even though cdrecord is setuid root on the client machine?

As root I get:

jever:/home/andree# cdrecord dev=REMOTE:[EMAIL PROTECTED] -scanbus -d
dev: REMOTE:[EMAIL PROTECTED] speed: 4 fs: 4194304
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: 'REMOTE:[EMAIL PROTECTED]'
devname: 'REMOTE:[EMAIL PROTECTED]'
scsibus: -1 target: -1 lun: -1
scg__open(REMOTE:[EMAIL PROTECTED]) -1,-1,-1
Warning: Using remote SCSI interface.
cdrecord: locuser: 'root' rscsiuser: 'rscsi' host: '192.168.1.1'
Permission denied.
cdrecord: Success. Cannot get connection to remote host. Cannot open
SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you
are root.

I have added root to .rhosts on the server machine and I can logon using
rsh/rlogin without password to account rscsi no problem. So, why do I
get 'Permission denied.' and in the next line 'cdrecord: Success.
[...]'?

I don't normally only use ssh and don't have rshd installed. Is there a
chance to get it to work with ssh and without having to be root on the
client system.

Best regards
Andree
-- 
Andree Leidenfrost
Sydney - Australia


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]