Re: How to signal a Linux guest from z/VM?

2006-09-20 Thread Romanowski, John (OFT)
Romanowski, John (OFT)" <[EMAIL PROTECTED]> > Subject: How to signal a Linux guest from z/VM? > From z/VM I'd like to "signal" a SLES 9 guest somehow and have the guest > respond by running a shell script (CP SIGNAL SHUTDOWN is not what I want > to do). > I

Re: How to signal a Linux guest from z/VM?

2006-09-07 Thread John Summerfied
Thomas Kern wrote: That's why I like using something internal to the zSeries for zSeries communications and automation. The source of the data can be trusted to not be spoofed so you can authenticate that against a table of authorized users and be safe. With the VMCF protocal (SMSG is just a comm

Re: How to signal a Linux guest from z/VM?

2006-09-07 Thread Rob van der Heij
On 9/7/06, Thomas Kern <[EMAIL PROTECTED]> wrote: Is hcp/vmcp anymore sensitive in a class G (or less) linux service virtual machine than 'shutdown -h now'? Does anyone really let untrusted users have root access in production service virtual machines? If the question is whether someone with r

Re: How to signal a Linux guest from z/VM?

2006-09-07 Thread Carsten Otte
Thomas Kern wrote: Is hcp/vmcp anymore sensitive in a class G (or less) linux service virtual machine than 'shutdown -h now'? Does anyone really let untrusted users have root access in production service virtual machines? Untrusted users may still issue cp commands, if the admin of the guest mac

Re: How to signal a Linux guest from z/VM?

2006-09-07 Thread Thomas Kern
I was talking about the source of the SMSG that has arrived at my Linux service virtual machine. Sources like OPERATOR, MAINT, VMUTIL, not the anonymous userids (HACKER1, HACKER2, HACKER3) that are on the less properly administrated systems. Inside the Linux service virtual machine, there are also

Re: How to signal a Linux guest from z/VM?

2006-09-06 Thread Alan Altmark
On Wednesday, 09/06/2006 at 10:26 MST, Thomas Kern <[EMAIL PROTECTED]> wrote: > That's why I like using something internal to the zSeries for zSeries > communications and automation. The source of the data can be trusted to not be > spoofed so you can authenticate that against a table of authorized

Re: How to signal a Linux guest from z/VM?

2006-09-06 Thread Thomas Kern
That's why I like using something internal to the zSeries for zSeries communications and automation. The source of the data can be trusted to not be spoofed so you can authenticate that against a table of authorized users and be safe. With the VMCF protocal (SMSG is just a commandline SENDX, right?

Re: How to signal a Linux guest from z/VM?

2006-09-06 Thread John Summerfied
Dave Jones wrote: As Dr. Boyes suggests, using the open source IUCV driver is a very good way of solving this type of problem. You can find it here: http://www.sinenomine.net/vm/fsiucv Another approach that might be applicable here is to have a simple client, running on the Linux guest, and list

Re: How to signal a Linux guest from z/VM?

2006-09-06 Thread Adam Thornton
On Sep 6, 2006, at 7:20 AM, Romanowski, John (OFT) wrote: Thank you for your suggestion. Our VM TCPIP isn't reachable from the Linux network; can't use TCPIP from my z/VM to connect to a linux guest. Then just use IUCV to send/recieve messages and skip the TCP/IP step entirely. Adam

Re: How to signal a Linux guest from z/VM?

2006-09-06 Thread Carsten Otte
Rich Smrcina wrote: Is that why tape devices aren't enabled when they are attached? Yes. -- Carsten Otte has stopped smoking: Ich habe in 3 Monate, 1 Woche und 6 Tage schon 504,10 Euro gespart anstatt 2.100,42 Zigaretten zu kaufen

Re: How to signal a Linux guest from z/VM?

2006-09-06 Thread Rich Smrcina
Is that why tape devices aren't enabled when they are attached? Christian Borntraeger wrote: On Wednesday 06 September 2006 16:16, Romanowski, John (OFT) wrote: But if hotplug gets triggered when I attach a dasd why is it only some dasd addresses get automatically enabled and appear as /dev/das

Re: How to signal a Linux guest from z/VM?

2006-09-06 Thread Romanowski, John (OFT)
al Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Christian Borntraeger Sent: Wednesday, September 06, 2006 10:42 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: How to signal a Linux guest from z/VM? On Wednesday 06 September 2006 16:16, Romanowski, John (OFT) wrote: > B

Re: How to signal a Linux guest from z/VM?

2006-09-06 Thread Alan Altmark
On Wednesday, 09/06/2006 at 04:02 ZE2, Rob van der Heij <[EMAIL PROTECTED]> wrote: > > Although it is not the nicest way of signalling, yes you could abuse hotplug > > or udev to trigger an action (e.g. by defining a virtual ctc device and > > intercepting this with hotplug or udev). > > Eeks! That

Re: How to signal a Linux guest from z/VM?

