Re: Java in RHEL 6.3 on z/VM

2013-05-01 Thread John Summerfield

Philipp Kern wrote:

David,

am Fri, Mar 29, 2013 at 05:18:27PM + hast du folgendes geschrieben:

Systemd, on the other hand. not so much. 8-(


it's much easier to write snippets for than sysvinit. It does proper
supervision that restarts services when they go down. So where's the problem?

I know it's a heated topic, but still I hate to see unsourced comments
such as this.


The problem I have with systemd is principally the implementation. The
tools I have been using on RHL and successors since I gave up on OS/2
now don't all work or don't work all the time or give me rude messages.
I am referring here to ckkconfig and service commands. Whatever the new
commands are, their names are unnecessarily long and obtuse, and I don't
particularly want to do more than I could previously with service and
chkconfig. And, for the most part, new sysadmins will have to learn both
ways to do things for different releases of the same distribution.

As for restarting failing daemons, I had a problematic Squid once, and a
Debian system that randomly dropped the ADSL connexion (probably, it was
the IAP dropping the connexion and Debian not recovering gracefully),
both years ago and neither seems major now.

Oh year, sometimes the kernel gets a little enthusiastic about killing
random programs to fix out of memory problems. systemd's restarting of
these might be good, it might make the problem worse. Either way, it's a
bandaid. Better to teach the kernel better manners.

Apart from restarting failing services, is systemd of much significance
to users of zBoxes? Quick boots are nice, but only if one reboots often.

--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Bad joke mobile app for System z

2012-07-04 Thread John Summerfield

On 06/09/12 23:15, Gabe Goldberg wrote:

Quick Reference mobile app for IBM System z
http://www-03.ibm.com/systems/z/resources/mobileapp/


New Quick Reference for IBM System z mobile app
Access critical System z information — from the convenience of your
Smartphone
The free Quick Reference for IBM System z mobile app, now available for
Android, BlackBerry and iPhone, provides quick and easy access to the
latest System z product information, success stories, social networks,
and z experts.

Key features:

Latest product highlights, descriptions, and specifications
Client success stories
Automatic content updates
Core product content available without connectivity
Access to relevant social networks, venues, and z experts
One-touch communication with IBM
Links to more System z information on the Web
Sign-up options for additional exciting updates via e-mail or SMS


...can't see it replace shelves/bookcases of manuals, though it's a bit
more portable.

Now, having looked at it, it's hard to know where to start.

It's for Android, BlackBerry, iPhone -- so it wastes most iPad screen
real estate. Much 1x size text is unreadable; at 2x it's blurry and
cartoonish.

Has buttons Products, Case Studies, Communities, Favorites, Contact Us.

Click Products, What's New, "New and updated products" gets
announcements from 7/11/2011, 7/12/2011, and 10/12/2011. Great for
nostalgia, not so useful for current information.

Click Communities, Experts, get one expert: Willie Favero.

It seems an interesting idea done badly, then forgotten...



I can understand the possible merit of a tool for comparing prices at 
the supermarket one's in with what prices are available elsewhere, the 
information is useful immediately.


However, I wouldn't think anyone buys zGear so often or with so little 
thought. It's decades since I was involved with any of that sort of 
equipment, back then buying and selling such stuff was generally 
preceded by reevaluation of existing facilities, going round one more 
time to see whether a little more could be squeezed out of it, reviewing 
what we're doing today and what we might want to do tomorrow, 
considering alternatives, evaluating them and taking some of them for a 
test run and, eventually choosing something.


I'm going through that sort of process myself at the moment, considering 
a tablet. I've been aware of them, now I'm updating my knowledge and 
evaluating alternatives.


I don't see how a mobile app would help me buy computer equipment.



--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Router/routing issues

2012-07-04 Thread John Summerfield

On 06/07/12 22:10, Mark Pace wrote:

Within Guest2 - the router - Yes
misvpn:~ # sudo cat /proc/sys/net/ipv4/ip_forward
1


I prefer to sysctl to list this stuff, it's what you should use to
change values and you can modify its config file to make changes permanent.



--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Red Hat Indeed

2012-07-04 Thread John Summerfield

On 07/05/12 08:14, Dave Roeser wrote:

My Mom and many of her friends in Old Hickory TN (all in their late 70's
early 80's) are in the Red Hat Societyso I know you are not making
it up. I only get back there every 10 yrs or so (I am in Seattle) and in
2001 I gave them a couple of dozen of the Red Hat Linux bumper stickers
and they put them on their cars. My Mom has been asked several times if
she uses Linux.

Dave

/"in a world without gates, who needs windoze?"/


On 7/4/2012 3:43 PM, David Kreuter wrote:

Happy 4th to all my U.S. brethren.
Here in Canada it is a work day. I'm traveling to Ottawa this a.m.
I start chatting with the lady next to me. She tells me she is just back
from Las Vegas where she was attending a Red Hat conference.
So naturally my ears picked up. Linux I say?
She then picks up a bag, unties it ... and removes a hand made
red hat with all sorts of veils and tassels and stuff...
It looked like something you might where at graduation.
apparently there is a red hat society throughout at least North America
where they
make ... ready for it? Red Hats. She has a monthly get together to do
this and
they have an annual conference.
And for those of you who know (of) me ... I am not making this up!
David Kreuter



My sister has been one for years. She lives around here:

http://maps.google.com.au/maps?num=100&hl=en&safe=active&biw=1397&bih=876&q=high+wycombe+western+australia&um=1&ie=UTF-8&hq=&hnear=0x2a32b8e0a82ececf:0x504f0b535df4650,High+Wycombe+WA&gl=au&sa=X&ei=Qub0T77gCueTiAf9w8jZBg&ved=0CA4Q8gEwAQ

http://www.inmycommunity.com.au/groups/Red-Hat-Ladies/180/notice/Are-you-interested-in-joining-the-Red-Hat-Society/467/

--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: SLES11 SP1 - Have you seen this?

2012-05-04 Thread John Summerfield

Lee Stewart wrote:

Hi...   I have a customer running SLES11 SP1 and a layer 2 Vswitch.
When we did the initial install, all went well, and all the clones
behaved as expected.   They did another from scratch install the other
day and it seemed to go well.  But when they cloned it, they started  to
have network trouble, and it ended up that they couldn't have their new
master Linux and a clone of that up at the same time -- even though they
had different IPs.

The problem turned out to be that for some reason the new master (and
therefore it's clone) had a hardcoded MAC address (LLADDR=) in the
network definition.  So even  though they had different IPs, they were
trying to use the same MAC address.  Removing the LLADDR= fixed the
problem  and both were assigned dynamic MAC addresses by the Vswitch.


I had a similar problem in Windows XP which I deployed with
virtualisation (I think Virtual PC as VirtualBox had other problems) and
a virtual machine preinstalled.

Everyone's virtual PC has the same MAC address. It worked, sort of, and
took me a while to nail the problem.

--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: MIPS increase after SLES11 SP1 patches

2012-05-04 Thread John Summerfield

Mark Post wrote:

On 5/4/2012 at 03:17 AM, Rob van der Heij  wrote:

Yes, my experience too is that build requirements in the SLES packages are
often incomplete. It probably works for SUSE because they probably build in
a "almost everything" type of system.


Not really.  The automated build service uses a base set of RPMs for every 
instantiation of a build server, and then uses the requirements in the spec 
file to add more.  I've used build.suse.com to create a number of packages, and 
in some cases I've wound up having to build a huge number of pre-requisite 
packages first.

If anyone finds RPMs that are missing dependencies, whether for build or at run 
time, they should open a Bugzilla report against it.  (The same goes for Red 
Hat if anyone has experienced the same thing there.)


The other day installed a base Fedora 17 system, then tried a "yum
groupinstall" for one of the desktop environments.

It installed a lot of stuff, but not enough. Eventually, I decided is
was all too difficult and started again, installing from scratch.

I've done that sort of thing with Debian too, and it also sometimes
fails to draw in all the packages needed to run. I've also had the
converse problem, I don't use Evolution, don't want to, but removing
it's a challenge.

It's a while since I tried building stuff on RHEL-clone, but some of the
build requirements for some packages aren't even part of RHEL. That, I
think, is why CentOS6 was so late.

Reading the GPL V2,and given that the source packages can be regarded as
comprising documentation (which GPL V2 requires) on how to build stuff,
I wonder whether RHL is GPL-compliant in all cases it should be.



--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: SSH don't close session on logout

2012-05-03 Thread John Summerfield

On 05/04/12 05:13, Mauro Souza wrote:

This is the sequence:

me is a windows, I think linuxgw is some flavor of Unix (solaris,
aix), I don't know and nobody knows), and strange_ssh are sles11sp2. I
connect to linuxgw via putty, and from there I use ssh to strange_ssh.

   me >  linuxgw -->  strange_ssh
winxp   unix (?)sles11
putty  ->ssh -->  sshd

Using "~." kills the connection between strange_ssh and linuxgw.


I have verified that putty does not act on "~." - if it did, it would be
the first session that was broken as putty gets the first chance.


I would love to use Linux, but I am on a client location, I have no
choice. I asked them to plug my notebook on their network, but you
guys know the default answer. The Windows machine I had to use is


Of course. In their position, unless it was a common requirement my
answer would be the same. If it was a common requirement, I'd have a
"public" network properly fenced off from sensitive areas.


locked down. I cannot even install putty, so I had to use a portable
version. We don't have admin rights, and almost every directory is
read only.


I suspected it might be locked down even if "yours," but there's always
hope until its dashed.


Linuxgw is pretty locked down too. Even our home folder is read only.
/tmp is read only, we have no bash_history, know_hosts or anything.
The only system we have full access is strange_ssh. And I am not sure
we can run strace on linuxgw. I cannot use X Forwarding, and I cannot
tunnel anything but port 22.
I will be there again next Monday, and will try other things...

Here's how to find what linuxgw is running.

05:21 [summer@penguin ~]$ uname
Linux
05:21 [summer@penguin ~]$ uname -a
Linux penguin 2.6.18-308.1.1.el5 #1 SMP Wed Mar 7 04:16:51 EST 2012
x86_64 x86_64 x86_64 GNU/Linux
05:21 [summer@penguin ~]$

If it's not linux, I don't know how to trace processes.

lsof on strage_ssh might still provide useful info.




Mauro
http://mauro.limeiratem.com - registered Linux User: 294521
Scripture is both history, and a love letter from God.


2012/5/3 John Summerfield


On 05/03/12 10:26, Mauro Souza wrote:


I think the problem is not any background/foreground process... I had not
started anything, it was only a clean boot, default services, default
inittab... I just logged in by ssh, and it hangs about 20 seconds after I
press enter on the exit command.
I noticed that this behavior only happens when I log in as root. Logged
in
as oracle does exit as it should. Logged in as root I have to wait 20
seconds to ssh close the connection, or use the recently-discovered "~."
escape sequence to kill it.

Mauro
http://mauro.limeiratem.com - registered Linux User: 294521
Scripture is both history, and a love letter from God.



You said you're going to strange_ssh via "linuxgw."

When you enter "~." you cut the session between "me" and "linuxgw," and
the session between "linuxgw" and "strange_ssh" may remain open for some
time.

I assume that at "me" you are using ssh and not putty or kitty.

The man page for ssh has a section headed "ESCAPE CHARACTERS" and you
should read it.

At "me" or "linuxgw" you can change the escape character, and this will
allow you to choose and be sure of which session is hanging. It does
sound to me like it is the one between "linuxgw" and "strange_ssh," but
let's put that to the test.

To investigate further, these commands may be helpful:
strace - reports system calls made by the Program Under Test, in this
case the ssh command. Note that strace can connect to running programs,
I have used it to trace apache httpd, so you could also use it on sshd
on strange_ssh or linuxgw.

tcpdump - records and reports network traffic. You won't understand the
traffic, it's all going to be encrypted, but it will show where and when
the traffic flows. Can be run on any machine in the data path.

lsof - shows open files and network connexions, and programs listening.
netstat can provide similar information. Should be used anywhere you
need that info, likely strange_ssh.

If "me" is a Windows box, I'd counsel getting hold of Linux, it can be
run perfectly well in virtualbox or similar, and if you can't get hold
of SLED for it, OpenSUSE should be fairly familiar to you.





--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html

http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access in

Re: MIPS increase after SLES11 SP1 patches

2012-05-03 Thread John Summerfield

On 05/03/12 12:48, Srivastava, Sagar wrote:


Thanks to Brent and Barton for your reply, I was not successful in
compiling PowerTOP in SLES11 (s390), probably sources need some tweaking
since it is Intel platform centric. If anyone has compiled it
successfully, I will be glad to know.


See whether Debian has a package for it in s/390. If it has, that
version, with patches, should compile for you


I found the solution to my problem, though!

Novell Bug #724164 was fixed in this patch update that we did, where
'logwatch' package was updated from logwatch-7.3.6-65.66.1  to
logwatch-7.3.6-65.72.1. This is also used  by LVM monitoring facility
called dmraid and internally uses cron to run a job every minute and the
job is intensive that it runs for 10 seconds. On an average it comes out
to be 0.8% CPU per guest. Earlier this LVM monitoring facility was
failing hence it did not use any CPU due to the above Bug in logwatch
package.






please notice description and comment #7 in below URL I found through
our great Google, which was my problem too:
https://bugzilla.novell.com/show_bug.cgi?id=724164


Have you noticed Great Google spies on you?


--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: SSH don't close session on logout

2012-05-03 Thread John Summerfield

On 05/03/12 10:26, Mauro Souza wrote:

I think the problem is not any background/foreground process... I had not
started anything, it was only a clean boot, default services, default
inittab... I just logged in by ssh, and it hangs about 20 seconds after I
press enter on the exit command.
I noticed that this behavior only happens when I log in as root. Logged in
as oracle does exit as it should. Logged in as root I have to wait 20
seconds to ssh close the connection, or use the recently-discovered "~."
escape sequence to kill it.

Mauro
http://mauro.limeiratem.com - registered Linux User: 294521
Scripture is both history, and a love letter from God.


You said you're going to strange_ssh via "linuxgw."

When you enter "~." you cut the session between "me" and "linuxgw," and
the session between "linuxgw" and "strange_ssh" may remain open for some
time.

I assume that at "me" you are using ssh and not putty or kitty.

The man page for ssh has a section headed "ESCAPE CHARACTERS" and you
should read it.

At "me" or "linuxgw" you can change the escape character, and this will
allow you to choose and be sure of which session is hanging. It does
sound to me like it is the one between "linuxgw" and "strange_ssh," but
let's put that to the test.

To investigate further, these commands may be helpful:
strace - reports system calls made by the Program Under Test, in this
case the ssh command. Note that strace can connect to running programs,
I have used it to trace apache httpd, so you could also use it on sshd
on strange_ssh or linuxgw.

tcpdump - records and reports network traffic. You won't understand the
traffic, it's all going to be encrypted, but it will show where and when
the traffic flows. Can be run on any machine in the data path.

lsof - shows open files and network connexions, and programs listening.
netstat can provide similar information. Should be used anywhere you
need that info, likely strange_ssh.

If "me" is a Windows box, I'd counsel getting hold of Linux, it can be
run perfectly well in virtualbox or similar, and if you can't get hold
of SLED for it, OpenSUSE should be fairly familiar to you.




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: apache2 how to set envirenment vars for oracle client

2012-05-02 Thread John Summerfield

On 04/17/12 23:19, Marco Bosisio wrote:

Hi,
   I 'm facing this problem with apache2 running on SUSE10 SP4 zLinux.


Marco
When you reply to an email, use your email program's reply button and
prune irrelevant material.

When you want to write an email, as you just did, that is unrelated to
what's gone before, use the write/compose button, or, in most email
clients, click on the relevant email address.

What you did can cause you problems because someone able and willing to
help but uninterested in secret computer codes would not have seen your
email.

While you might have expunged all irrelevant information from the body,
you left the following information that links your email to those that
went before, and most email clients use this (or similar info) to group
related messages together in a thread

Note that the following para is one header, reformatted by my email client.

References: <550260a6-1cf2-4edb-a61f-a67e03f86...@me.com>
<4f8a548c.8070...@gabegold.com>





<800mo75u2v8t7lu2praotu2vv2hjf86...@4ax.com>






Every time I restart apache2, using the "service apache2 restart" command,
the following variables
are not set:





--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Rexx/Regina on Linux

2012-05-02 Thread John Summerfield

On 04/20/12 04:19, Aria Bamdad wrote:

Instead of using the queue command, why not write your message body  to a
temp file and then use something like this:

cat /tmp/mymessage | mail -s "This is a subject line"  scu...@ca.com


or
mail <

Aria

-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
Scully, William P
Sent: Thursday, April 19, 2012 4:11 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Rexx/Regina on Linux

I'd like a Rexx exec on Linux to send an email.  My first attempt at this
is:

#!/usr/bin/regina
Queue 'This Is My Subject'
Queue 'This is the body of the email text.'
Queue '.' /* exit mail's input mode */
'mail scu...@ca.com'
Exit

The pre-queued responses for the mail command don't help and mail ends up
prompting me interactively.

Does anyone know how I might queue replies to the Linux mail command?

Thanks in advance for any advice on this topic.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: SSH don't close session on logout

2012-05-02 Thread John Summerfield

On 04/26/12 21:55, Dean, David (I/S) wrote:

Excellent, it worked, thank you.


Has Mauro's problem been fixed?

ssh won't close the session if there's a live TCP/IP session running,
and "wsftpd&" would have that effect, ssh would still be maintaining the
connection for STD*.

using the screen command might help in some cases, it would for "wsftpd&".



-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark Post
Sent: Wednesday, April 25, 2012 2:39 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: SSH don't close session on logout


On 4/25/2012 at 02:24 PM, "Dean, David (I/S)"  wrote:

I run in to it consistently when I start up our ftp server with vsftpd&.
Always wondered if&  had something to do with it.


It could very well.  Does it happen if you use the vendor provided interface(s) 
to start it?
- rcvsftpd start
- /etc/init.d/vsftpd start
- service vsftpd start


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/
-
Please see the following link for the BlueCross BlueShield of Tennessee E-mail 
disclaimer:  http://www.bcbst.com/email_disclaimer.shtm

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: The old is new again - Not IBM related, but I hope interesting

2012-05-02 Thread John Summerfield

On 05/02/12 20:00, McKown, John wrote:

http://www.phoronix.com/scan.php?page=article&item=plugable_multiseat_kick&num=1

This is a USB device which can plug into a normal PC running Linux (Fedora 17 is mentioned). You 
then connect a DisplayLink monitor, USB keyboard and mouse to the device. And you have a multi-user 
system on a single PC. Not a "server" PC with other PCs connected as "clients", 
but just one single PC. Reminds me of what could be done with MP/M-80 (the multiuser version of 
CP/M-80), except back then it was a serial (RS-232?) connected keyboard/display. Or, maybe, an 
S/360 with a 2260(?) or 3272(?).


The old 486 or Pentium I used to run OS/2 could do that with any old
Linux distro you could install* on its HDD. Look up the Linux Terminal
Server project.

And I do believe your virtual Z could host it



* or netboot, and you can netboot from a floppy.

For the 2260s devices were channel-attached using a 2848 controller. See
an interesting article here: http://en.wikipedia.org/wiki/IBM_2260

For more remote users, there were 2741 printer-keyboards, slow, noisy
but regarded as printing well. Think of a dancing golf ball.

The 3270 family were the S/370 successor (but used on late S/360s), and
there were different models of displays attachable to various
controllers. The 3272 was a local controller, the 3271 a remote
controller attaching via modems and a 2703 or equivalent bysync
controller. The 3275 was a display with a built in remote controller.

We used to have an enquiry program that used a bunch of 2260 displays,
and one of my early tasks was to debug a program intended to connect
emulated 3270 displays over a network implementing the Australian Public
Service (APS) protocol.

It may have been fortunate that the network implementation lacked the
bandwidth needed to get enquiry traffic through in a timely fashion.





John McKown
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone *
john.mck...@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: LDAP

2012-03-21 Thread John Summerfield

Brad Hinson wrote:

Hi Erik,

I'm not an LDAP expert, but I know it's changed a lot since RHEL 5.  Check 
these links:

https://access.redhat.com/kb/docs/DOC-66593
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-Directory_Servers.html#s2-ldap-pam


16.1.5.1. Migrating Old Authentication Information to LDAP Format
The migrationtools package provides a set of shell and Perl scripts to
help you migrate authentication information into an LDAP format. To
install this package, type the following at a shell prompt:

~]# yum install migrationtools

This will install the scripts to the /usr/share/migrationtools/
directory. Once installed, edit the
/usr/share/migrationtools/migrate_common.ph file and change the
following lines to reflect the correct domain, for example:

http://proton.pathname.com/fhs/


Chapter 4. The /usr Hierarchy
Purpose

/usr is the second major section of the filesystem. /usr is shareable,
read-only data. That means that /usr should be shareable between various
FHS-compliant hosts and must not be written to. Any information that is
host-specific or varies with time is stored elsewhere.

That is the current version, there is a draft of a new version, but this
does not change.

What happened to FHS compliance?




If that doesn't have what you need, I recommend opening a support call.  There 
are LDAP specialists who can probably answer that one very quickly.

-Brad

--
Brad Hinson 
Worldwide System z Sales, Strategy, Marketing
Red Hat, Inc.
+1 (919) 360-0443
http://www.redhat.com/z

On Feb 3, 2012, at 9:32 AM, Eric K. Dickinson wrote:


I reworded and resent it so it makes more sense.

On 02/03/2012 09:23 AM, Bauer, Bobby (NIH/CIT) [E] wrote:

Greek to me but hopefully somebody who is LDAP/AD knowledgeable will respond.

Bobby Bauer
Center for Information Technology
National Institutes of Health
Bethesda, MD 20892-5628
301-594-7474

-Original Message-
From: Dickinson, Eric (CIT)
Sent: Friday, February 03, 2012 9:18 AM
To: LINUX-390@VM.MARIST.EDU
Subject: LDAP

Re worded so it makes sense{8^)


I have been trying to configure REHL6 on a z114 to authenticate to an Active 
Directory Domain Controller with LDAP.

What I was hoping was to be directed to a document or procedure to help me 
along.

I think I have it all working but the TLS.

The manuals are very terse. I was also emailed the certificate and the books 
are all about downloading the certificate.  I am not clear exactly where to put 
it or name it.



Thank you!

eric

--
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit http://wiki.linuxvm.org/

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: bogomips

2012-02-29 Thread John Summerfield

Theodore Rodriguez-Bell wrote:

On our systems, one can get a decent idea of where one is more than half the 
time:
  If (bogomips ~= 14037)
  Processor = z196 && OS = SLES 11
  Elif (bogomips ~= 11061)
  Processor = z10 && OS = SLES 11 or RHEL 6
  Elif (bogomips ~= 2800)
Processor = z196 && OS = SLES 10
  Elif (bogomips ~= 2100)
Processor = z10 && OS = SLES 10
  Else
  # Too much running elsewhere; can't tell
(~= means "approximately equal to", for reasonable values of approximately.  We 
only have a few RHEL 6 servers, all on our last z10.)

If you didn't believe the "bogo" in the name before, the SLES 10/SLES 11 
difference ought to convince you.


I have a quad-core Intel box here. CPU frequency varies second to
second, and one CPU seems to have significantly more bogomips than the
others. So there!

john@Boomer:~$ bm.perl&cat /proc/cpuinfo  | egrep -i Mhz\|bogom| sort -u
[1] 32313
bogomips: 5316.76
bogomips: 5333.51
bogomips: 5333.52
bogomips: 5333.53
bogomips: 5333.54
bogomips: 5333.55
bogomips: 5333.82
bogomips: 5400.31
cpu MHz : 1596.000
john@Boomer:~$ cat /proc/cpuinfo  | egrep -i Mhz\|bogom| sort -u
bogomips: 5316.76
bogomips: 5333.51
bogomips: 5333.52
bogomips: 5333.53
bogomips: 5333.54
bogomips: 5333.55
bogomips: 5333.82
bogomips: 5400.31
cpu MHz : 1596.000
cpu MHz : 2661.000
john@Boomer:~$




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: map in use

2010-08-30 Thread John Summerfield

Victor Echavarry Diaz wrote:

I want to know what is this and how to solve.

Creating multipath targets20017380009c50121: map in use
20017380009c50120: map in use

Thanks,


Did you ask google? It's my first port of call whenever I want to know 
the meaning of some obscure question. Mostly, somebody else has already 
asked.





Víctor Echavarry
System Programmer
Technology Systems & Operations Division
EVERTEC







-
CONFIDENTIALITY NOTE: This email communication and its attachments
contain information that are proprietary and confidential to
EVERTEC, INC., its affiliates or its clients.  They may not be
disclosed, distributed, used, copied or modified in any way without
EVERTEC, Inc.’s authorization. If you are not the intended
recipient of this email, you are not an authorized person.  Please
delete it and notify the sender immediately. EVERTEC, Inc. and its
affiliates do not assume any liability for damages resulting from
emails that have been sent or altered without their consent.
Moreover, EVERTEC, Inc. has taken precautions to safeguard its
email communications, but cannot assure that such is the case and
disclaim any responsibility attributable thereto.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Using RHEL5.5 Apache with MSIE browser / NTLM

2010-08-30 Thread John Summerfield

Donald Russell wrote:

I have an Apache web server running on zLinux RHEL 5.5, and MS Windows users
who log into a domain before they can even get the browser. Once there
however, I'd like to pick up their domain user id without having to
explicitly prompt for it. (i.e. avoid some sort of log in page)

I realize the security is not terribly strong, it's more of a conveneince
thing... security has already been taken care of at this point.

It looks like I could implement the four-way NTLM at the application level
(provide a PHP class to do the heavy lifting) but I was looking for
something I could configure in Apache, like a directory statement in
httpd.conf that says something like "access to this directory requires an
ntlm-authenticated user, and then Apache/php would make the userid available
via the $_SERVER super-global... or something similar.

Is there a (convenient) way to do this? Or other suggestions?



Is this what you want?

http://www.google.com.au/search?ie=UTF-8&oe=utf-8&q=apache+ntlm+auth


Thanks,

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Virtualization with the Best TCO?

2010-08-25 Thread John Summerfield

Mark Post wrote:

On 8/24/2010 at 03:15 PM, "Graves, Aaron"  wrote:

How about a z/VM zLinux response to this?

http://www.computerworld.com/pdfs/RedHat_Enterprise_Linux_has_Best_TCO.pdf


If I were to say what I really think about this, I would most likely be 
perceived as bashing a competitor.  I don't want to go there, so I'm going to 
try really hard to stay out of this particular discussion.  Brad, my apologies 
for saying this much.


Bear in mind that RH is targetting (mostly) Windows users on ia32/amd-64
systems. I wouldn't expect too much difference between SLES and RHEL on
those kinds of hardware.

Both RH's and Novell's users can do things those on Zeds cannot, most
notably run Windows guests. And, quite a few times here; I've seen
questions about this or that package that is shipped prebuilt as
binaries for Linux (but only for intellish systems).

Now, if someone wants to take aim at Linux on Intellish (or Power or
Sparc if you wish) vs Linux on Zeds, I'm here to watch!



--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Shared root and shutdown

2010-08-15 Thread John Summerfield

Michael MacIsaac wrote:

Leland,


For you "shared root crazies" out there, how did you get /etc to unmount

...
Or perhaps a better question is "How did you get /etc to *mount*?"

As I recall the install programs will not allow /etc to be a mounted file
system.  This makes some sense as the file system table (fstab) is in
/etc/ - so there's a chicken-and-egg problem with /etc being specified as
a file system in /etc.


A little while ago, I wanted to make a system with / on nfs, with the
ability to run multiple copies of it. Sorta like what you're talking about.

I finished up front-ending the startup scripts to mount various places,
including /etc. with tmpfs and then. where appropriate, populating the
filesystem.


Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: CRON

2010-08-08 Thread John Summerfield

John Summerfield wrote:

Mark Pace wrote:

Is there an easy way to make cron not send me an email every time it runs
one of my jobs?  I have one job that runs every 15 mins, and as you may
imagine that generates a lot of mail.  Or is there a way clean up an mbox
without manually doing it?



man 5 crontab
The version of cron I have can be persuaded to not send email

A good alternative, in my view, is to write a filter with one's email
client to file these emails into a folder which one generally ignores.
It's there if needed.



I might also mention that I read a lot (just about all) of
system-generated email with alpine (Aternatively-Licenced pine) which
lets me deal with the emails much faster than thunderbird and other GUIs
can handle it. Dealing with those emails takes less than a second,
mostly the email fits on one page. And, I read on a Linux virtual console.


--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: CRON

2010-08-08 Thread John Summerfield

Mark Pace wrote:

Is there an easy way to make cron not send me an email every time it runs
one of my jobs?  I have one job that runs every 15 mins, and as you may
imagine that generates a lot of mail.  Or is there a way clean up an mbox
without manually doing it?



man 5 crontab
The version of cron I have can be persuaded to not send email

A good alternative, in my view, is to write a filter with one's email
client to file these emails into a folder which one generally ignores.
It's there if needed.





--
Mark D Pace
Senior Systems Engineer
Mainline Information Systems

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Reducing Linux virtual machine size

2010-08-03 Thread John Summerfield

Tom Duerbusch wrote:

Hi Ray.

I tried your script on some of my images.  Works fine, except when Oracle is 
involved.

linux62:~ # ps -eo pmem | awk '{pmem += $1};END {print "pmem ="pmem"%"}';
pmem =1347.1%
I do have a lot of swap blocks allocated.  This is due to a batch type run, 
that is run off hours.  During the day, when users are on, we swap very little.

So if this does include swap pages, I don't think the script would give me what 
I need, during normal processing.  Do you agree?  Or am off track here?

Thanks

Tom Duerbusch
THD Consulting


"Mrohs, Ray"  7/23/2010 1:45 PM >>>

Start up all your Linux procs and then run this little script.

#! /bin/sh
ps -eo pmem | awk '{pmem += $1}; END {print "pmem = "pmem"%"}';

It will give you a ballpark percentage of current memory utilization.
I tuned some Apache/ftp servers down to 100M with no ill effects.



To (maybe) alleviate the problem with oracle, add a sort step:

ps -eo pmem,cmd | sort -u -k2 | awk '{pmem += $1}; END {print "pmem =
"pmem"%"}';

This sorts by the second (and subsequent) key and drops duplicates. Be
aware it has its own problem, if you have lots of different copies of a
program (bash maybe) with the same commandline arguments, it will be
counted once.

You could also experiment with start time and any other sort keys that
seem attractive.



--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: FW: CNET: IBM names Firefox its default browser

2010-07-19 Thread John Summerfield

John Campbell wrote:

McKown, John wrote:

http://news.cnet.com/8301-30685_3-20009387-264.html


When I was an IBMer I was one of those using the Linux "Client For
E-Business" build (IMHO very well assembled on top of RHEL4 WS) which,
given the CIO's decree that all internal web-based applications MUST
be "Browser Agnostic" (unlike my experiences as Verizon and elsewhere)
it made the use of Firefox to be "no problem".

Firefox is common to at least *three* platforms--  Windows, Linux and
MacOS X-- so this actually cuts costs in terms of Quality Assurance



Add in the BSDs and (almost certainly) Solaris..

--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Compiling ingres 9.3 on SLES 10 sp3

2010-06-21 Thread John Summerfield

tim.simp...@dundeecity.gov.uk wrote:

Hello,

I have never posted to the list before so sorry for any style errors I
make.

We have been running the CA proprietary version Ingres 2.6 for many years
on SLES8 31 bit on Zvm 5.3

We are in the process of moving to Zvm 6.1 and would like to go to SLES10
64bit

It would appear that CA no longer provide Zvm binaries

So I have downloaded the open source ingres 9.3 code, in an attempt to
build this version myself,

but it does not have any architecture definitions in it for S390 or S390x



I suggest you first build it on IA32 or AMD-64, which is probably where
all the action is.

Hopefully, what ever works there will also work on Zeds.



--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: GNOME

2010-06-15 Thread John Summerfield

Thang Pham wrote:

Yes, it was a firewall problem.



If ever a firewall prevents you from doing something, but you can use
ssh, there is port forwarding to help:

Read the man page until you understand thisL

ssh -L 8080:fred.local:80 fred.example.com




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Ten years of Linux on the mainframe

2010-06-15 Thread John Summerfield

Ray Mansell wrote:

You joined seven months earlier than I did - so between us we have more
than 7 decades of VM experience.


or 37 years repeated?


--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Question from a UNIX newbie.

2010-03-27 Thread John Summerfield

Roger Evans wrote:

And the biggest reason: there are maybe millions of programs and scripts
that are written to assume that fopen DOESN'T search a path variable,
and might break if the behavior were changed.  Users are also
'programmed' to assume that commands will look where they're told to
look and nowhere else. It's bad enough having to  'reprogram' when
switching from an MSDOS command line (which has '.' implicitly in its
PATH) and linux, which doesn't.

You could even be able to make a case for dropping this behavior on the
part of exec and ld, and forcing the user/programmer to specify where
the files are.   But that would break a lot of things, too.

Roger

On Thu, 2010-03-18 at 09:36 +0100, Rob van der Heij wrote:

On Thu, Mar 18, 2010 at 5:39 AM, William D Carroll
 wrote:


Biggest reason I can think against it (just devil's advocate) is performance
if you had a search path that fopen/fdopen used then for every call of 
fopen/fdopen
they would search the path (or could potentially search they path)
this could cause excessive overhead on the lpar.
think of the extra IO that would be occurring performing searches

"When other things equal, performance rules. Otherwise often too" :-)

I think you're right that the cost of searching other directories is
is to be avoided. And just like with $PATH there is a trojan horse
around the corner...

The idea smells like the CMS "file mode extension" where you want to
fake things and allow the program to think the file is somewhere else.
With CMS mini disks you have no other options but copying the files
when the program was not prepared to look on other file modes. The
mechanisms in Unix are a bit different. I don't think I've seen a
program that took a file name as an argument but could not handle a
path. But if it really happens you do tricks with links.

Really just command line. I see an analogy with "address command"
religion in CMS. When you write a program in Linux you should not rely
on the path but state which program you run and what files you use. I
would not like to see "sshd" pick up a different config file because I
installed some Java stuff that injected some directories (at the
start) of my $DATAPATH environment variable.


The PATH environment variable satisfies a pretty similar to that
provided by concatenated system/job/set/task libraries on MVS. One has a
defined way of specifying "my program is in one of these locations."

Some programs, java, perl, python and many more use a defined
environment variable to locate their libraries.


Applying a similar scheme to just any open sounds to me like a disaster
waiting to happen. Imagine a user doing this, as root:
cd /tmp
echo someting | bash
if open searched some path that happened to include /bin





--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Rexx and Expect

2010-03-27 Thread John Summerfield

Frank M. Ramaekers wrote:

HmmmI've done 'expect' in a shell script and I've done REXX, but
haven't tried to combine the two.Just a gut feeling, I think you
have some problems with that, but let me know how it goes!


expect is an extension to TCL, itself a scripting language. I expect you
could write an expect script script and incorporate that into your rexx
script as you would any external (to rexx) command.

perl has an expect module, if you don't like tcl (and I'd not blame you
for that), maybe you could do whatever in perl.





Frank M. Ramaekers Jr.



-Original Message-
From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of
Scully, William P
Sent: Wednesday, March 10, 2010 1:45 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Rexx and Expect

Forgive me in advance as I think I should know the answer to this.  But
I don't.  Please educate me.

Is it possible to use Rexx as the scripting language for Expect?
Perhaps via "address"?  I'm thinking it might be akin to how Rexx on
z/VM can "speak" to can the editor with "address xedit".





--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Used MP3000

2010-02-13 Thread John Summerfield

Mike At HammockTree wrote:

I will point out that there are different install packages for OpenSUSE and
RHEL.  I'm not sure exactly what the differences are, but apparently there
are some differences, so there may well be differences in other
distributions that zPDT may be sensitive to.
I'm sure that an expereinced Linux person would be able to work out the
differences, but I suspect that most zOS developers will find it much more
cost effective to use one of the recommended systems (hardware and
software)
or even one of the prebuilt systems with additional usability tools,
such as
the ones from ITC  (hint... hint...)

Mike


I could probably hack it into shape, and the cost _might_ be acceptable
but with the licence in its present shape I'm forbidden to try.

--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: OOM-Killer shut down SSh

2010-02-13 Thread John Summerfield

David Kreuter wrote:

My experience is with the effects of the OOM killer. Perhaps with Linux
on a desktop it is ok


Not really, in my experience it's rarely the guilty party that gets
clobbered, so the problem can persist for some time, with performance
degrading all the while.

Not everything on a desktop is critical, and what is important is in the
eye of the beholder. I say, be generous with RAM, it's cheap and
certainly cheaper than lost time, either of the user or of the person
delegated to investigate.

--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Used MP3000

2010-01-23 Thread John Summerfield

Frank M. Ramaekers wrote:

CentOS is the *free* version of RHEL.


I presume you're directing that to me; I well understand that CentOS is,
I maintain several systems (mostly my own) running it, Additionally,
I've used several releases of Fedora, of RHL before it, and on occasion
I've used OpenSUSE too - it's my deceased Thinkpad. And for good
measure, I've also run betas of recent releases of RHEL.

Like Mike, I expect it would work on any current distro, provided the
owner is prepared to do some work - running openSUSE packages through
Alien is one thing, getting the resulting deb to actually work is another.

I would expect the release of the Linux kernel and versions of libraries
on the system would be key, more than the actual distros. Scripts are
relatively easy to fold into shape should they depend on SUSE standards.


However, I was thinking more of licences: IBM says this hardware, and
that software is supported,




Frank M. Ramaekers Jr.
Systems Programmer   MCP, MCP+I, MCSE & RHCE
American Income Life Insurance Co.   Phone: (254)761-6649
1200 Wooded Acres Dr.Fax:   (254)741-5777
Waco, Texas  76710





-Original Message-
From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of
John Summerfield
Sent: Monday, January 18, 2010 5:27 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Used MP3000

Mike At HammockTree wrote:

It's called "zPDT"  (Syetem z Personal Development Tool) from IBM.
We (ITC) use it in our system/product called the uPDT (Ultimate PDT).
See www.p390.com/updt.htm  for more info.


It looks very nice, though it seems it might not work with the very nice
HP laptop I bought last week

I'm sure that those in the Hercules crowd who want to run licenced IBM
operating systems might find the USB thing an attractive way to do so.
On their choice of hardware, of course.

Since "opensuse" gets a mention, I don't suppose IBM is too concerned
about the quality of the underlying host OS, so users' choice from the
major distros should be equally acceptable.

I don't understand the reference to Red Hat, there is no Red Hat Linux -
Fedora is the nearest to opensuse, and RHEL isn't in the same league.



Mike Hammock
ITC
- Original Message -
From: "McKown, John" 
To: 
Sent: Friday, January 15, 2010 2:39 PM
Subject: Re: Used MP3000



-Original Message-
From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On
Behalf Of Alan Altmark
Sent: Friday, January 15, 2010 1:29 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Used MP3000

On Friday, 01/15/2010 at 11:27 EST, Chris Cox



wrote:


If only IBM would allow ISV's to put something real on Hercules.
It's like IBM doesn't want anyone to learn stuff anymore... not
that I mind Linux of course.

Eh?  System z ISVs have other development tools at their disposal.

Alan Altmark
z/VM Development
IBM Endicott

I know of two. One is an account (z/OS under z/VM?) on a center in

Dallas.

The other is for PWD, but I forget the name. It replaces Flex-ES in

that it

allows running z OSes on an Intel PC.

--
John McKown
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
john.mck...@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential

or

proprietary information. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the

original

message. HealthMarkets(r) is the brand name for products underwritten

and

issued by the insurance subsidiaries of HealthMarkets, Inc. -The

Chesapeake

Life Insurance Company(r), Mid-West National Life Insurance Company of
TennesseeSM and The MEGA Life and Health Insurance Company.SM



--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390

or

visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390

or

visit
http://www.marist.edu/htbin/wlvindex?LINUX-390




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Used MP3000

2010-01-18 Thread John Summerfield

Mike At HammockTree wrote:

It's called "zPDT"  (Syetem z Personal Development Tool) from IBM.
We (ITC) use it in our system/product called the uPDT (Ultimate PDT).
See www.p390.com/updt.htm  for more info.


It looks very nice, though it seems it might not work with the very nice
HP laptop I bought last week

I'm sure that those in the Hercules crowd who want to run licenced IBM
operating systems might find the USB thing an attractive way to do so.
On their choice of hardware, of course.

Since "opensuse" gets a mention, I don't suppose IBM is too concerned
about the quality of the underlying host OS, so users' choice from the
major distros should be equally acceptable.

I don't understand the reference to Red Hat, there is no Red Hat Linux -
Fedora is the nearest to opensuse, and RHEL isn't in the same league.




Mike Hammock
ITC
- Original Message -
From: "McKown, John" 
To: 
Sent: Friday, January 15, 2010 2:39 PM
Subject: Re: Used MP3000



-Original Message-
From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On
Behalf Of Alan Altmark
Sent: Friday, January 15, 2010 1:29 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Used MP3000

On Friday, 01/15/2010 at 11:27 EST, Chris Cox 
wrote:

> If only IBM would allow ISV's to put something real on Hercules.
> It's like IBM doesn't want anyone to learn stuff anymore... not
> that I mind Linux of course.

Eh?  System z ISVs have other development tools at their disposal.

Alan Altmark
z/VM Development
IBM Endicott


I know of two. One is an account (z/OS under z/VM?) on a center in Dallas.
The other is for PWD, but I forget the name. It replaces Flex-ES in that it
allows running z OSes on an Intel PC.

--
John McKown
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
john.mck...@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or
proprietary information. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message. HealthMarkets(r) is the brand name for products underwritten and
issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake
Life Insurance Company(r), Mid-West National Life Insurance Company of
TennesseeSM and The MEGA Life and Health Insurance Company.SM



--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: C++ Cross-Compiling on zLinux for z/OS

2010-01-16 Thread John Summerfield

Dennis Schaffer wrote:

Hi,


My shop is interested in using zLinux to cross-compile C++ programs which
will be executed on z/OS.  The purpose would be to make use of cheaper IFL
cycles instead of the more expensive CP cycles.



Are there options for "gcc" or are cross-compilers available which would run
on zLinux and generate object code or modules which could be executed under
z/OS?


gcc can be built to cross-compile,  google should give some clues.

If gcc on Linux-390 can target z/OS then I would expect gcc on an
AMD-64-compatible system[1] should be able to do so too, and maybe you
have even cheaper CPU cycles.


[1] Or just about anything else.






Does anyone have experience w/ these alternatives, if any?



Thanks in advance for your responses.



Dennis Schaffer

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: gcc 4.x.x on SLES 9

2010-01-16 Thread John Summerfield

oscar.rodrig...@barclayscapital.com wrote:

P

- Original Message -
From: Linux on 390 Port 
To: LINUX-390@VM.MARIST.EDU 
Sent: Sat Jan 09 13:02:00 2010
Subject: Re: gcc 4.x.x on SLES 9

Building GCC is not difficult, but is time consuming.  (MOST of the
time is simply letting the build run while you go off and have a cup
of coffee ... or a four course meal ... and dessert ... and take in a
movie.)  You will, of course, need a fully functional development
environment before you can [re]build GCC.

The original poster proposes a solution to a problem, but doesn't
describe the problem.

For many purposes, gcc on something later will do as well. You could
even contemplate gcc on opensuse on an amd-64 system.

Generally, software developed on a peecee running OpenSUSE today could
be expected to run on future SLES or SLED with minimal fuss and bother.

Circumstances where this doesn't apply are fairly obvious - those that
are sensitive to the presence of specific real or virtual hardware (I'll
include all of VM that a guest can see here).

All that, and what others have said, I'd look at spec files new and old
for clues about how your new gcc should be built, but handle it outside
of package management. I'm not confident about how rpms for two
different releases of gcc could be made to live together, while building
it outside of rpm is a doddle. Just aim it for somewhere somewhat
private - /usr/local/gcc4.4 or, if Harry's the only person using it,
~/harry/gcc4.4 - and then have those who need it change their PATH to suite.

Later, removing it is as simple as "rm -rf /usr/local/gcc4.4"

You would need to update /etc/ld.so.conf or add a file to
/etc/ld.so.conf.d/ (I'm looking at RHEL-clone, SLE{S,D} might differ.





When it works, it is mostly unattended.  When it doesn't work, you
will have to take the time and figure out what broke.  (Maybe you
simply need to upgrade some other support utility.  Who knows?)

YES, you can have two versions of GCC on the same system.  No problem!
 What you must do is have them in different locations.  I use two
schemes for building GCC, as follows, BOTH of which place GCC apart
from the usual locations.  Both of them will automagically download
the GCC source for you.

*** Using "CSCRATCH" to build GCC ***

I often use this in-place build scheme which includes GCC (and
BINUTILS, which you may also want to upgrade).  It happens that the
scheme I call CSCRATCH places GCC (and BINUTILS) under /opt/gcc rather
than under /usr, so your old compiler would still be available.  (And
would in fact be the default.)  Be aware that this scheme will replace
most other packages IN PLACE.  The fact that it relocates GCC is a
happy coincidence that I won't elaborate on today.  It is presently
doing GCC 4.3.2.  If you have a machine, which already has a compiler,
you are welcome to try ...

mkdir /tmp/csc
cd /tmp/csc
wget http://www.casita.net/pub/csc/makefile
make gcc.mk
make gcc.src
make gcc.cfg
make gcc.exe
sudo make gcc.ins

Then to run the new compiler, set it first in command search ...

PATH=/opt/gcc/bin:$PATH ; export PATH

You may want to do the same for BINUTILS which is at the 2.18.50.0.6
level.  (And also lands safely under /opt/gcc.)

*** Using "/usr/opt" to build GCC ***

I also often use a non-intrusive scheme for building packages,
including GCC, which lets you isolate things from the operating
system.  (So it does not break your box out of DPKG or RPM
management.)  Someone at Rice University came up with the basic idea
years ago, and I have come to rely on it heavily.  I found the build
logic for GCC 4.3.2 for this scheme and uploaded it to the web.
"/usr/opt" by design keeps everything AWAY FROM the operating system,
so here too your old compiler would still be available.  (And would
again still be the default.)  There are more steps (than with
CSCRATCH), but this is a much more open-ended solution.

mkdir /tmp/gcc-4.3.2
cd /tmp/gcc-4.3.2
wget http://www.casita.net/pub/gcc/gcc-4.3.2.mak
cp -p gcc-4.3.2.mak makefile
wget http://www.casita.net/pub/setup.sh
cp -p setup.sh setup
chmod a+rx setup
make source
make config
make
sudo mkdir -m 1777 /usr/opt
make install
./setup

Again, to run the new compiler, make it first in your command search ...

PATH=/usr/opt/gcc/bin:$PATH ; export PATH

You may want to do the same with "binutils-2.18.50.0.9".

I do not know how well a home-grown GCC will behave w/r/t your mixed
32-bit and 64-bit environment.  Personally, I would use one of the
above methods and then rigorously test the stuff built by the new GCC.
 (Most of the libraries are outside of compiler space.)  Rigorous
testing is standard operating procedure, yes?   :-)

-- R;   <><





On Fri, Jan 8, 2010 at 11:26, rui  wrote:

Hi all,

I am looking for gcc 4.2 onwards on sles9 x86_64. Can I get a

Re: /usr/local -or- /local

2010-01-06 Thread John Summerfield

Richard Troth wrote:

Thanks for all the feedback.

I've seen cases where, for example, a sub-dir of /proc is a mount
point, and the mount point gets created before /proc is actually
mounted.  (Some script somewhere must be doing this, because the
'mount' command executable does not.)  So a missing /usr/local (mount
point) doesn't necessarily ensure that the two cannot get out of
sequence.

It doesn't matter all that much (to me) whether mounting /usr/local
ahead of /usr can be prevented.  The cascade of mounts is inelegant.
So the question is simply if anyone sees problems with /usr/local
being a sym-link to /local ... up one level.  Doesn't sound like
anyone thinks that is really a problem.


I think you are trying to solve a problem that does not exist. I
disagree that nesting mounts is inelegant, and your hack belongs to the
realm of Crude Hacks(tm).

During system initialisation, expect filesystems to be mounted with the
mount command thus:
mount -a

Expect that when this happens that the root filesystem is already mounted.

According to fstab(5), the approved way to read fstab in a program is
with getmntent(3). Since the documentation for that function does not
state otherwise, expect that entries are returned in the order in which
they appear.

Since that is the standard way of programmatically reading /etc/fstab,
it is reasonable to expect the mount command to do that.

So, the solution to your problem is to order entries in fstab in the
order in which you want them mounted, that is, /usr before /usr/local.

Doing this in non-standard ways goes to increasing maintenance costs
(you actually have to do extra work) and extra training costs (you have
to explain to new hires why you do things in such a strange way).

By all means put what I have said before blindly implementing it, I
would call that "insurance."



I've got another one.  Will make that another subject for proper threading.

-- R;   <><






On Tue, Jan 5, 2010 at 13:55, Richard Troth  wrote:

folks --

Does anyone see or imagine or know of any negative impact from having
/usr/local be a symbolic link to /local?  One of my teammates is
asking.

I have personally endorsed this particular hack.  It lets us have /usr
and /local each be in their own filesystem and yet not have a mount
fight.  That is, if /usr/local and /usr were each unique filesystems,
you could wind up with bad things like one FS hiding the other.
(Rare, but possible.)  So instead, I am in the habit of moving
/usr/local to /local and letting there be a sym-link /usr/local.  What
then is the risk?

Novell?  RedHat? What do y'all say?  Is there a problem with this?

Thanks.

-- R;   <><



--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Senior WebSphere Consultant

2009-12-30 Thread John Summerfield

Jose Munoz wrote:

Hi,

I still working on WebSphere Application Server for z/OS and Windows
platforms as Senior WebSphere Consultant since 9 years ago, my project
finish  January 2010 and I will be available February, 1st 2010. I have
experience on zSeries for more than 25 years.


Jose, please do not interpret this is as critical of you.

I don't recall the community attitude to "I want a job" posts, but this
is not a suitable forum for seeking employees. Posting job-vacant ads
here can cause grief, including - so others have said - termination to
readers whose employers might suppose they're looking for a new job.

The focus of this community is using Linux on IBM mainframes.
Contributing here might work towards establishing a reputation, and you
could get some ideas about where you'd like to work in the future, but
I'd hesitate to take it further than that.

--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Rejected posting to LINUX-390@VM.MARIST.EDU

2009-12-30 Thread John Summerfield

Rob van der Heij wrote:

On Thu, Dec 24, 2009 at 12:38 AM, John Summerfield
 wrote:


I had it happen a few days ago, and I've seen in in the past. I assumed that
the listserv got confused, or someone restored a mail queue that had already
been processed, or something.


Yes, it happens a few days after the post. It's not uncommon for MTA's
to try delivery for a few days before giving up and apparently return
the item to the sender. I fear we need Harry or Martha to identify
which subscriber does this...

Rob

It's recurred, and I have some evidence. Email from me left here:
Received: from js.id.au (dsl-58-6-192-22.wa.westnet.com.au [58.6.192.22]) by
  smtp-inbound4.marist.edu with ESMTP id CA9RyR7qUlL9v5f5 for
  ; Mon, 28 Dec 2009 18:13:22 -0500 (EST)

That's the first Received: header verifiable outside my site.

It spent a few minutes bouncing around Marist and friends:
Return-Path: <>
Received: from MARMAIL2 (NJE origin smtp...@marist) by VM.MARIST.EDU
(LMail V1.2b/1.8b) with BSMTP id 4604; Tue, 29 Dec 2009 18:18:22 -0500
Received: from smtp-inbound5.marist.edu [148.100.49.28] by
VMMAIL2.MARIST.EDU (IBM VM SMTP Level 540) via TCP with ESMTP ; Tue, 29
Dec 2009

Then it got wrapped up and returned. This is the first header from the
message returning it:
Received: from VM.MARIST.EDU (NJE origin lists...@marist) by
VM.MARIST.EDU (LMail V1.2b/1.8b) with BSMTP id 4608; Tue, 29 Dec 2009
18:18:25 -0500

and arrived here:
Received: from smtp-outbound3.marist.edu (smtp-outbound3.marist.edu
[148.100.49.24])
by ns.demo.lan (Postfix) with ESMTP id A2E4AC2C016
for 




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: PROP-like action routines for linux syslog ?

2009-12-28 Thread John Summerfield

McKown, John wrote:

Which syslog daemon are you running (sorry, no z/Linux here). Old-style syslog, 
syslog-ng, or rsyslogd? They are different in their capabilities.

One thing which should work on all of them is to make your own daemon which 
monitors the appropriate syslog file in the filesystem (you must tell the 
syslog to write to this file). You could do this something like:

tail -f /var/log/log-file-with-messages | myprocessing-program


Probably, configuring syslogd to write to a pipe is easier. Start the
pipe reader first.

Apart from things others have mentioned, pop-before-smtp is a perl
script that reads log files in real time and does things when a regex
matches. It copes with logs being rotated.

As its name suggests, it's mail-related, but one could hack it to death
and reincarnation.



--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Rejected posting to LINUX-390@VM.MARIST.EDU

2009-12-23 Thread John Summerfield

Rob van der Heij wrote:

On Mon, Dec 21, 2009 at 2:58 PM, Frank M. Ramaekers
 wrote:


I don't know why I keep getting these. �I've never double posted
anything. �On, Saturday, I received 6 of these and 2 on Friday.


My guess is that a (former) subscriber has a misbehaving mail agent
that now returns the mail to listserv.


I had it happen a few days ago, and I've seen in in the past. I assumed 
that the listserv got confused, or someone restored a mail queue that 
had already been processed, or something.


If it were someone else's misbehaving mail service, I'd expect to see 
something of the kind on other lists I'm on, most higher-volume than 
this, but I don't recall it.



Or we're getting very old and forget that we already posted ;-)


Have I already posted this? Can't remember..

--

Cheers
Santa

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: OT: out-of-office notices

2009-12-23 Thread John Summerfield

Shane Ginnane wrote:

Well that didn't take long to be disregarded.

Shane ...


They used to be such fun! We'd discuss how easy it is to not send them
to the list, how silly folk who can't manage it are etc etc.

One time Sally Ditto was out of her office for a while, and we were
rather taken, in addition to the other points, her name and its
resemblance to a well-known DOS utility. We were still discussing it a
week or two later when she returned.

Merry Christmas Shane and the rest! 36 here I hear.






--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Completely off topic

2009-12-15 Thread John Summerfield

Andrej wrote:

2009/12/16 John Summerfield :

OK, I have to admit that I don't see what's amusing... care to illuminate?

Q What hardware is TogaRouter running on?
A
http://www.amazon.com/TRENDnet-TEW-652BRP-Version-Wireless-Router/dp/B001DHLC3S

Running Linux, of course.

It's no Deep Blue, but it will do the job on most tournament players.

Heh ... that's state of the art, isn't it?

It would have been amusing if it were running z/VM & Linux on IFL ... ;)


The other one running TogaII could, using Hercules, if IBM would allow it:-)

Now, if someone has a Z10 with free time, could join freechess running
TogaII as, maybe, BigBlueToga



--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Completely off topic

2009-12-15 Thread John Summerfield

Fuzzy Logic wrote:

OK, I have to admit that I don't see what's amusing... care to illuminate?


Q What hardware is TogaRouter running on?
A
http://www.amazon.com/TRENDnet-TEW-652BRP-Version-Wireless-Router/dp/B001DHLC3S

Running Linux, of course.

It's no Deep Blue, but it will do the job on most tournament players.



Fuzzy

On Tue, Dec 15, 2009 at 3:22 AM, John Summerfield
 wrote:

telnet freechess.org 5000


set seek 0
set open 0

finger TogaII
finger TogaRouter

quit

Maybe it's just me, but I find it amusing.


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Completely off topic

2009-12-15 Thread John Summerfield

telnet freechess.org 5000


set seek 0
set open 0

finger TogaII
finger TogaRouter

quit

Maybe it's just me, but I find it amusing.



--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: concatenating input files with named pipes

2009-12-15 Thread John Summerfield

Bishop, Peter wrote:

Hi again,

I'm moving ahead a little bit and have done some basic tests with tapes but now 
have something I don't understand.