2006-09-06 Thread Christian Borntraeger
On Wednesday 06 September 2006 16:16, Romanowski, John (OFT) wrote: > But if hotplug gets triggered when I attach a dasd why is it only some dasd > addresses get automatically enabled and appear as /dev/dasd? after I attach > one while Linux is running? Is the hotplug action limited to only the das

Re: How to signal a Linux guest from z/VM?

2006-09-06 Thread David Boyes
> I don't know enough C to write the driver. You don't need to. We already did (and it's general purpose for all CP message types). http://www.sinenomine.net/vm/fsiucv Have fun. -- db -- For LINUX-390 subscribe / signoff / arc

Re: How to signal a Linux guest from z/VM?

2006-09-06 Thread Romanowski, John (OFT)
ender immediately by reply e-mail and delete the e-mail from your system. -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Christian Borntraeger Sent: Wednesday, September 06, 2006 10:19 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: How to signal a Linux guest f

Re: How to signal a Linux guest from z/VM?

2006-09-06 Thread Romanowski, John (OFT)
-mail from your system. -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Dave Jones Sent: Wednesday, September 06, 2006 10:11 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: How to signal a Linux guest from z/VM? As Dr. Boyes suggests, using the open source I

Re: How to signal a Linux guest from z/VM?

2006-09-06 Thread Christian Borntraeger
On Wednesday 06 September 2006 16:02, Rob van der Heij wrote: > Eeks! That's ugly... Another reason to become more familiar with udev ;-) Welcome to the "Dark Side of the Force". ;-) Actually current udev versions are really powerful and flexible. The only problem is that the version, flexibil

Re: How to signal a Linux guest from z/VM?

2006-09-06 Thread Romanowski, John (OFT)
rom your system. -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Christian Borntraeger Sent: Wednesday, September 06, 2006 9:57 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: How to signal a Linux guest from z/VM? On Wednesday 06 September 2006 15:33, Romano

Re: How to signal a Linux guest from z/VM?

2006-09-06 Thread Dave Jones
ginal Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Romanowski, John (OFT) Sent: Wednesday, September 06, 2006 9:16 AM To: LINUX-390@VM.MARIST.EDU Subject: How to signal a Linux guest from z/VM? From z/VM I'd like to "signal" a SLES 9 guest somehow

Re: How to signal a Linux guest from z/VM?

2006-09-06 Thread Rob van der Heij
On 9/6/06, Christian Borntraeger <[EMAIL PROTECTED]> wrote: Hotplug (or udev) gets triggered when you define/attach/detach a device. Although it is not the nicest way of signalling, yes you could abuse hotplug or udev to trigger an action (e.g. by defining a virtual ctc device and intercepting

Re: How to signal a Linux guest from z/VM?

2006-09-06 Thread Christian Borntraeger
On Wednesday 06 September 2006 15:33, Romanowski, John (OFT) wrote: > I was thinking I could use the hotplug system but I don't think hotplug > gets triggered when I attach/define a device to the guest. Hotplug (or udev) gets triggered when you define/attach/detach a device. Although it is not th

Re: How to signal a Linux guest from z/VM?

2006-09-06 Thread David Boyes
> Subject: How to signal a Linux guest from z/VM? > > >From z/VM I'd like to "signal" a SLES 9 guest somehow and have the guest > respond by running a shell script (CP SIGNAL SHUTDOWN is not what I want > to do). > I don't want to use SECUSER and CP SEND,

Re: How to signal a Linux guest from z/VM?

2006-09-06 Thread Thomas Kern
02 -0400 > From: "Romanowski, John (OFT)" <[EMAIL PROTECTED]> > Subject: How to signal a Linux guest from z/VM? > From z/VM I'd like to "signal" a SLES 9 guest somehow and have the guest > respond by running a shell script (CP SIGNAL SHUTDOWN

Re: How to signal a Linux guest from z/VM?

2006-09-06 Thread Romanowski, John (OFT)
: Wednesday, September 06, 2006 9:16 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: How to signal a Linux guest from z/VM? > Does Linux have a facility to process external interrupts sent via the > CP EXTERNAL command? I think Neale did that code back then before z/VM got the support for si

Re: How to signal a Linux guest from z/VM?

2006-09-06 Thread Rob van der Heij
On 9/6/06, Romanowski, John (OFT) <[EMAIL PROTECTED]> wrote: I don't want to use SECUSER and CP SEND, my Linux console isn't at a shell prompt, it's at the Login: prompt. You could change inittab and make sure there is a running shell at the console.. And I suppose you don't want to use rexec

How to signal a Linux guest from z/VM?

2006-09-06 Thread Romanowski, John (OFT)
>From z/VM I'd like to "signal" a SLES 9 guest somehow and have the guest respond by running a shell script (CP SIGNAL SHUTDOWN is not what I want to do). I don't want to use SECUSER and CP SEND, my Linux console isn't at a shell prompt, it's at the Login: prompt. Does Linux have a facility to pr