I'm trying to "concatenate" two tapes into one named pipe, and then read the 
pipe, hoping thereby to read the two tapes at once (trying to emulate the z/OS JCL 
concatenation concept).

Here's my logic, which is not working as I'll explain in a minute.  My thinking 
is that I can write to the pipe sequentially and read it sequentially, but it 
appears not to work that way.

pe...@sydvs002:~> sudo dd if=/dev/rtibm0 of=pipe &
pe...@sydvs002:~> sudo dd if=/dev/rtibm1 of=pipe &
pe...@sydvs002:~> sudo dd if=pipe of=packages &


Yuck!
sudo bash -c\
 '(sudo dd if=/dev/rtibm0;dd if=/dev/rtibm1 ) | dd of=packages'

You can punctuate it differently:
sudo bash -c\
 '(sudo dd if=/dev/rtibm0;dd if=/dev/rtibm1 )' | dd of=packages
and extend it
sudo bash -c\
 '(sudo dd if=/dev/rtibm0;dd if=/dev/rtibm1 )' \
| ssh other.example.com dd of=packages

and cat will work as well as dd.




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: WWBD - One large VM LPAR or multiple smaller ones?

2009-12-07 Thread John Summerfield

Staller, Allan wrote:

The issue is not technical, it is a business issue.

The traditional method of z/VM maint is to bring up the new release as a
guest under the current release. Migrate all of the guests on the
current release to the new release, and shut down the "old release".
This will promote the "new release" to be the true hypervisor. This
obviates the technical necessity for multiple LPARs.

However, if that LPAR needs to be shut down for any reason (Disrputive
microcode is the only thing I can think of at the moment), you have lost
all applications. You haven't stated if there are multiple CEC's
involved or just LPARs on a single CEC.


Presumably if you're updating the slushware, you have to shut down
everything anyway, the question is whether it's all at once or staged.
Unless (and I don't know this) you can migrate the running system to
different hardware (real or virtual) without IPL. We could almost do
this in the 70s on the 3168 (one could take out half an MP, but only one
half, not one at a time).

--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Linux software development question

2009-12-02 Thread John Summerfield

McKown, John wrote:

-Original Message-
From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On
Behalf Of Christian Paro
Sent: Wednesday, December 02, 2009 11:24 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Linux software development question

If this is an application you wrote, why not just have it
write to stdout
and then redirect its output at the shell to wherever you
want to put it. In
other words, instead of:

`app in1 in2 in3 output.file`

you'd have

`app in1 in2 in3 > output.file` (to output to a file named
"output.file")

or

`app in1 in2 in3 1>&2` (to output to stderr)



Good question. I guess because the program is really writing out binary data, not something that 
should be directed to the screen. Which, of course, begs the question: "then why have a way to 
write it to stderr?" I can see writing it to stdout so that you could pipe it into something 
else, without an intermediate "temporary" file.

But my main question was about standard conventions and is there one for using 
stderr in a parm list where a file name is normally used and required. As a - 
is used for either stdin or stdout, whichever applies in the context.

Is there a web site which detail "standard conventions"?


C was originally written for programming on Unix, and since Linux so
resembles Unix, it works well there.

The way popular languages such as C, C++ and Java work just the way
they're expected to do in Linux.

The standard conventions are pretty much what your programming
documentation says to do.

If you want to write binary data to a file, stdout and stderr are poor
choices, some time someone will get a face full on their screen,
possibly making the screen hard to read.

Single hyphens for arguments seems pretty much the Unix way, double
hyphens the GNU way. However, not all programs use hyphens at all, dd
for example.

Assuming I still have your attention, please, where you allow an
argument such as "--pkg" you also accept "--package" because
abbreviations obvious to you might not be so to others, especially those
from very different cultures such as India.

Where you expect "--all-packages" also accept "--all_packages." I have
lots of trouble remembering which separator is used in particular cases.

getopt is an excellent package (once one understands the documentation)
for sorting out the commandline. However, I don't know that it's
available for Java.

Personally, I like commandlines that seem somewhat english with no
special punctuation:
copy file (-|source) to (-|target) by ftp






--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: SIGILL problem on s390x

2009-11-21 Thread John Summerfield

rui wrote:

I am now thinking of becoming a machine level programmer :) Thanks Christian
and others for your valuable feedback and helping me solve the problem. Very
valuable learning, to inspect the actual instructions for me.
This code was in place for Linux only, I have now gotten round it for s390.


This is one of the times when having programmed in assembly language is
useful:-)


When trying to solve these kinds of problems, it's useful to know that
the CPU is trying to digest, and what it's capable of (the reason I
asked about the model).

Most (I think) CPUs advance the program counter after fetching the
instruction. An obvious exception is when the instruction can't be
accessed (program check 4 or 5).

When the CPU has suffered acute indigestion, backtracking can be a bit
of guesswork. First try, depending on the particular error, is to look
at the immediate prior bytes to see what might be instructions that
might have given rise to the existing PC value and the error.

In the case of addressing errors, it helps to understand how branches
are taken. Eons ago when I learned this stuff, a program check at one of
these addresses:
x'48'
x'50'
x'4800'
x'5000'
generally meant a program had tried to read or write an unopened file
and there was usually a message about a missing DD card. R14 contained
the return address and R1 the address of the relevant DCB.

_I_ generally use R12 as my base register in my assembler programs, and
one time a missing DD lead to an unconditional branch on R12 at one of
those addresses. The result, a S322 abend (used all CPU time) and a
greater time limit lead to a S322 abend. Umm.




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Shared documents in Samba

2009-11-19 Thread John Summerfield

Richard Troth wrote:

Berry --

Last I knew, SMB service from z/OS was in fact just SAMBA.  Given that
there would have to be some "churn" between the latest and greatest
SAMBA and what you have on z/OS, it would be an older and stabler
version.  You might find that a newer release of SAMBA solves your
problem.  A quick Google search for SAMBA and Excel did not teach me
anything, but you may have better results if you are familiar with the
keywords which fit this particular Excel function.

I would be interested to know if z/OS SMB was actually not SAMBA under
the covers.


When last I was an OS/390 user, there was a job running called
"lanserver" which I assumed was ported from OS/2. I got involved because
the folk near where I worked wanted to transfer data from Windows NT to
OS/390 and filesharing, they said, was dog-slow. I didn't put that to
the test, I just something else. The standard ftp client. Pushed the
OS/390 ftpd over a couple of times before I found how to specify MVS
filenames from the Windows client.

I think Samba then was around 1.4, I looked at it on OS/2, mainly so I
could provide information in my OS/2 pages. It wasn't until later I
switched to Linux.


--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: SIGILL problem on s390x

2009-11-19 Thread John Summerfield

rui wrote:

Hi all,

This is my first message to this list and I am having a strange problem on
s390x system.

uname -a
Linux suse9 2.6.5-7.97-s390x #1 SMP Fri Jul 2 14:21:59 UTC 2004 s390x s390x
s390x GNU/Linux

I am building my software on this system with these compiler/linker options
as 32bit build.
CC="g++ -m31"

COPTS_LINUX_OS390="-L. -Wall -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-D_THREAD_SAFE -D_REENTRANT -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
-D_POSIX_C_SOURCE=199506L"

LOPTS_LINUX_OS390="-L. -Wall -lpthread -lm -lnsl -lrt -ldl -lcrypt
-L/usr/X11R6/lib"

The build is fine but when I execute my software and for a certain operation
i receive SIGILL, which I don't seem to understand -- it happens at a start
of a c++ based constructor in which the only difference from the rest of the
application is that stl is used.

I can't seem to get to the bottom of this, are there any compile/link flags,
which I am not using correctly or is there something else.

The code is built as 32bit  on hp, solaris, suse linux and redhat linux
without any problem and works fine, even on 64 bit version of redhat linux.

Can anybody help me out with this, please?


What model of CPU are you using?
cat /proc/cpuinfo

Can you use gdb to find just what the instruction is that it's failing
on and post the hex code to the list?

Just for giggles (and if you have the time), fire up Hercules on a PC
and try on that. I don't think that you can actually choose the CPU it
emulates (I've not used it for some time, I used to specify "model=3168"
and that ran Linux just fine), but it's a different processor.




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: assembler and LINUX

2009-11-19 Thread John Summerfield

Chase, John wrote:

-Original Message-
From: Linux on 390 Port On Behalf Of David Boyes

[ snip ]

3) Find an old PC and install the distribution you want to use on it.

Use that to experiment with the

environment.


At today's prices, probably "better" to just build a new one.


++
I was researching the wares on offer at one of the local PC shops, this
one going under the hammer. I finished up not going, but on offer was an
intel mobo with preattached Atom processor. Normally retails here for
just over the $AU100. Add 2GB DDR2 RAM, a (special) case, a disk (laptop
disk?) and Bob's your uncle.

CPU power consumption? This is the greedy one of the Atom line at 8W.
Not 80, just 8. Thinks no fan, green-friendly, reasonable performance.
Probably would run Hercules well enough for small-scale zAssembly work.




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Java plugin for firefox on z/Linux

2009-11-15 Thread John Summerfield

Mark Post wrote:

On 11/13/2009 at  2:58 AM, Andrew Avramenko  wrote:

Hello,

We want to organize terminal server on system z. One of preprequisites
is java plugin for firefox. It seems that there is no such plugin in
ibm java. Can You recommend some workaround or may be You know about
plans to release this plugin?


The only workaround I'm aware of is to use Konqueror as the browser.


You could have a peek at the CentOS distro. I think they have packaged
the OS java for CentOS5. If you're talking RHEL5, it's probably just a
compile away. SUSE10 might be a little more, but still not hard.

Earlier releases of either might be a greater challenge.


--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: M$oft patents "sudo"

2009-11-12 Thread John Summerfield

bruce.light...@its.ms.gov wrote:

I am aiming for 1+1=10    all your logic gates are mine !!


I'll take these:
1 OR 1 = 1
1 OR 0 = 1
0 OR 1 = 1
0 OR 0 = 0





--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: zSeries OS licenses, Was: Re: ch-0.0.0e21 (TX in ch_action_txretry): Busy

2009-11-11 Thread John Summerfield

Patrick Spinler wrote:



Certainly, in my shop, several of our major initiatives started out as
skunk works projects.  I can't imagine it's all that different elsewhere.



Like Linux/370?
http://www.linas.org/linux/i370/i370-bigfoot.html
Older Hardware. The s390 port only runs on the newest generation of
hardware. Very few sites have this hardware. The i370 port supports an
older instruction set, and thus opens the door to owners of older systems.


--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: zSeries OS licenses, Was: Re: ch-0.0.0e21 (TX in ch_action_txretry): Busy

2009-11-10 Thread John Summerfield

Patrick Spinler wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alan Altmark wrote:

Bottom line, zPDT is available only to software vendors (ISVs).


So, end result, there's no inexpensive desktop viable evaluation,
training or hobbiest option available for non ISVs, period.

- From the amount of traffic in this this thread, it sounds like I'm not
the only person who'd appreciate having such a thing available.  How can
we customers request such a thing from IBM?  If enough customers ask,
I'd hope IBM management would at least consider making such available.


At one point I was running MVS 3.08 under Hercules. I'd have loved to
use something more recent, to refresh and update my skills. I quite
liked writing programs in assembler, but there's little point to writing
 for S/370, no matter how well I did it, it would not lead to
employment  or software sales.

I couldn't even get the JES2 exits I wrote working, they were written
for a PP JES2.

As for Linux, there's not that much difference between Linux on a
current AMD-64-compatible system and Linux on a Zed - especially an
emulated Zed

--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Where does "games" come from?

2009-11-03 Thread John Summerfield

Leslie Turriff wrote:

On Tuesday 03 November 2009 19:42:12 John Summerfield wrote:




I think removal of accounts, as opposed to disabling them, is not
something to undertake lightly. It might be that data there could be
required for legal purposes - recently in a public company in Australia
was reported to have embezzled a few million dollars. Enough that, when
the money was found, the company's share price doubled. Probably, the
user's files reflected her activities. Illegal activites aside, there
may be notes, saved emails and the like stored there and nowhere else
that may reflect agreements made and which someone else might need to
know about after they've left.


All of your comments are correct, and all of the installations where I 
have
worked have checklists and procedures for handling the removal of such
accounts, which include the identification and either removal or reassignment
of related files before the account is removed; but these do not cover the
case of an unidentified account which is owned by no identifiable entity and
has no apparent use except to provide a possible weakness in the system's


The accounts in question and their purposes have been identified.


security merely by existing.  (One may believe that since it is a "nologin"
account, etc., that there is no chance that in the future some hacker might
find a way to exploit its existence, but history has shown that such beliefs
are not safe ones.)  The policy of most enterprises that unused accounts


If someone can change a nologin account to a login account, you're
already screwed. And, that someone can also create new accounts.



should not exist on the system unless they can be justified as serving a
business purpose is valid for accounts such as games as well as for accounts
defined by the system administrators.

If the only purpose for the games account is to collect high-score 
numbers
for accounts where games are used, it has no purpose on a business server,
and it should not be included in such a distribution.  It is hard for me to
believe that an account with such a minimal purpose cannot be excluded
without causing a cascade of problems in the rest of the system, and it seems
to me that the distributors of SLES and RHEL should have excluded them long
ago.


I think that the suggestion of seeking assurance from the vendor that
the removal of these accounts poses no problem is sound. I would also
recommend asking the vendor that no unnecessary system accounts be
created. Any local action is but a crudish hack, and the problem will
recur, either immediately as Marcy found out, or later when installing
from vendor media, and nor will these hacks solve the matter for other
users.

I also think it sound to bring these accounts to the auditors' attention
(since in this case they seem not to have noticed yet) and discussing
with them what should be done, what the alternatives and risks are.

It seems to me most here have a problem with the name. Here are some
other names I have on my RHEL-clone:
news
operator
gopher
rpm
gdm
sabayon
tomcat
shutdown
halt

Those last two actually have a login shell that doesn't immediately log
you off, instead halt would shut down the system. Some of the others
also have a working login shell.

If the games account represents a security problem, then so do those.


--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Where does "games" come from?

2009-11-03 Thread John Summerfield

Edmund R. MacKenty wrote:

On Tuesday 03 November 2009 11:16, Jack Woehr wrote:

Edmund R. MacKenty wrote:

.  I don't think the UID/GID can be re-used, as
your vendor controls their assignments for system accounts and useradd(8)
will not assign UID/GID values below 500

That number-below-which is controlled by the contents of /etc/login.defs
I believe, which is an editable text file, not a hard limit.


Correct.  But in order for the scenario you described to occur, one of the
following must happen:

1) A superuser edits /etc/login.defs and sets SYSTEM_USER_MIN to zero or some
other very low value, or

2) A superuser runs "useradd -r -u 40 cracker" and gives that account to a
plain user.


I don't know what sparked that comment, but in case you think system
accounts have special privileges, they do not, except for
UID=0.Essentially, system accounts are not user accounts, and new
accounts are user accounts by default.

The system can be configured to give special access to specific
resources through use of UIDs and GIDs- members of the dialout group on
a system I maintain can use serial ports because they're owned by group
dialout and the group permissions allow that,but that applies equally
whether a process is a daemon process with a system account, or some
user. Similarly, sudo can be configured to give some accounts or groups
special privilege (typically, the ability to run stuff as root), but
again, its behaviour is the same whether the process using it's a system
daemon or an ordinary user. In fact, I use it to allow Apache to modify
firewall rules, and I use it to allow administrator users to do their stuff.



--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Where does "games" come from?

2009-11-03 Thread John Summerfield

Edmund R. MacKenty wrote:

On Tuesday 03 November 2009 11:48, Marcy Cortes wrote:

No one has actually answered Paul's question about why it has to exist.  I'm
curious about that too for my own edification.  Just because its always
been there and things *might* expect it isn't a very good reason in my
opinion.


I'll take a swat at that one:

It doesn't *have* to exist, but some packages will attempt to install files
owned by "games".  That's OK, you'll end up with some files owned by UID 12.


More likely they will be owned by root.




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Where does "games" come from?

2009-11-03 Thread John Summerfield

Jack Woehr wrote:

Alan Altmark wrote:

Marcy's question wasn't unreasonable and neither is the policy to remove
unnecessary account ...
 But to implement the policy, *someone* has to be the
arbiter of "necessary", and I don't think it should be the system that's
being audited!

In the specific instance, most estimable Alan, your general guidance is
wrong.

Marcy was asking for help in deleting accounts she did not know the
purpose of,
/and/ the system /is/ the arbiter in that these system accounts own
system files
which are orphaned if the system accounts are deleted.

In a worst-case scenario (that's what security planning is about, right?)

  1. ftp system files are orphaned by deleting the account
  2. a user account re-using the uid number for the vanished ftp
 account is accidentally created
  3. Joe User gets control of FTP.


A user account will not be created with a defunct system account's UID.
What is more likely is that a new user account might get the UID of a
removed user account and so win some orphaned files.

I don't know whether it's defined behaviour, but on RHL and successors,
if I add a new user account (as I do) in kickstart with a specific UID
(as I do), then subsequent new accounts get ever-increasing UIDs.

Given that I remember when OS/VS and VSAM were new, and how
mind-bogglingly large VSAM files could be (4 Gbytes for those less
senior), I will not assume UIDs will never wrap again.


--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: TCPDUMP

2009-11-03 Thread John Summerfield

Ron Wells wrote:

Not recv'ing / seeing packets being sent from Linux box..only see them
coming inbound??

Where can I start looking
Going through VSWITCH where OSA-Gig card is set
z/VM5.4
SLES 10 SP2
 Linux agfzxt02 2.6.16.60-0.42.4-default #1 SMP Fri Aug 14 14:33:26 UTC
2009 s390x s390x s390x GNU/Linux


tcpdump command:
tcpdump -p -i eth0 -s 0 -vv -w /root/appwork01.lcap "src port not 22 or
dst port not 22"


When people start combining AND and NOT I have to think, and I don't
like thinking.  But I wonder whether you mean and rather than or.
I'd use
port not 22
Something like this:
tcpdump  -i eth0 -A -s host terry and not port 22

which doesn't trace ssh activity.





--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Where does "games" come from?

2009-11-03 Thread John Summerfield

Alan Altmark wrote:



In a Unix system, having a process to ensure that you *don't* orphan files
when deleting an account would seem to be de riguer.  If any file exists
to which said uid has privileges, then why would you delete the account
until you clean up the files?  I'm not a Unix sysadmin, but I presume that
there are admin packages that handle this sort of thing for you.  When you
discover that the admin tools is about to delete /sys/bin/important, you
might think twice about it and instead put that user on the "necessary"
list.


Users' files do not, by default, get deleted when the account is removed.

The ownership of a file is reflected in two numbers, and those are
mapped to names through /etc/passwd and /etc/group (and their
replacements in LDAP etc). Removal of accounts removes the mapping, but
not the files.

If you use a centralised authentication store, such as LDAP or RACF or
AD, then removing a user account could leave orphaned files all over the
 place.

I think removal of accounts, as opposed to disabling them, is not
something to undertake lightly. It might be that data there could be
required for legal purposes - recently in a public company in Australia
was reported to have embezzled a few million dollars. Enough that, when
the money was found, the company's share price doubled. Probably, the
user's files reflected her activities. Illegal activites aside, there
may be notes, saved emails and the like stored there and nowhere else
that may reflect agreements made and which someone else might need to
know about after they've left.




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Where does "games" come from?

2009-11-03 Thread John Summerfield

Jack Woehr wrote:

Edmund R. MacKenty wrote:

.  I don't think the UID/GID can be re-used, as your vendor controls
their assignments for system accounts and useradd(8) will not assign
UID/GID values below 500

That number-below-which is controlled by the contents of /etc/login.defs
I believe, which is an editable text file, not a hard limit.



and the default limit varies, I've read that the traditional Unix limit
is 1000, and that's what Debian uses.

--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Where does "games" come from?

2009-11-03 Thread John Summerfield

Edmund R. MacKenty wrote:


removes a headache for you.  I don't think the UID/GID can be re-used, as
your vendor controls their assignments for system accounts and useradd(8)
will not assign UID/GID values below 500 unless you explicity ask for it with
the -r option, which you're not going to ever use, right?  So even if there
are files owned by UID 12 after you delete "games", no one else will get to
own them.


I don't know about RHEL and SLES, in the ordinary course of events, but
it certainly can happen in Debian.

I said "in the ordinary course of events" to exclude reference to
third-party software. If I provide some kind of server software,
installation may well involve creating a _system_ account. That is
perfectly consistent with how Linux vendors installed their standard
daemons - postgresql, apache, postfix et al all have their own system
accounts. It's the vendors' choice whether those accounts are part of
the standard set, or created when and if required. A third-party vendor
would create them when their software is installed, and if you have
removed some of the standard set, then yes the UIDs and GUIDs can be reused.

And, if you ever have need to move a disk from one system to another,
where the mappings o UID/GIDs to names differs, you may have problems.




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Where does "games" come from?

2009-11-02 Thread John Summerfield

Jack Woehr wrote:

something you shouldn't do and have no reason to do?


Delete the contents of /usr/games if you want, but don't delete the user
id.  And leave
uucp and ftp userids alone on pain of You'll Be Sorry Someday And Not
Know Why.



Better, delete the packages that own files in $(locate \*/games ) but
don't delete those directories, they will return. In RHEL they're part
of the filesystem package.


--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Where does "games" come from?

2009-11-02 Thread John Summerfield

Scott Rohling wrote:

Interesting -- then it isn't getting recreated from /etc/shadow or
something...

Maybe there is some option that keeps maintenance from doing this -- but
failing that, I'd consider this behavior a security issue.  If the
maintenance wants to complain (as it would on zVM for example if FTPSERVE
was missing) that it can't apply the maintenance or something is missing --
that's fine.   But actually creating accounts isn't...   That would
invalidate many security scans I know about at various customers...

So - not much help from me, other than if 'games' is a required system
account - I guess the joke's on us ;-)   Maybe someone else has insight on
ways to keep this from happening...


If you're not actually using /etc/passwd etc for authentication for
normal users, this probably wins:
chattr +i /etc/passwd



--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Where does "games" come from?

2009-11-02 Thread John Summerfield

Marcy Cortes wrote:

But Jack,

"Review and remove unnecessary accounts" "unix"
Google it.

I did.
With quotes in place, no hits.
Without quotes, a bit over half a million. One used the term without
defining it. Several say to remove unneeded _user_ accounts.



Anyone security / audit weenie who *doesn't* put that in the policy is probably 
in need of the beginner book or a new job.

One can argue all they want with the auditors about the philosophy and 
correctness of leaving them in, but in reality, the policy is still broken.   
And some of us need our jobs.


I would wish to understand what they think they are gaining. A scientist
 who just accepts conventional wisdom is likely to soon be a former
scientist. It's not about being difficult, but rather trying to do what
is correct, and where one is not better than the other, then making the
choice that makes less work.

Low-numbered (where "low" depends on implementation) UIDs and GIDs are
for system accounts and groups.






--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Where does "games" come from?

2009-11-02 Thread John Summerfield

Scott Rohling wrote:

So?   How does this explain why they reappear if removed?


It doesn't. In your position, assuming I had chosen to remove those
accounts, I would then look for actions taken by updates. This command
should give clues as to when it happened.

\ls -l --time=ctime

I somewhat agree with Jack, I wouldn't be keen on their removal.


--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Where does "games" come from?

2009-11-02 Thread John Summerfield

Marcy Cortes wrote:

I keep getting rid of this userid /etc/passwd, and something puts it back.
SLES 10.
How do I make it stop doing that?
Also uucp and ftp.

Bad bad bad.


Consider them documentation. I their shells are set to "/sbin/nologin"
or similar, nobody's going to login with them. Root can su to them, but
if you don't trust root, you know what you are:-)

I the accounts are locked (and I'm sure they are), then nobody else can
su to them.

The document and (in a sense) reserve the UID and GUID their files would
have if they had any (and in some systems, games does). "games" is used
to store scores in pissing contests.

This is on RHEL-clone:
[r...@bobtail ~]# touch /tmp/zink
[r...@bobtail ~]# chown . /tmp/zink
[r...@bobtail ~]# ls -l /tmp/zink
-rw-r--r-- 1   0 Nov  3 10:31 /tmp/zink
[r...@bobtail ~]#

Having those names in /etc/passwd has no implications about ownership of
any files that may be created.

--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: cron jobs run twice when when time changes

2009-11-02 Thread John Summerfield

Aria Bamdad wrote:

Hi,

I have the following crontab file on my SLES10 SP2 systems:

SHELL=/bin/sh
PATH=/usr/bin:/usr/sbin:/sbin:/bin:/usr/lib/news/bin
MAILTO=root
#
# check scripts in cron.hourly, cron.daily, cron.weekly, and cron.monthly
#
-*/15 * * * *   root  test -x /usr/lib/cron/run-crons &&
/usr/lib/cron/run-crons >/dev/null 2>&1
59 *  * * * root  rm -f /var/spool/cron/lastrun/cron.hourly
10 0  * * * root  rm -f /var/spool/cron/lastrun/cron.daily
29 4  * * 6 root  rm -f /var/spool/cron/lastrun/cron.weekly
44 4  1 * * root  rm -f /var/spool/cron/lastrun/cron.monthly

This Sunday, when we move the time back one hour, the scripts in our daily
group ran twice.  This is caused by the run-crons script that runs every 15
minutes.  In our case, the daily script ran at 12:10AM  on 11/1, then again
at 11:10PM on 11/1, and finally at 12:10AM on 11/2.

Searching online, I see various bugs in run-crons causing this type of
behavior on other distributions.

Did anyone else see this behavior over the weekend?


I'm sure they did, it's the obvious behaviour and, without documentation
to the contrary, it's what I would expect.

If you can avoid running cron jobs at the times affected by daylight
savings changeovers, that would help.

Otherwise, crond needs to be taught how to use UTC instead of local time.

On the basis that current behaviour might be depended on by someone
(don't ask me why!), the choice of time might be configurable, and
conceivably, people might want crond to use some time that is neither
local nor UTC, and maybe for individual cron jobs.

This last point applies to me, I want to regularly check a website when
trading is active, and it operates in another time zone. I I could say,
in my crontab, TZ=Australia/Sydney then I could track its trading hours
more easily.


--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: emulating a z/OS DDNAME dataset concatenation in Linux

2009-11-02 Thread John Summerfield

Rob van der Heij wrote:

On Mon, Nov 2, 2009 at 5:02 AM, BISHOP, Peter  wrote:


To John M - yes, I was thinking in "z/OS" terms, where a single open of the 
DDNAME is sufficient for all the datasets in that DDNAME.

To David, Ed and John S - the annoying thing about pipes here is that they incur extra 
I/O for the "cat" command, and since these files are very large (approx 20GB 
daily) this extra I/O will be very costly, probably excessively so here.
Looks like I'm out of luck here, more thinking required.


What extra I/O do you mean? When "cat" has multiple arguments, it will
open one file after the other, read them to end-of-file and write the
output to stdout. You can pipe that into your processing. If it's your
own application, you could make the application process a list of file
names. As far as I know this is similar to how MVS does extents.
You would have extra I/O when you had to compose the input file on
disk by appending all your input files. But in a lot of cases you can
make the program use stdin and take the data from the pipe.

Rob


I expect Peter's referring to writing and reading the pipes. In OS, the
data goes from disk to buffers to program. Here, it would be going disk
to buffers to cat to buffers(?) to pipe to buffers(?) to program.

I think Peter should measure the performance, but I'm inclined to think
he's right. When I suggested it, I didn't expect it to be "as good."

If there's some useful preprocessing that could be done before the
program, he could replace cat with a program that does that processing
and reduce the overhead.

--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Math Error

2009-10-31 Thread John Summerfield

Scully, William P wrote:

I've reported this to the vendor but I found this error a bit
astonishing:

# ksh -vx poo.ksh
date=0605
+ date=0605
((mm=${date}/100))
+ ((mm=0605/100))
echo ${mm}
+ echo 3
3
exit 0
+ exit 0

I get this result on SLES 10.


I just spotted this because someone's hijacked the thread, talking about
something irrelevant to it.

I generally use bc for arithmetic these days:

10:51 [sum...@bobtail ~]$ echo 0605/100|bc
6
10:51 [sum...@bobtail ~]$ mm=$(echo 0605/100|bc)
10:51 [sum...@bobtail ~]$ echo $mm
6
10:51 [sum...@bobtail ~]$

Read the docs, there's quite a deal more bc can do. Yes, I know it's
slower, but then it does bigger numbers and it does decimal arithmetic.

For the specific case above, bash (I don't know about zsh) does
substrings, and your task is actually string manipulation, not arithmetic.



--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: running NTP with Linux under z/VM

2009-10-29 Thread John Summerfield

Phil Tully wrote:

Sounds like Adam has gotten into the cough medicine again


Which reminds me, I've been thinking someone needs to remind me where
the Penguin Food site is.



--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Filemaker 10 on system Z Linux

2009-10-27 Thread John Summerfield

Mark Post wrote:

On 10/26/2009 at  1:54 PM, "Shockley, Gerard C"  wrote:

Anyone running Filemaker on LoZ?


I don't see how they would be, since it's Intel-AMD/PPC only and no source code 
is available.


And as far as I can tell, it's not available for Linux:
http://www.filemaker.com.au/support/downloads/index.html

http://filemakertoday.com/com/showthread.php?t=15779



--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Universal Binaries on Linux?

2009-10-27 Thread John Summerfield

Kirk Wolf wrote:

LSB is much more than standard file system layouts.
It allows you to build a common binary package (for a given processory
architecture) that can be installed on any LSB-compliant distro (with that
processor architecture).


Do people actually do that? When first I tried it (and I have done it),
I discovered  problems such as library versions. I wouldn't even try
taking a Fedora package to install on RHEL-clone, except maybe when the
two are in step, because I would anticipate that the Fedora version
would use new features of existing libraries, such as but not limited
to, glibc, and new libraries.



--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Universal Binaries on Linux?

2009-10-27 Thread John Summerfield

John Campbell wrote:

Data Segment being the same?  No, I don't see it happening *that*
well.  The BSS segment, no problem, but static data?

Anyone remember the nUxi problem?

Yes, I am referring to "byte sex" or "endianness".

Intel is small endian and pSeries/zSeries is large endian.  This


As I recall, the CPU can be either - when running OS/2 it was little-endian.


affects how data is laid down in the static data segment unless
there's an extra layer making memory access non-native.  (I once did
internals development/maintenance on Thoroughbred Business BASIC so I
know, when it comes to byte sex, whereof I speak.)

I *think* the "Universal" binaries for Mac OS X between the PowerPC
and x86 architectures have two copies of the code and something
special to re-map data, or, possibly, there's some concepts, like
ANDF, snarfed from OSF/1's model, where the loader does something
funky to the code on the way into RAM...  or, possibly, there's some
kind of translation that happens during final loading.



Apart from endian differences, I wonder about word size.

Are we all agreed on floating point these days?




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: VM-Linux

2009-10-22 Thread John Summerfield

Ron Wells wrote:

tried going to link and get page not found



From:
Richard Gasiorowski 
To:
LINUX-390@VM.MARIST.EDU
Date:
10/22/2009 02:46 PM
Subject:
Re: VM-Linux
Sent by:
Linux on 390 Port 



http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14297138&tstart=0



I can read it, try again?

--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Autoyast question

2009-10-21 Thread John Summerfield

Thang Pham wrote:

I cannot putty to the Linux.  On the 3270 session, I see a lot of these
messages:
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC= SRC=9.60.18.134
DST=239.255.255.253 LEN=
94 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=UDP SPT=36942 DPT=427 LEN=74
SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC= SRC=9.60.18.208
DST=239.255.255.253 LEN=
94 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=UDP SPT=43525 DPT=427 LEN=74


That's your firewall.

--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Kickstart question

2009-10-21 Thread John Summerfield

Brad Hinson wrote:






16:59:08 INFO: inserted /tmp/dasd_diag_mod.ko
16:59:08 INFO: inserted /tmp/dasd_fba_mod.ko
dasd_erp(3990):  0.0.0100: EXAMINE 24: No Record Found detected
dasd_erp(3990):  0.0.0101: EXAMINE 24: No Record Found detected


I remember them, we got them running OS/VS1, in the page datasets. IBM
engineers said, "It's software." Software folk said "It's hardware." VS1
didn't log them (eres). Eventually, we replaced the IBM 231[49] drives
with Memorex 3330-1 clones. Problem fixed.

I suppose the standoff might still continue.

--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: SLES11 and smartd

2009-10-20 Thread John Summerfield

David Boyes wrote:

On 10/20/09 4:34 AM, "John Summerfield" 
wrote:


David Boyes wrote:

If all we have are ECKD devices, can I turn smartd off ?

I did. Seems fine.

Hmm. I wonder if I could reformat the ERP data from ECKD devices into
something that smartd could grok? That might be fun...



Porting the package properly would work better.


I'm not sure I follow.  Could you explain?


A package that monitors the ECKD hardware and produces alerts, in a
similar manner to what the smartmon tools do, would work better. I doubt
that the ECKD data could be translated to SMART data without loss of
information.


--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: SLES11 and smartd

2009-10-20 Thread John Summerfield

David Boyes wrote:

If all we have are ECKD devices, can I turn smartd off ?


I did. Seems fine.

Hmm. I wonder if I could reformat the ERP data from ECKD devices into something 
that smartd could grok? That might be fun...



Porting the package properly would work better.

--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: TPC Replication and Linux

2009-10-20 Thread John Summerfield

Melancon, Ruddy wrote:

We are currently doing Global Mirroring creating a "consistency group" every 30 
seconds.  What impact will this have during a recovery situation when we implement zVM 
and zLinux.  The concern is in regard to Linux caching of output and the potential loss 
of disk metadata.  Can we be assured that Linux will recover during a disaster situation. 
 We do plan on doing a flashcopy of Linux volumes after placing the Linux images in 
single user mode.


The question of copying Linux filesystems while the system is live has
been debated here many times.

You cannot use external facilities to copy a Linux filesystem while it's
mounted, maybe even when it's mounted ro as even then,there may be some
filesystem errors corrected (for example, consider running fsck which
can only be run on a filesystem when it's mounted ro).

There is nothing an external device, such as a storage controller,
having any idea of what's in the Penguin's head.


I have cloned Linux filesystems while they're mounted, even when rw, and
got away with it, but then I wasn't betting the bank on it either. I'd
never do it for something where my future employment or bank deposits
were at risk.

I'm sure Google can help you find previous discussions. Key words to
look for include clone, backup, flashcopy, linux.






--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


opensuse

2009-10-15 Thread John Summerfield

I have just been idly looking around various SUSE/Novell ftp sites to
see what's on offer.

Something I found was bits of opensuse apparently built for Zeds.

Oi! I said, I've heard about Fedora on Zeds, so I headed off to
opensuse.org and had a quick look around there.

11.2 is almost out, see http://software.opensuse.org/developer/

I note that Power's not mentioned (but is supported for 11.1), and S390x
isn't mentioned either place.

Is opensuse planned for Zeds, or are some people just playing around,
preparing for SLE11 maybe?



--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Has anyone looked into a "console server"

2009-10-12 Thread John Summerfield

Scott Rohling wrote:

Hmmm..  maybe more like announcing your wife just stopped beating you?
;-)

Scott



Good news, whichever way you look at in.



On Thu, Oct 8, 2009 at 7:14 PM, Mark Post  wrote:


On 10/8/2009 at  6:19 PM, Shawn Wells  wrote:

-snip-

We've had this since RHEL 5.4 released earlier. for once, it's
Novell that needs to catch up ;)

Hopefully you realize that statement is very similar to announcing you've
just stopped beating your wife.  :)


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390



--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Multipathing for ECKD devices

2009-10-12 Thread John Summerfield

Sterling James wrote:

Has the ECKD dasd device driver in SLES11/Redhat 5.4 changed to provide
muiltipathing vs multipath?


Please, please, do not hijack threads.

Starting a new thread is really easy - just click on the list's email
address. It's way easier than clicking the "reply" button and then
cleaning out the trash.

Cleaning out the trash doesn't work well, either. Email clients use
special headers such as these to group related messages together:
Message-ID:

In-Reply-To:


Note that those are two headers, both taking two lines (on my screen).
The Message-ID is unique in the known universe. "In-Reply-To" can
reference many messages. You can't remove those headers.

Most email clients can be instructed to group related messages. This
process is called "threading." Threading gives users a shorter list of
messages, one per topic or thread. They can choose just those topics of
interest.

I don't know anything useful about "Multipathing for ECKD devices," but
I did want to read about "How to share files/disk between 2 LPARS."

If, instead, I was a guru on Multipathing and not in the least
interested in sharing between LPARs, I'd not have seen your question at
all and you'd miss out on guru help.



--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Windows emulation

2009-10-12 Thread John Summerfield

Patrick Spinler wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Boyes wrote:

(snipped good explanation of basic X11 forwarding)


Or use an ssh client with X11 forwarding turned on.  The combination of
putty and xming works well on windows, or (with a bit more fiddling)
cygwin ssh client and cygwin X11.




This is great fun!
From a system running X (such as Linux),
 ssh -X somehost
 startkde


A ROT for performance:
1 layer of emulation loses 90%.
Bear in mind you're using two layers of emulation. I suggest DOS/Win 3.1
for your first effort, or WI9{5,8}.

I'm sure it will work, and you might like to get some screen shots first
time.





--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: HELP's in

2009-10-06 Thread John Summerfield

John Summerfield wrote:

John Summerfield wrote:

John Summerfield wrote:

John Summerfield wrote:

John Summerfield wrote:

John Summerfield wrote:

Gary Cox wrote:

HELP


One upon a time Mr & Mrs Sin had a baby.


He was just a small Sin.


Over time, as babies do, he grew. He became a bigger Sin.


He joined the priesthood, and became Father Sin.



Years passed, and he found favour in the Church.


Eventually,


he became Cardinal Sin.

--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: HELP's in

2009-10-06 Thread John Summerfield

John Summerfield wrote:

John Summerfield wrote:

John Summerfield wrote:

John Summerfield wrote:

John Summerfield wrote:

Gary Cox wrote:

HELP


One upon a time Mr & Mrs Sin had a baby.


He was just a small Sin.


Over time, as babies do, he grew. He became a bigger Sin.


He joined the priesthood, and became Father Sin.



Years passed, and he found favour in the Church.


Eventually,

--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: HELP's in

2009-10-06 Thread John Summerfield

John Summerfield wrote:

John Summerfield wrote:

John Summerfield wrote:

John Summerfield wrote:

Gary Cox wrote:

HELP


One upon a time Mr & Mrs Sin had a baby.


He was just a small Sin.


Over time, as babies do, he grew. He became a bigger Sin.


He joined the priesthood, and became Father Sin.



Years passed, and he found favour in the Church.


--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: HELP's in

2009-10-06 Thread John Summerfield

John Summerfield wrote:

John Summerfield wrote:

John Summerfield wrote:

Gary Cox wrote:

HELP


One upon a time Mr & Mrs Sin had a baby.


He was just a small Sin.


Over time, as babies do, he grew. He became a bigger Sin.


He joined the priesthood, and became Father Sin.



--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: HELP's in

2009-10-06 Thread John Summerfield

John Summerfield wrote:

John Summerfield wrote:

Gary Cox wrote:

HELP


One upon a time Mr & Mrs Sin had a baby.


He was just a small Sin.


Over time, as babies do, he grew. He became a bigger Sin.

--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: HELP's in

2009-10-06 Thread John Summerfield

John Summerfield wrote:

Gary Cox wrote:

HELP


One upon a time Mr & Mrs Sin had a baby.


He as just a small Sin.

--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: HELP's in

2009-10-06 Thread John Summerfield

Gary Cox wrote:

HELP


One upon a time Mr & Mrs Sin had a baby.


--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Using IPTABLES in SLES10 (NAT)

2009-10-06 Thread John Summerfield

Samir Reddahi wrote:

Hi Florian,

You can use the boot.local (/etc/init.d/boot.local) to add the commands.
The boot.local is executed right before the runlevel change.



That sounds like The Wrong Way.

If you use the SUSE firewall tools, it's best to use them properly, not
work around things you don't understand. How would your successor be
able to do it.

I use RHEL-clone and Debian with shorewall, and not SLES much at all so
  I can't really comment on specifics, but I have the impression that
some other parts of SLES expect the firewall scripts to work in a
certain way, so substituting others may not be practical. OTHO SUSE
configuration tools are, in my estimation, generally better than RH's,
and Debian doesn't assume one uses a firewall at all (but provides
several tools for managing them).

In your position, I'd start by reading the documentation. All of it.



--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Novell iPrint Server using SLES on System z?

2009-10-06 Thread John Summerfield

Eugene Carter wrote:

Greeting Listers...

I have been getting plenty of questions within our organization lately
regarding the support capabilities of the zLinux environment for a variety
of service and infrastructure applications we employone of the latest
is Novell's iPrint (which we are a heavy user of)



In each case you should ask the question of the supplier[1], Novell in
this instance, and since Novell is involved I would also ask SUSE.

Only the software supplier can give a definitive answer (unless you find
happy users), and by _formally_ asking the supplier you go to establish
the need, a "no" now may become a "yes" in the future.

[1] I don't think it would hurt to ask, in the case the answer's "no,"
for suggested alternatives.


--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: emulating a z/OS DDNAME dataset concatenation in Linux

2009-10-06 Thread John Summerfield

John McKown wrote:

I'm a z/OS (and back to OS/VS1) type person. I don't know of any way to


I remember PCP, MFT and MVT[-)


do this as I think you want to. What I assume is that you basically want
to do one open() type function, and have the run time give you the
records from the file(s) in the concatenation without any more work on
your part anod only get an eof() indication at the end of the last file.
Now, I can envision writing a subroutine to do this, but I don't know of
one built in to, say, glibc. Now Perl does this if you do something
like:



I haven;t seen anyone offer a suggestion that will work for a program
that expects one input file that is not stdin. I think this does what
you want.


fred <(cat lots of files)

It's called "process substitution." and you can read all about it in the
bash manpage. The above example is a special case, one could also filter
input (using grep maybe) or generate a report from a database
(postgresql and psql perhaps), and the analogue for writing also works.






#!/bin/perl
while (<>) {
  print $_;
}

and invoke it:

perl -f program.pl file1.txt file2.data

it will read file1.txt and file2.data in that while() loop. But
something like C or Java generally won't.


On Thu, 2009-10-01 at 22:08, BISHOP, Peter wrote:

Hi,
I've searched around and drawn a blank.  What I'm wondering is whether there is 
a method in Linux that emulates a z/OS DDNAME's facility of allowing multiple 
datasets to be concatenated and effectively treated as one file.

I looked at symbolic links, the "cat" command, variants of the "mount" command, 
but didn't see anything clearly supporting this.  The ability supported by the DDNAME concept of 
not needing to copy the files to concatenate them is important as we want to avoid as much overhead 
as possible.

What we'd like to do is run a job on zLinux that accesses multiple z/OS datasets in one 
"file", as is done with the DDNAME concept with z/OS JCL.

Can NFS in some way support this?  I think NFS will only use the "mount" 
command anyway, but has it another route than that?

Thanks in advance for any help you can offer.
Best regards
Peter


Peter Bishop
HP Enterprise Services Asia Pacific South Mainframe Capability & Engineering
+61 2 9012 5147 office | +61 2 9012 6620 fax | peter.bis...@hp.com
36-46 George St | Burwood | NSW 2134 Australia

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Adam is moving on...

2009-10-06 Thread John Summerfield

Adam Thornton wrote:

Some of you know this already, and some of you don't:

Last month, I was offered a great opportunity at another organization
that will allow me to focus my career in a way I have been interested
in for quite a while. I accepted that position, knowing that my
customers at SNA would be in good hands after I left. As a result,
this Friday is my last day with SNA.  Sine Nomine and its owners have
been quite supportive of my move, for which I am very grateful.


Have fun!



--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Linux and z/VM Wiki

2009-09-26 Thread John Summerfield

David Boyes wrote:

No, I understood what he meant. I was expressing a sincere dislike for
diluting the discussion here with Yet Another Place to check for
things that interest me.

Doing the discussion using the discussion tools in Mediawiki is a
significant step backward in function in that I have to use their
editor and their encoding, and I can't take advantage of any of the
editing and indexing tools I've developed over the years, The MW
editor is really crude and not really very well adapted to keyboard-
oriented users.

I guess I'm just getting less tolerant of things that use my time
unwisely. I'd like to contribute, but the tools are so far away from
what I spend most of my day doing that there's a lot of impact to how
effective I can be. I could write comments and stuff in text files and
then upload it, but at that point I might as well just post it to this
list.

It's a useful project. I just don't think the discussion tools in the
wiki are very good.


Good or not, they can provide a record of why things were done and why
they were done the way that were.

On a list, discussion can peter out quit quickly, even when a matter
remains unresolved, errors will never be corrected if they're not
corrected quickly, and out of date information is never updated. Even
the diligent can get out-o-date information.

A discussion thread I know of on the woodwork forums has been running
for five years or so. It describes some problems with a particular piece
of machinery, and fixes for those problems. As the model was improved
("engineering changes") the information has been updated. That kind of
maintenance cannot work on a list like this. Such a discussion about an
ongoing product (eg a wiki) has some advantages over a list, especially
a general list such as this.

The woodwork forum is hosted with vbulletin, and it's normal that
participants in a thread get notification of updates to threads they
have participated in, and one can also subscribe to threads without
posting to them.

If someone wants to participate in the maintenance of the wiki, they
should establish a regular time, maybe once a week, to have a look at
what discussions are taking place. It won't have the same kind of
responsiveness as a list, but short response times are not always an
advantage.


--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Linux and z/VM Wiki

2009-09-24 Thread John Summerfield

Mark Post wrote:

On 9/23/2009 at  1:36 AM, "Douglas M. Wooster"  wrote:

-snip-

I'm sure one could use a Wiki as a discussion
forum, but it really seems better suited to developing, storing, and
searching reference material.


I'm not sure how this meme got started, but nobody is advocating moving general 
discussion from the mailing list to the Wiki.  What I _did_ say/mean was that 
as the Wiki grows, I would like to see the discussion of what content goes 
where (organization/structure),  what other topics are needed, what existing 
topics need editing, etc., happen on the Talk pages of the Wiki itself, not 
here.  Until the number of people actively contributing to the Wiki reaches 
whatever critical mass is necessary, most of that discussion is going to have 
to happen in this mailing list.  That's a significant difference, obviously, 
and one that I believe respects the time of the people on the list that aren't 
going to be interested in such minutiae.


Being able to place documentation
where other people can find it, like you can do on a wiki, is great,
when you have something authoritative to say.


Given the population of this mailing list, I can't think of any more authoritative 
source.  Everyone from the people doing actual z/VM and Linux development, to the 
distribution providers, to the "old hands" at z/VM and Linux, to the brand new 
person is represented here.







Seems db misinterpreted something Jack Woehr said, then some of the
others of us took it further off the rails.

David, Jack was referring to the discussion of the wiki itself when he
was talking about discussion on the wiki.

Mark, I think that if discussion of the wiki on the wiki could be
mirrored to this list, at least for a while, that might be of interest
to others and maybe inspire a few, "I can do that!"


--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Linux and z/VM Wiki

2009-09-24 Thread John Summerfield

Mark Post wrote:

Cross-posted to Linux-390, IBMVM, and IBM-Main

The idea of having a Wiki (http://dictionary.reference.com/browse/wiki) for mainframe 
Linux and z/VM has been floating around for some time.  It was thought that having a Wiki 
with a fair amount of content already in it would help it reach a "critical 
mass" of usability far sooner than might otherwise happen.  A fair amount of 
behind-the-scenes work has been done over the last couple of years to make that happen, 
without much success.


One can easily get the idea you're talking about Linux on VM. Consider
making it clearer that Linux on VM is only part of the story, Linux on
zHardware (is s/390 sufficiently matured yet to be excluded?) and Linux
on Hercules could both find homes there.



--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Linux and z/VM Wiki

2009-09-24 Thread John Summerfield

Mark Post wrote:


There are a few rules, for lack of a better term, that will apply to the Wiki, 
none of them particularly onerous:
   1.  Although technically not required, we would prefer that anyone 
contributing to the wiki create an account before doing so.


You should insist on this.

I've installed Drupal at isay.js.id.au and done a little, but not much,
to publicise it.

There is nothing to prevent people from trying to create accounts, and a
few people have done so.

Because this is all new to me, I decided that account creations would
have to be approved. Very glad I am. So far, I have approved one account
and denied lots.

Reasons for denial:
1. The software sends email to the email address provided. A lot has
bounced.

2. I Google user names and email addresses, initially from idle
curiosity. I've found some usernames enrolled at other sites, sometimes
in the same timeframe. Some names and domain names are associated with
spammers.

The one I approved was apparently by a young Indian (not North
American!) woman recently graduated from an Indian university. I thought
she might have some useful contributions to make. She's not been back.

I've decided I'd like Drupal to record the IP address associated with
new enrollments (and maybe other activity, and the ability to block some
locations. Proxies for example. Someone might claim to be located in
Russia, but that doesn't mean they are.

I suggest that you too moderate enrollments. Maybe you could also
_require_ people to outline why they want an account - that should halt
any bots in their tracks. If you solicit enrollments from a
cyberlocation such as this list, ask people to choose account names and
provide other information that would help you recognise them. I someone
claiming to be John Campbell and having experience in AIX, likely you'd
say, "Oh, that John Campbell. Welcome!"


--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Linux and z/VM Wiki

2009-09-23 Thread John Summerfield

Jack Woehr wrote:

John Summerfield wrote:

Who should, sensibly, assume that this site speaks for any part of the
Linux community?

Well, the Linux on z/VM community. It needs a wiki. It's a good idea.



It's a shame you quoted me without context.

--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


  1   2   3   4   5   6   7   8   9   10   >