From ebiederm@aristanetworks.com Mon Oct 5 10:10:41 2009 Received: from mail-pz0-f192.google.com (mail-pz0-f192.google.com [209.85.222.192]) by underdog.stansell.org (8.14.3/8.14.3) with ESMTP id n95AAY0n024272; Mon, 5 Oct 2009 10:10:40 GMT Received: by pzk30 with SMTP id 30so2854226pzk.24 for ; Mon, 05 Oct 2009 03:10:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.120.1 with SMTP id s1mr560516wfc.245.1254737434533; Mon, 05 Oct 2009 03:10:34 -0700 (PDT) Date: Mon, 5 Oct 2009 03:10:34 -0700 Message-ID: Subject: [PATCH] Install man pages read-only From: Eric Biederman To: users@conserver.com, Bryan Stansell Content-Type: multipart/mixed; boundary=001636e0b9c6125e5c04752d53dd X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 10:10:41 -0000 --001636e0b9c6125e5c04752d53dd Content-Type: text/plain; charset=ISO-8859-1 With the release of conserver-8.1.17 I went back through our patch queue and I found this minor patch that has not made it's way into conserver. Eric --001636e0b9c6125e5c04752d53dd Content-Type: text/x-patch; charset=US-ASCII; name="conserver-8.1.17-manperms.patch" Content-Disposition: attachment; filename="conserver-8.1.17-manperms.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g0f24u4f0 RG9uJ3QgaW5zdGFsbCBtYW4gcGFnZXMgYXMgZXhlY3V0YWJsZS4KCi0tLQpkaWZmIC11ciBjb25z ZXJ2ZXItOC4xLjE3L2NvbnNlcnZlci9NYWtlZmlsZS5pbiBjb25zZXJ2ZXItOC4xLjE3LW1hbnBl cm1zL2NvbnNlcnZlci9NYWtlZmlsZS5pbgotLS0gY29uc2VydmVyLTguMS4xNy9jb25zZXJ2ZXIv TWFrZWZpbGUuaW4JMjAwNS0wNi0wNiAxMTowMzowNi4wMDAwMDAwMDAgLTA0MDAKKysrIGNvbnNl cnZlci04LjEuMTctbWFucGVybXMvY29uc2VydmVyL01ha2VmaWxlLmluCTIwMDktMTAtMDUgMDU6 Mjg6NTkuODQyNjE4OTE4IC0wNDAwCkBAIC02Miw3ICs2Miw3IEBACiAJJChNS0RJUikgJChERVNU RElSKSQoc2JpbmRpcikKIAkkKElOU1RBTExfUFJPR1JBTSkgY29uc2VydmVyICQoREVTVERJUikk KHNiaW5kaXIpCiAJJChNS0RJUikgJChERVNURElSKSQobWFuZGlyKS9tYW44Ci0JJChJTlNUQUxM KSBjb25zZXJ2ZXIubWFuICQoREVTVERJUikkKG1hbmRpcikvbWFuOC9jb25zZXJ2ZXIuOAorCSQo SU5TVEFMTCkgLW0gMDY0NCBjb25zZXJ2ZXIubWFuICQoREVTVERJUikkKG1hbmRpcikvbWFuOC9j b25zZXJ2ZXIuOAogCSQoTUtESVIpICQoREVTVERJUikkKGV4YW1wbGVkaXIpCiAJJChJTlNUQUxM KSBjb25zZXJ2ZXIucmMgJChERVNURElSKSQoZXhhbXBsZWRpcikKIAkkKE1LRElSKSAkKERFU1RE SVIpJChwa2dsaWJkaXIpCk9ubHkgaW4gY29uc2VydmVyLTguMS4xNy1tYW5wZXJtcy9jb25zZXJ2 ZXI6IE1ha2VmaWxlLmlufgpPbmx5IGluIGNvbnNlcnZlci04LjEuMTctbWFucGVybXMvY29uc2Vy dmVyOiBNYWtlZmlsZS5pbi5vcmlnCmRpZmYgLXVyIGNvbnNlcnZlci04LjEuMTcvY29uc2VydmVy LmNmL01ha2VmaWxlLmluIGNvbnNlcnZlci04LjEuMTctbWFucGVybXMvY29uc2VydmVyLmNmL01h a2VmaWxlLmluCi0tLSBjb25zZXJ2ZXItOC4xLjE3L2NvbnNlcnZlci5jZi9NYWtlZmlsZS5pbgky MDA0LTAyLTA5IDE5OjMyOjI4LjAwMDAwMDAwMCAtMDUwMAorKysgY29uc2VydmVyLTguMS4xNy1t YW5wZXJtcy9jb25zZXJ2ZXIuY2YvTWFrZWZpbGUuaW4JMjAwOS0xMC0wNSAwNToyOTozMS42OTA2 MTkyNDUgLTA0MDAKQEAgLTI0LDggKzI0LDggQEAKIAogaW5zdGFsbDoKIAkkKE1LRElSKSAkKERF U1RESVIpJChtYW5kaXIpL21hbjUKLQkkKElOU1RBTEwpIGNvbnNlcnZlci5jZi5tYW4gJChERVNU RElSKSQobWFuZGlyKS9tYW41L2NvbnNlcnZlci5jZi41Ci0JJChJTlNUQUxMKSBjb25zZXJ2ZXIu cGFzc3dkLm1hbiAkKERFU1RESVIpJChtYW5kaXIpL21hbjUvY29uc2VydmVyLnBhc3N3ZC41CisJ JChJTlNUQUxMKSAtbSAwNjQ0IGNvbnNlcnZlci5jZi5tYW4gJChERVNURElSKSQobWFuZGlyKS9t YW41L2NvbnNlcnZlci5jZi41CisJJChJTlNUQUxMKSAtbSAwNjQ0IGNvbnNlcnZlci5wYXNzd2Qu bWFuICQoREVTVERJUikkKG1hbmRpcikvbWFuNS9jb25zZXJ2ZXIucGFzc3dkLjUKIAkkKE1LRElS KSAkKERFU1RESVIpJChleGFtcGxlZGlyKQogCSQoSU5TVEFMTCkgLW0gMDY0NCBjb25zZXJ2ZXIu Y2YgJChERVNURElSKSQoZXhhbXBsZWRpcikKIAkkKElOU1RBTEwpIC1tIDA2NDQgY29uc2VydmVy LnBhc3N3ZCAkKERFU1RESVIpJChleGFtcGxlZGlyKQpPbmx5IGluIGNvbnNlcnZlci04LjEuMTct bWFucGVybXMvY29uc2VydmVyLmNmOiBNYWtlZmlsZS5pbn4KT25seSBpbiBjb25zZXJ2ZXItOC4x LjE3LW1hbnBlcm1zL2NvbnNlcnZlci5jZjogTWFrZWZpbGUuaW4ub3JpZwpkaWZmIC11ciBjb25z ZXJ2ZXItOC4xLjE3L2NvbnNvbGUvTWFrZWZpbGUuaW4gY29uc2VydmVyLTguMS4xNy1tYW5wZXJt cy9jb25zb2xlL01ha2VmaWxlLmluCi0tLSBjb25zZXJ2ZXItOC4xLjE3L2NvbnNvbGUvTWFrZWZp bGUuaW4JMjAwNC0wNS0xMiAxNzowMjoxMy4wMDAwMDAwMDAgLTA0MDAKKysrIGNvbnNlcnZlci04 LjEuMTctbWFucGVybXMvY29uc29sZS9NYWtlZmlsZS5pbgkyMDA5LTEwLTA1IDA1OjI3OjUwLjQw NzEwMDU3MSAtMDQwMApAQCAtNTYsNiArNTYsNiBAQAogCSQoTUtESVIpICQoREVTVERJUikkKGJp bmRpcikKIAkkKElOU1RBTExfUFJPR1JBTSkgY29uc29sZSAkKERFU1RESVIpJChiaW5kaXIpCiAJ JChNS0RJUikgJChERVNURElSKSQobWFuZGlyKS9tYW4xCi0JJChJTlNUQUxMKSBjb25zb2xlLm1h biAkKERFU1RESVIpJChtYW5kaXIpL21hbjEvY29uc29sZS4xCisJJChJTlNUQUxMKSAtbSAwNjQ0 IGNvbnNvbGUubWFuICQoREVTVERJUikkKG1hbmRpcikvbWFuMS9jb25zb2xlLjEKIAogLlBIT05Z OiBjbGVhbiBkaXN0Y2xlYW4gaW5zdGFsbAo= --001636e0b9c6125e5c04752d53dd-- From ebiederm@aristanetworks.com Mon Oct 5 10:16:22 2009 Received: from mail-px0-f202.google.com (mail-px0-f202.google.com [209.85.216.202]) by underdog.stansell.org (8.14.3/8.14.3) with ESMTP id n95AGGq5024395; Mon, 5 Oct 2009 10:16:21 GMT Received: by pxi40 with SMTP id 40so3063207pxi.24 for ; Mon, 05 Oct 2009 03:16:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.143.25.38 with SMTP id c38mr560205wfj.253.1254737776482; Mon, 05 Oct 2009 03:16:16 -0700 (PDT) Date: Mon, 5 Oct 2009 03:16:16 -0700 Message-ID: Subject: [PATCH] Spruce up the conserver init.d script From: Eric Biederman To: users@conserver.com, Bryan Stansell Content-Type: multipart/mixed; boundary=001636e1f9387419de04752d6786 X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 10:16:22 -0000 --001636e1f9387419de04752d6786 Content-Type: text/plain; charset=ISO-8859-1 Another patch we have been carrying that hasn't made it up to conserver. - Add basic error handling - Rename the current restart reload - Implement a true restart Eric --001636e1f9387419de04752d6786 Content-Type: text/x-patch; charset=US-ASCII; name="conserver-8.1.17-initscript.patch" Content-Disposition: attachment; filename="conserver-8.1.17-initscript.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g0f2b6en1 QWRkIGVycm9yIGhhbmRsaW5nLgptYWtlIHJlc3RhcnQgYWN0dWFsbHkgZm9yY2UgYSByZXN0YXJ0 IG9mIGNvbnNlcnZlci4KbWFrZSByZWxvYWQgc2ltcGx5IHJlbG9hZCBjb25zZXJ2ZXJzIGNvbmZp Z3VyYXRpb24uCgotLS0KZGlmZiAtdXIgY29uc2VydmVyLTguMS4xNy9jb250cmliL3JlZGhhdC1y cG0vY29uc2VydmVyLmluaXQgY29uc2VydmVyLTguMS4xNy1pbml0c2NyaXB0L2NvbnRyaWIvcmVk aGF0LXJwbS9jb25zZXJ2ZXIuaW5pdAotLS0gY29uc2VydmVyLTguMS4xNy9jb250cmliL3JlZGhh dC1ycG0vY29uc2VydmVyLmluaXQJMjAwOS0wOS0yNyAwMjoxNToxNi4wMDAwMDAwMDAgLTA0MDAK KysrIGNvbnNlcnZlci04LjEuMTctaW5pdHNjcmlwdC9jb250cmliL3JlZGhhdC1ycG0vY29uc2Vy dmVyLmluaXQJMjAwOS0xMC0wNSAwNToxMzo0MC45MjY2MTk3MzQgLTA0MDAKQEAgLTI1LDMxICsy NSw0OCBAQAogWyAteCAkREFFTU9OICBdIHx8IGV4aXQgMQogCiAKK3N0YXJ0KCkKK3sKKwllY2hv IC1uICJTdGFydGluZyBjb25zZXJ2ZXI6ICIKKwlkYWVtb24gLS11c2VyICIke1JVTkFTLX0iICRE QUVNT04gJHtPUFRJT05TLS1kfQorCVJFVFZBTD0kPworCVsgIiRSRVRWQUwiID0gMCBdICYmIHRv dWNoIC92YXIvbG9jay9zdWJzeXMvY29uc2VydmVyCisJZWNobworfQorCitzdG9wKCkKK3sKKwll Y2hvIC1uICJTaHV0dGluZyBkb3duIGNvbnNlcnZlcjogIgorCWtpbGxwcm9jIGNvbnNlcnZlcgor CVJFVFZBTD0kPworCVsgIiRSRVRWQUwiID0gMCBdICYmIHJtIC1mIC92YXIvbG9jay9zdWJzeXMv Y29uc2VydmVyCisJZWNobworfQorICAKICMgU2VlIGhvdyB3ZSB3ZXJlIGNhbGxlZC4KIGNhc2Ug IiQxIiBpbgogICBzdGFydCkKLSAgICBlY2hvIC1uICJTdGFydGluZyBjb25zZXJ2ZXI6ICIKLSAg ICBkYWVtb24gLS11c2VyICIke1JVTkFTLX0iICREQUVNT04gJHtPUFRJT05TLS1kfQotICAgIGVj aG8KLSAgICB0b3VjaCAvdmFyL2xvY2svc3Vic3lzL2NvbnNlcnZlcgorICAgIHN0YXJ0CiAgICAg OzsKICAgc3RvcCkKLSAgICBlY2hvIC1uICJTaHV0dGluZyBkb3duIGNvbnNlcnZlcjogIgotICAg IGtpbGxwcm9jIGNvbnNlcnZlcgotICAgIGVjaG8KLSAgICBybSAtZiAvdmFyL2xvY2svc3Vic3lz L2NvbnNlcnZlcgorICAgIHN0b3AKICAgICA7OwogICBzdGF0dXMpCiAgICAgc3RhdHVzIGNvbnNl cnZlcgogICAgIDs7CiAgIHJlc3RhcnQpCi0gICAgZWNobyAtbiAiUmVzdGFydGluZyBjb25zZXJ2 ZXI6ICIKKyAgICBzdG9wCisgICAgc3RhcnQKKyAgICA7OworICByZWxvYWQpCisgICAgZWNobyAt biAiUmVsb2FkaW5nIGNvbnNlcnZlcjogIgogICAgIGtpbGxwcm9jIGNvbnNlcnZlciAtSFVQCisg ICAgUkVUVkFMPSQ/CiAgICAgZWNobwogICAgIDs7CiAgICopCi0gICAgZWNobyAiVXNhZ2U6IGNv bnNlcnZlciB7c3RhcnR8c3RvcHxyZXN0YXJ0fHN0YXR1c30iCi0gICAgZXhpdCAxCisgICAgZWNo byAiVXNhZ2U6IGNvbnNlcnZlciB7c3RhcnR8c3RvcHxyZXN0YXJ0fHJlbG9hZHxzdGF0dXN9Igor ICAgIFJFVFZBTD0xCiBlc2FjCiAKLWV4aXQgMAorZXhpdCAkUkVUVkFMCg== --001636e1f9387419de04752d6786-- From ebiederm@aristanetworks.com Mon Oct 5 10:24:52 2009 Received: from mail-pz0-f192.google.com (mail-pz0-f192.google.com [209.85.222.192]) by underdog.stansell.org (8.14.3/8.14.3) with ESMTP id n95AOlQ1024541; Mon, 5 Oct 2009 10:24:52 GMT Received: by pzk30 with SMTP id 30so2862428pzk.24 for ; Mon, 05 Oct 2009 03:24:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.249.7 with SMTP id w7mr582069wfh.317.1254738286678; Mon, 05 Oct 2009 03:24:46 -0700 (PDT) In-Reply-To: <20090929153759.GT13259@underdog.stansell.org> References: <20090929153759.GT13259@underdog.stansell.org> Date: Mon, 5 Oct 2009 03:24:46 -0700 Message-ID: Subject: Re: conserver-8.1.17 is available From: Eric Biederman To: Bryan Stansell Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 10:24:52 -0000 On Tue, Sep 29, 2009 at 8:37 AM, Bryan Stansell wrote: > There are one or two features I haven't implemented that I've been > thinking about, but for consistency, I'd love to have an email > reinforcing the desire for any missing features as well. I don't know if it makes your list of interesting things to work on. The one feature we don't have but would use if conserver implemented it would be the ability to change the baud rate for the consoles on the fly. Currently we do conserver -i and find the device node. Then ssh to the box and use stty to change the baud rate. Which works. It is just a little clumsy. Eric From woods@once.weird.com Fri Oct 9 18:13:01 2009 Received: from most.weird.com (most.weird.com [204.92.254.2]) by underdog.stansell.org (8.14.3/8.14.3) with ESMTP id n99ICrjX015487; Fri, 9 Oct 2009 18:12:59 GMT Received: from once.weird.com ([204.92.254.13] port=58721) by most.weird.com([204.92.254.2] port=25) via TCP with esmtp (2679 bytes) (sender: ) (ident using rfc1413) id for ; Fri, 9 Oct 2009 14:12:50 -0400 (EDT) (Smail-3.2.0.122-Pre 2005-Nov-17 #1 built 2009-Feb-3) Message-Id: Date: Fri, 09 Oct 2009 14:12:46 -0400 From: "Greg A. Woods" To: Eric Biederman Subject: Re: conserver-8.1.17 is available In-Reply-To: References: <20090929153759.GT13259@underdog.stansell.org> User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.7 Emacs/22.3 (i386--netbsdelf) MULE/5.0 (SAKAKI) X-Face: ; j3Eth2XV8h1Yfu*uL{<:dQ$#E[DB0gemGZJ"J#4fH*][ lz; @-iwMv_u\6uIEKR0KY"=MzoQH#CrqBN`nG_5B@rrM8,f~Gr&h5a\=, Bryan Stansell X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ConServer User's Mailing List List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2009 18:13:02 -0000 --pgp-sign-Multipart_Fri_Oct__9_14:12:46_2009-1 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable At Mon, 5 Oct 2009 03:24:46 -0700, Eric Biederman wrote: Subject: Re: conserver-8.1.17 is available > > The one feature we don't have but would use if conserver implemented > it would be the ability to change the baud rate for the consoles on > the fly. I haven't tried this, but if I'm not mistaken given my reading of the code, all TTY parameters for real TTY devices are set on both load and reload, so you should just have to change the config file and trigger a reload by the conserver daemon. -- Greg A. Woods +1 416 218-0098 VE3TCP RoboHack Planix, Inc. Secrets of the Weird --pgp-sign-Multipart_Fri_Oct__9_14:12:46_2009-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (NetBSD) iD8DBQBKz30eYntfFMJZx4URAr7WAKDrLaDKzbi/33KkEQsTqc0yeS6PIACg6mxK 4C/5t2RZAF40yBpKkohFiMk= =pPeL -----END PGP SIGNATURE----- --pgp-sign-Multipart_Fri_Oct__9_14:12:46_2009-1-- From wxp@cn.ibm.com Fri Oct 9 20:07:07 2009 Received: from e23smtp05.au.ibm.com (e23smtp05.au.ibm.com [202.81.31.147]) by underdog.stansell.org (8.14.3/8.14.3) with ESMTP id n99K6xrc018358 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 9 Oct 2009 20:07:06 GMT Received: from d23relay05.au.ibm.com (d23relay05.au.ibm.com [202.81.31.247]) by e23smtp05.au.ibm.com (8.14.3/8.13.1) with ESMTP id n99K4Cp8026246 for ; Sat, 10 Oct 2009 07:04:12 +1100 Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.235.138]) by d23relay05.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id n99K4PMv1531956 for ; Sat, 10 Oct 2009 07:04:26 +1100 Received: from d23av02.au.ibm.com (loopback [127.0.0.1]) by d23av02.au.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id n99K6uEH009409 for ; Sat, 10 Oct 2009 07:06:56 +1100 Received: from d23m0037.cn.ibm.com (d23m0037.cn.ibm.com [9.181.2.105]) by d23av02.au.ibm.com (8.14.3/8.13.1/NCO v10.0 AVin) with ESMTP id n99K6u3Y009395 for ; Sat, 10 Oct 2009 07:06:56 +1100 Subject: Xiao Peng Wang is on vacation. Auto-Submitted: auto-generated From: Xiao Peng Wang To: "ConServer User's Mailing List" Message-ID: Date: Sat, 10 Oct 2009 04:07:01 +0800 X-MIMETrack: Serialize by Router on D23M0037/23/M/IBM(Release 8.0.1|February 07, 2008) at 10/10/2009 04:07:03 MIME-Version: 1.0 Content-type: multipart/alternative; Boundary="0__=C7BBFCD9DFFD073C8f9e8a93df938690918cC7BBFCD9DFFD073C" Content-Disposition: inline X-Spam-Score: -2.311 () BAYES_00,HTML_MESSAGE X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2009 20:07:07 -0000 --0__=C7BBFCD9DFFD073C8f9e8a93df938690918cC7BBFCD9DFFD073C Content-type: text/plain; charset=US-ASCII I will be out of the office starting 2009-09-28 and will not return until 2009-10-12. If you have urgent thing, Guang Cheng Li is my backup. --0__=C7BBFCD9DFFD073C8f9e8a93df938690918cC7BBFCD9DFFD073C Content-type: text/html; charset=US-ASCII Content-Disposition: inline

I will be out of the office starting 2009-09-28 and will not return until 2009-10-12.

If you have urgent thing, Guang Cheng Li is my backup. --0__=C7BBFCD9DFFD073C8f9e8a93df938690918cC7BBFCD9DFFD073C-- From andras.horvath@cern.ch Mon Oct 12 08:44:04 2009 Received: from cernmx20.cern.ch (cernmx20.cern.ch [137.138.166.184]) by underdog.stansell.org (8.14.3/8.14.3) with ESMTP id n9C8huWK006692 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=FAIL) for ; Mon, 12 Oct 2009 08:44:03 GMT Received: from pcitadc01.cern.ch (137.138.33.142) by cernmxlb.cern.ch (137.138.166.163) with Microsoft SMTP Server id 8.2.176.0; Mon, 12 Oct 2009 10:43:54 +0200 Received: by pcitadc01.cern.ch (Postfix, from userid 1000) id DDFA414DC1BF; Mon, 12 Oct 2009 10:43:54 +0200 (CEST) Date: Mon, 12 Oct 2009 10:43:54 +0200 From: To: Subject: [PATCH] telnet negotiation Message-ID: <20091012084354.GD9121@cern.ch> Mail-Followup-To: users@conserver.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Oct 2009 08:44:04 -0000 --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset="iso-8859-2" Content-Disposition: inline Hi, I'm forwarding this patch on behalf of Nicolas De Metz-Noblat who has been using conserver-8.1.15 to handle the consoles of ~1000 VME Single Board processors and PCs, using terminal concentrators. Quoting: > However, I was suffering from an abnormal systematic delay for the echo > when using the Wiener UEL6020 fan tray unit for VME or CompactPCI > crate as telnet reverse terminal server ( > http://www.wiener-d.com/products/44/66.html ) -while I did not had > that effect with my old tools. > > The problem comes from the fact that conserver do not initiate any > telnet negociation when establishing its connection. Attached patch - > forcing telnet ECHO and SGA - seems to cure the problem. Cheers, Andras Horvath --Dxnq1zWXvFF0Q93v Content-Type: text/x-diff; charset="iso-8859-2" Content-Disposition: attachment; filename="conserver-8.1.15-telnet.patch" diff -urN conserver-8.1.15.orig/conserver/consent.c conserver-8.1.15/conserver/consent.c --- conserver-8.1.15.orig/conserver/consent.c 2006-06-17 04:03:15.000000000 +0200 +++ conserver-8.1.15/conserver/consent.c 2009-07-31 10:42:15.000000000 +0200 @@ -49,6 +49,7 @@ #include #include #include +#include BAUD baud[] = { @@ -928,6 +929,12 @@ if (ret == 0) { pCE->ioState = ISNORMAL; pCE->stateTimer = 0; + PutConsole(pCE, IAC, 2); + PutConsole(pCE, DO, 2); + PutConsole(pCE, TELOPT_ECHO, 2); + PutConsole(pCE, IAC, 2); + PutConsole(pCE, DO, 2); + PutConsole(pCE, TELOPT_SGA, 2); } else { pCE->ioState = INCONNECT; pCE->stateTimer = time((time_t *)0) + CONNECTTIMEOUT; diff -urN conserver-8.1.15.orig/conserver/group.c conserver-8.1.15/conserver/group.c --- conserver-8.1.15.orig/conserver/group.c 2006-06-17 04:02:00.000000000 +0200 +++ conserver-8.1.15/conserver/group.c 2009-07-31 10:51:15.000000000 +0200 @@ -4535,6 +4535,14 @@ } SendIWaitClientsMsg(pCEServing, "up]\r\n"); StartInit(pCEServing); + if (pCEServing->type == HOST) { + PutConsole(pCEServing, IAC, 2); + PutConsole(pCEServing, DO, 2); + PutConsole(pCEServing, TELOPT_ECHO, 2); + PutConsole(pCEServing, IAC, 2); + PutConsole(pCEServing, DO, 2); + PutConsole(pCEServing, TELOPT_SGA, 2); + } } break; case ISNORMAL: --Dxnq1zWXvFF0Q93v-- From jodok.muellers@aschendorff.de Wed Oct 14 12:03:11 2009 Received: from mail.print.wnonline.de (mail.print.wnonline.de [195.66.76.20]) by underdog.stansell.org (8.14.3/8.14.3) with ESMTP id n9EC34ex018683 for ; Wed, 14 Oct 2009 12:03:10 GMT Date: Wed, 14 Oct 2009 14:03:01 +0200 From: Jodok Ole Muellers To: users@conserver.com Subject: Re: 8.1.17 spec file issue Message-ID: <20091014140301.18450174@jodok.aschendorff.de> In-Reply-To: <20090929201753.GO19707@faxm0dem.org> References: <20090929201753.GO19707@faxm0dem.org> Organization: Aschendorff Medien GmbH X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.12; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/KsgZX_5wm4dmv7FQLhmtFEF" X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Oct 2009 12:03:11 -0000 --MP_/KsgZX_5wm4dmv7FQLhmtFEF Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, I modified the spec file to generate two sub packages conserver-client and conserver-server Because we run a lot of clients that need to run the "console" binary but no need to run the conserver daemon. Can somebody include the attached conserver.spec=20 and make sure that it will be available in further releases, please ? Thanks & Best regards Jodok Reference http://rpm.org/max-rpm-snapshot/s1-rpm-subpack-spec-file-changes.= html # rpm -qlp /usr/src/redhat/RPMS/x86_64/conserver-client-8.1.17-2.x86_64.rpm= =20 /usr/bin/console /usr/share/doc/conserver-client-8.1.17 /usr/share/doc/conserver-client-8.1.17/CHANGES /usr/share/doc/conserver-client-8.1.17/FAQ /usr/share/doc/conserver-client-8.1.17/INSTALL /usr/share/doc/conserver-client-8.1.17/README /usr/share/man/man1/console.1.gz # rpm -qlp /usr/src/redhat/RPMS/x86_64/conserver-server-8.1.17-2.x86_64.rpm= =20 /etc/conserver.cf /etc/conserver.passwd /etc/default/conserver /etc/rc.d/init.d/conserver /usr/lib64/conserver/convert /usr/sbin/conserver /usr/share/doc/conserver-server-8.1.17 /usr/share/doc/conserver-server-8.1.17/CHANGES /usr/share/doc/conserver-server-8.1.17/FAQ /usr/share/doc/conserver-server-8.1.17/INSTALL /usr/share/doc/conserver-server-8.1.17/README /usr/share/doc/conserver-server-8.1.17/conserver.cf /usr/share/doc/conserver-server-8.1.17/conserver.cf/INSTALL /usr/share/doc/conserver-server-8.1.17/conserver.cf/Makefile /usr/share/doc/conserver-server-8.1.17/conserver.cf/Makefile.in /usr/share/doc/conserver-server-8.1.17/conserver.cf/conserver.cf /usr/share/doc/conserver-server-8.1.17/conserver.cf/conserver.cf.man /usr/share/doc/conserver-server-8.1.17/conserver.cf/conserver.passwd /usr/share/doc/conserver-server-8.1.17/conserver.cf/conserver.passwd.man /usr/share/doc/conserver-server-8.1.17/conserver.cf/label.ps /usr/share/doc/conserver-server-8.1.17/conserver.cf/samples /usr/share/doc/conserver-server-8.1.17/conserver.cf/samples/README /usr/share/doc/conserver-server-8.1.17/conserver.cf/samples/average-distrib= uted.cf /usr/share/doc/conserver-server-8.1.17/conserver.cf/samples/average.cf /usr/share/doc/conserver-server-8.1.17/conserver.cf/samples/basic.cf /usr/share/doc/conserver-server-8.1.17/conserver.cf/samples/simple.cf /usr/share/doc/conserver-server-8.1.17/conserver.cf/test.cf /usr/share/examples/conserver/conserver.cf /usr/share/examples/conserver/conserver.passwd /usr/share/man/man5/conserver.cf.5.gz /usr/share/man/man5/conserver.passwd.5.gz /usr/share/man/man8/conserver.8.gz --=20 Jodok Ole M=FCllers Infrastruktur Manager Red Hat Certified Engineer --MP_/KsgZX_5wm4dmv7FQLhmtFEF Content-Type: text/x-rpm-spec; name=conserver.spec Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=conserver.spec # # rpm spec file for conserver, but I don't think it'll work on any # platform that doesn't have red hat rpm >= 4.0.2 installed. # %define pkg conserver %define ver 8.1.17 # define the name of the machine on which the main conserver # daemon will be running if you don't want to use the default # hostname (console) %define master console # what red hat (or other distibution) version are you running? %define distver 2 # compile arguments. defaults to 0 # example: rpmbuild -bb conserver.spec --with openssl %define with_openssl %{?_with_openssl: 1} %{?!_with_openssl: 0} %define with_libwrap %{?_with_libwrap: 1} %{?!_with_libwrap: 0} %define with_pam %{?_with_pam: 1} %{?!_with_pam: 0} %define with_dmalloc %{?_with_dmalloc: 1} %{?!_with_dmalloc: 0} # additionally you can use macros logfile pidfile # example: rpmbuild -bb conserver.spec --define "pidfile /var/run/conserver/pid" Name: %{pkg} Version: %{ver} Release: %{distver} License: BSD Summary: Serial console server daemon/client Group: System Environment/Daemons URL: http://www.conserver.com/ Source: http://www.conserver.com/%{pkg}-%{ver}.tar.gz BuildRoot: %{_tmppath}/%{pkg}-buildroot %if %{with_openssl} BuildRequires: openssl-devel %endif %if %{with_pam} BuildRequires: pam-devel %endif %if %{with_libwrap} Requires: tcp_wrappers %endif %if %{with_dmalloc} Requires: dmalloc BuildRequires: dmalloc %endif Prefix: %{_prefix} %package server Summary: Serial console server daemon Group: System Environment/Daemons %package client Summary: Serial console server client Group: Applications/Internet %description Conserver is a daemon that allows multiple users to watch a serial console at the same time. It can log the data, allows users to take write-access of a console (one at a time), and has a variety of bells and whistles to accentuate that basic functionality. %description server conserver-server is a daemon that allows multiple users to watch a serial console at the same time. It can log the data, allows users to take write-access of a console (one at a time), and has a variety of bells and whistles to accentuate that basic functionality. %description client conserver-client to connect to conserver-server using a tcp port. Allows multiple users to watch a serial console at the same time. %prep %{__rm} -rf %{buildroot} %setup -q %build # we don't want to install the solaris conserver.rc file f="conserver/Makefile.in" %{__mv} $f $f.orig %{__sed} -e 's/^.*conserver\.rc.*$//' < $f.orig > $f %configure %{?_with_openssl} %{?_with_libwrap} %{?_with_dmalloc} %{?_with_pam} %{?logfile: --with-logfile=%{logfile}} %{?pidfile: --with-pidfile=%{pidfile}} %{?master: --with-master=%{master}} make %install %{makeinstall} # put commented copies of the sample configure files in the # system configuration directory %{__mkdir_p} %{buildroot}/%{_sysconfdir} %{__sed} -e 's/^/#/' \ < conserver.cf/conserver.cf \ > %{buildroot}/%{_sysconfdir}/conserver.cf %{__sed} -e 's/^/#/' \ < conserver.cf/conserver.passwd \ > %{buildroot}/%{_sysconfdir}/conserver.passwd # install copy of init script %{__mkdir_p} %{buildroot}/%{_initrddir} %{__cp} contrib/redhat-rpm/conserver.init %{buildroot}/%{_initrddir}/conserver # install copy of init script defaults %{__mkdir_p} %{buildroot}/%{_sysconfdir}/default %{__cp} contrib/redhat-rpm/conserver.defaults %{buildroot}/%{_sysconfdir}/default/conserver %clean %{__rm} -rf %{buildroot} %post server if [ -x %{_initrddir}/conserver ]; then /sbin/chkconfig --add conserver fi # make sure /etc/services has a conserver entry if ! egrep '\' /etc/services > /dev/null 2>&1 ; then echo "console 782/tcp conserver" >> /etc/services fi %preun server if [ "$1" = 0 ]; then if [ -x %{_initrddir}/conserver ]; then %{_initrddir}/conserver stop /sbin/chkconfig --del conserver fi fi # we need this even if empty #%files %files server %defattr(-,root,root) %doc CHANGES FAQ INSTALL README conserver.cf %config(noreplace) %{_sysconfdir}/conserver.cf %config(noreplace) %{_sysconfdir}/conserver.passwd %config(noreplace) %{_sysconfdir}/default/conserver %attr(555,root,root) %{_initrddir}/conserver %{_libdir}/conserver/convert %{_mandir}/man8/conserver.8.gz %{_mandir}/man5/conserver.cf.5.gz %{_mandir}/man5/conserver.passwd.5.gz %{_datadir}/examples/conserver/conserver.cf %{_datadir}/examples/conserver/conserver.passwd %{_sbindir}/conserver %files client %defattr(-,root,root) %doc CHANGES FAQ INSTALL README %{_bindir}/console %{_mandir}/man1/console.1.gz %changelog * Wed Oct 14 2009 Jodok Ole Muellers - 8.1.17-2 - Compiled with SSL support and PAM support * Wed Sep 25 2009 Fabien Wernli - added configure prerequisites * Thu Sep 24 2009 Fabien Wernli - added prefix to configure - changed some hardcoded values to proper macros: didn't work on x64 lib -> lib64 --MP_/KsgZX_5wm4dmv7FQLhmtFEF-- From fabien@faxm0dem.org Wed Oct 14 14:39:53 2009 Received: from ccsrelay01.in2p3.fr (ccsrelay01.in2p3.fr [134.158.66.51]) by underdog.stansell.org (8.14.3/8.14.3) with ESMTP id n9EEdjwM022101 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 14 Oct 2009 14:39:52 GMT Received: from leda.faxm0dem.org (faxm0dem.org [82.224.162.122]) (authenticated bits=0) by ccsrelay01.in2p3.fr (8.14.2/8.14.2/IN2P3) with ESMTP id n9EEdh18001899 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 14 Oct 2009 16:39:44 +0200 Received: from localhost (localhost.localdomain [127.0.0.1]) by leda.faxm0dem.org (Postfix) with ESMTP id 6817F8326 for ; Wed, 14 Oct 2009 16:39:43 +0200 (CEST) Received: from leda.faxm0dem.org ([127.0.0.1]) by localhost (localhost.localdomain [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BrDTCM1rZVeE for ; Wed, 14 Oct 2009 16:39:43 +0200 (CEST) Received: by leda.faxm0dem.org (Postfix, from userid 1000) id EC9BD8336; Wed, 14 Oct 2009 16:39:42 +0200 (CEST) Date: Wed, 14 Oct 2009 16:39:42 +0200 From: Fabien Wernli To: users@conserver.com Subject: Re: Re: 8.1.17 spec file issue Message-ID: <20091014143942.GA4911@faxm0dem.org> Mail-Followup-To: users@conserver.com References: <20090929201753.GO19707@faxm0dem.org> <20091014134817.6b91a4a1@jodok.aschendorff.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091014134817.6b91a4a1@jodok.aschendorff.de> Organization: CC-IN2P3 (CNRS) User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list Reply-To: wernli@in2p3.fr List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Oct 2009 14:39:53 -0000 On Wed, Oct 14, 2009 at 01:48:17PM +0200, Jodok Ole Muellers wrote: > I modified the spec file to generate two sub packages could you be a little more verbose in the %changelog? From jodok.muellers@aschendorff.de Wed Oct 14 15:59:22 2009 Received: from mail.print.wnonline.de (mail.print.wnonline.de [195.66.76.20]) by underdog.stansell.org (8.14.3/8.14.3) with ESMTP id n9EFxE4T023780 for ; Wed, 14 Oct 2009 15:59:20 GMT Date: Wed, 14 Oct 2009 17:59:12 +0200 From: Jodok Ole Muellers To: users@conserver.com Subject: Re: 8.1.17 spec file issue Message-ID: <20091014175912.6b2f291f@jodok.aschendorff.de> In-Reply-To: <20091014143942.GA4911@faxm0dem.org> References: <20090929201753.GO19707@faxm0dem.org> <20091014134817.6b91a4a1@jodok.aschendorff.de> <20091014143942.GA4911@faxm0dem.org> Organization: Aschendorff Medien GmbH X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.12; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/4nuMfDdxQDxiTBOrt5vP2Lv" X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Oct 2009 15:59:22 -0000 --MP_/4nuMfDdxQDxiTBOrt5vP2Lv Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Fabien, Wed, 14 Oct 2009 16:39:42 +0200 Fabien Wernli wrote: > could you be a little more verbose in the %changelog? Hups, sure, sorry I missed that. I just copied and pasted an different changelog=20 entry from somewhere else and was about to change that but then I forgot it. I attached a new version. I did not change much from your original version: # diff -B conserver.spec.orig conserver.spec 15c15 < %define distver 1 --- > %define distver 2=20 27d26 < Summary: Serial console server daemon/client 31a31 > Summary: Serial console server daemon/client 50a51,57 > %package server > Summary: Serial console server daemon > Group: System Environment/Daemons >=20 > %package client > Summary: Serial console server client > Group: Applications/Internet=20 53c60,66 < Conserver is an application that allows multiple users to watch a --- > Conserver is a daemon that allows multiple users to watch a > serial console at the same time. It can log the data, allows users to > take write-access of a console (one at a time), and has a variety of > bells and whistles to accentuate that basic functionality. >=20 > %description server > conserver-server is a daemon that allows multiple users to watch a 57a71,73 > %description client > conserver-client to connect to conserver-server using a tcp port. > Allows multiple users to watch a serial console at the same time. 100c116 < %post --- > %post server 110c126 < %preun --- > %preun server 117a134,135 > # we need this even if empty > #%files 119c137 < %files --- > %files server 126d143 < %{_bindir}/console 128d144 < %{_mandir}/man1/console.1.gz 135a152,157 > %files client=20 > %defattr(-,root,root) > %doc CHANGES FAQ INSTALL README > %{_bindir}/console > %{_mandir}/man1/console.1.gz >=20 136a159,161 > * Wed Oct 14 2009 Jodok Ole Muellers - 8.1.17-2= =20 > - Changed the conserver.spec file to create separate subpackages=20 > for client and server by using the %package directive.=20 --=20 Jodok Ole M=FCllers Infrastruktur Manager Red Hat Certified Engineer --MP_/4nuMfDdxQDxiTBOrt5vP2Lv Content-Type: text/x-rpm-spec; name=conserver.spec Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=conserver.spec # # rpm spec file for conserver, but I don't think it'll work on any # platform that doesn't have red hat rpm >= 4.0.2 installed. # %define pkg conserver %define ver 8.1.17 # define the name of the machine on which the main conserver # daemon will be running if you don't want to use the default # hostname (console) %define master console # what red hat (or other distibution) version are you running? %define distver 3 # compile arguments. defaults to 0 # example: rpmbuild -bb conserver.spec --with openssl %define with_openssl %{?_with_openssl: 1} %{?!_with_openssl: 0} %define with_libwrap %{?_with_libwrap: 1} %{?!_with_libwrap: 0} %define with_pam %{?_with_pam: 1} %{?!_with_pam: 0} %define with_dmalloc %{?_with_dmalloc: 1} %{?!_with_dmalloc: 0} # additionally you can use macros logfile pidfile # example: rpmbuild -bb conserver.spec --define "pidfile /var/run/conserver/pid" Name: %{pkg} Version: %{ver} Release: %{distver} License: BSD Summary: Serial console server daemon/client Group: System Environment/Daemons URL: http://www.conserver.com/ Source: http://www.conserver.com/%{pkg}-%{ver}.tar.gz BuildRoot: %{_tmppath}/%{pkg}-buildroot %if %{with_openssl} BuildRequires: openssl-devel %endif %if %{with_pam} BuildRequires: pam-devel %endif %if %{with_libwrap} Requires: tcp_wrappers %endif %if %{with_dmalloc} Requires: dmalloc BuildRequires: dmalloc %endif Prefix: %{_prefix} %package server Summary: Serial console server daemon Group: System Environment/Daemons %package client Summary: Serial console server client Group: Applications/Internet %description Conserver is a daemon that allows multiple users to watch a serial console at the same time. It can log the data, allows users to take write-access of a console (one at a time), and has a variety of bells and whistles to accentuate that basic functionality. %description server conserver-server is a daemon that allows multiple users to watch a serial console at the same time. It can log the data, allows users to take write-access of a console (one at a time), and has a variety of bells and whistles to accentuate that basic functionality. %description client conserver-client to connect to conserver-server using a tcp port. Allows multiple users to watch a serial console at the same time. %prep %{__rm} -rf %{buildroot} %setup -q %build # we don't want to install the solaris conserver.rc file f="conserver/Makefile.in" %{__mv} $f $f.orig %{__sed} -e 's/^.*conserver\.rc.*$//' < $f.orig > $f %configure %{?_with_openssl} %{?_with_libwrap} %{?_with_dmalloc} %{?_with_pam} %{?logfile: --with-logfile=%{logfile}} %{?pidfile: --with-pidfile=%{pidfile}} %{?master: --with-master=%{master}} make %install %{makeinstall} # put commented copies of the sample configure files in the # system configuration directory %{__mkdir_p} %{buildroot}/%{_sysconfdir} %{__sed} -e 's/^/#/' \ < conserver.cf/conserver.cf \ > %{buildroot}/%{_sysconfdir}/conserver.cf %{__sed} -e 's/^/#/' \ < conserver.cf/conserver.passwd \ > %{buildroot}/%{_sysconfdir}/conserver.passwd # install copy of init script %{__mkdir_p} %{buildroot}/%{_initrddir} %{__cp} contrib/redhat-rpm/conserver.init %{buildroot}/%{_initrddir}/conserver # install copy of init script defaults %{__mkdir_p} %{buildroot}/%{_sysconfdir}/default %{__cp} contrib/redhat-rpm/conserver.defaults %{buildroot}/%{_sysconfdir}/default/conserver %clean %{__rm} -rf %{buildroot} %post server if [ -x %{_initrddir}/conserver ]; then /sbin/chkconfig --add conserver fi # make sure /etc/services has a conserver entry if ! egrep '\' /etc/services > /dev/null 2>&1 ; then echo "console 782/tcp conserver" >> /etc/services fi %preun server if [ "$1" = 0 ]; then if [ -x %{_initrddir}/conserver ]; then %{_initrddir}/conserver stop /sbin/chkconfig --del conserver fi fi # we need this even if empty #%files %files server %defattr(-,root,root) %doc CHANGES FAQ INSTALL README conserver.cf %config(noreplace) %{_sysconfdir}/conserver.cf %config(noreplace) %{_sysconfdir}/conserver.passwd %config(noreplace) %{_sysconfdir}/default/conserver %attr(555,root,root) %{_initrddir}/conserver %{_libdir}/conserver/convert %{_mandir}/man8/conserver.8.gz %{_mandir}/man5/conserver.cf.5.gz %{_mandir}/man5/conserver.passwd.5.gz %{_datadir}/examples/conserver/conserver.cf %{_datadir}/examples/conserver/conserver.passwd %{_sbindir}/conserver %files client %defattr(-,root,root) %doc CHANGES FAQ INSTALL README %{_bindir}/console %{_mandir}/man1/console.1.gz %changelog * Wed Oct 14 2009 Jodok Ole Muellers - 8.1.17-3 - Changed the conserver.spec file to create separate subpackages for client and server by using the %package directive. * Wed Sep 25 2009 Fabien Wernli - added configure prerequisites * Thu Sep 24 2009 Fabien Wernli - added prefix to configure - changed some hardcoded values to proper macros: didn't work on x64 lib -> lib64 --MP_/4nuMfDdxQDxiTBOrt5vP2Lv-- From Andy.Pearce@austrocontrol.at Fri Oct 16 07:19:35 2009 Received: from mail57.messagelabs.com (mail57.messagelabs.com [195.245.230.115]) by underdog.stansell.org (8.14.3/8.14.3) with SMTP id n9G7JS30024596 for ; Fri, 16 Oct 2009 07:19:34 GMT X-VirusChecked: Checked X-Env-Sender: Andy.Pearce@austrocontrol.at X-Msg-Ref: server-6.tower-57.messagelabs.com!1255677567!12699080!1 X-StarScan-Version: 6.1.3; banners=-,-,- X-Originating-IP: [193.81.1.132] Received: (qmail 17094 invoked from network); 16 Oct 2009 07:19:27 -0000 Received: from unknown (HELO proxy1.austrocontrol.at) (193.81.1.132) by server-6.tower-57.messagelabs.com with SMTP; 16 Oct 2009 07:19:27 -0000 Received: from proxy1.austrocontrol.at (localhost [127.0.0.1]) by proxy1.austrocontrol.at (8.12.11/8.12.11/deliver) with ESMTP id n9G7JFil007502 for ; Fri, 16 Oct 2009 07:19:16 GMT Received: from exchsrv1 (exchngn2.lowl.austrocontrol.at [193.80.134.103]) by proxy1.austrocontrol.at (8.12.11/8.12.11/to IMSS) with ESMTP id n9G7JBh4007481 for ; Fri, 16 Oct 2009 07:19:15 GMT X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Varying the initcmd for a console Date: Fri, 16 Oct 2009 09:19:11 +0200 Message-ID: <09344F86CC53BE4EA61557124E79A56F03B6110F@EXCHSRV1.win.austrocontrol.at> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Varying the initcmd for a console Thread-Index: AcpOMPUZN6sTh7VYQQClyq5B/DLGYQ== From: "Pearce Andy" To: X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Oct 2009 07:19:35 -0000 Hi, Is it possible to override the initcmd specified for a console in the conserver.cf file, so that varying scripts can be run as=20 required when the console is opened without having to force a=20 re-read of the whole conserver.cf config file ? Thanks Andy Pearce From andras.horvath@cern.ch Fri Oct 16 07:43:05 2009 Received: from cernmx21.cern.ch (cernmx21.cern.ch [137.138.166.182]) by underdog.stansell.org (8.14.3/8.14.3) with ESMTP id n9G7gwxb024896 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=FAIL) for ; Fri, 16 Oct 2009 07:43:05 GMT Received: from pcitadc01.cern.ch (137.138.33.142) by cernmxlb.cern.ch (137.138.166.163) with Microsoft SMTP Server id 8.2.176.0; Fri, 16 Oct 2009 09:42:56 +0200 Received: by pcitadc01.cern.ch (Postfix, from userid 1000) id 7E57E14DC14B; Fri, 16 Oct 2009 09:42:56 +0200 (CEST) Date: Fri, 16 Oct 2009 09:42:56 +0200 From: To: Subject: Re: Varying the initcmd for a console Message-ID: <20091016074256.GW5158@cern.ch> Mail-Followup-To: users@conserver.com References: <09344F86CC53BE4EA61557124E79A56F03B6110F@EXCHSRV1.win.austrocontrol.at> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Disposition: inline In-Reply-To: <09344F86CC53BE4EA61557124E79A56F03B6110F@EXCHSRV1.win.austrocontrol.at> User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Oct 2009 07:43:05 -0000 On Fri, Oct 16, 2009 at 09:19:11AM +0200, Pearce Andy wrote: > Is it possible to override the initcmd specified for a console > in the conserver.cf file, so that varying scripts can be run as > required when the console is opened without having to force a > re-read of the whole conserver.cf config file ? What do you mean? Varying in time? I run a little script from my conserver.cf to open IPMI consoles; it reads usernames/passwords from a file and launches ipmitool. Andras From Andy.Pearce@austrocontrol.at Fri Oct 16 08:03:37 2009 Received: from mail56.messagelabs.com (mail56.messagelabs.com [193.109.254.67]) by underdog.stansell.org (8.14.3/8.14.3) with SMTP id n9G83UUk025965 for ; Fri, 16 Oct 2009 08:03:36 GMT X-VirusChecked: Checked X-Env-Sender: Andy.Pearce@austrocontrol.at X-Msg-Ref: server-15.tower-56.messagelabs.com!1255680209!12558764!1 X-StarScan-Version: 6.1.3; banners=-,-,- X-Originating-IP: [193.81.1.132] Received: (qmail 22410 invoked from network); 16 Oct 2009 08:03:29 -0000 Received: from unknown (HELO proxy1.austrocontrol.at) (193.81.1.132) by server-15.tower-56.messagelabs.com with SMTP; 16 Oct 2009 08:03:29 -0000 Received: from proxy1.austrocontrol.at (localhost [127.0.0.1]) by proxy1.austrocontrol.at (8.12.11/8.12.11/deliver) with ESMTP id n9G83HG1018462 for ; Fri, 16 Oct 2009 08:03:17 GMT Received: from exchsrv1 (exchngn2.lowl.austrocontrol.at [193.80.134.103]) by proxy1.austrocontrol.at (8.12.11/8.12.11/to IMSS) with ESMTP id n9G83Bki018422 for ; Fri, 16 Oct 2009 08:03:17 GMT X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Varying the initcmd for a console Date: Fri, 16 Oct 2009 10:03:10 +0200 Message-ID: <09344F86CC53BE4EA61557124E79A56F03B61110@EXCHSRV1.win.austrocontrol.at> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Varying the initcmd for a console Thread-Index: AcpONIoyChoMAaLYQay51iA3lBNC7QAAC5Rw From: "Pearce Andy" To: X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Oct 2009 08:03:37 -0000 Hi Andras, As I understand it the conserver is started with a configuration file conserver.cf that defines a set of consoles for various machines, output from these machines is then logged. The conserver.cf that is read when=20 conserver starts can also specified a script that is to be run when the console command is used to connect to the machine via the initcmd option. What I would like to do is to be able to specify, in some way,the script that is executed when I make the console command, i.e. something like console ... "determine-free-disk-space.sh" [above syntax obviously rubbish, but that's the idea ] I was wondering if the initcmd could be changed via the per-user-config file that can be specified, but didn't appear so. Andy > -----Original Message----- > From: users-bounces@conserver.com=20 > [mailto:users-bounces@conserver.com] On Behalf Of=20 > Andras.Horvath@cern.ch > Sent: Friday, October 16, 2009 9:43 AM > To: users@conserver.com > Subject: Re: Varying the initcmd for a console >=20 >=20 > On Fri, Oct 16, 2009 at 09:19:11AM +0200, Pearce Andy wrote: > > Is it possible to override the initcmd specified for a=20 > console in the=20 > > conserver.cf file, so that varying scripts can be run as=20 > required when=20 > > the console is opened without having to force a re-read of=20 > the whole=20 > > conserver.cf config file ? >=20 > What do you mean? Varying in time? >=20 > I run a little script from my conserver.cf to open IPMI=20 > consoles; it reads usernames/passwords from a file and=20 > launches ipmitool. >=20 > Andras > _______________________________________________ > users mailing list > users@conserver.com https://www.conserver.com/mailman/listinfo/users >=20 From andras.horvath@cern.ch Fri Oct 16 08:17:37 2009 Received: from cernmx20.cern.ch (cernmx20.cern.ch [137.138.166.184]) by underdog.stansell.org (8.14.3/8.14.3) with ESMTP id n9G8HU65026161 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=FAIL) for ; Fri, 16 Oct 2009 08:17:36 GMT Received: from pcitadc01.cern.ch (137.138.33.142) by cernmxlb.cern.ch (137.138.166.163) with Microsoft SMTP Server id 8.2.176.0; Fri, 16 Oct 2009 10:17:29 +0200 Received: by pcitadc01.cern.ch (Postfix, from userid 1000) id 0119514DC14B; Fri, 16 Oct 2009 10:17:28 +0200 (CEST) Date: Fri, 16 Oct 2009 10:17:28 +0200 From: To: Subject: Re: Varying the initcmd for a console Message-ID: <20091016081728.GX5158@cern.ch> Mail-Followup-To: users@conserver.com References: <09344F86CC53BE4EA61557124E79A56F03B61110@EXCHSRV1.win.austrocontrol.at> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Disposition: inline In-Reply-To: <09344F86CC53BE4EA61557124E79A56F03B61110@EXCHSRV1.win.austrocontrol.at> User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Oct 2009 08:17:37 -0000 On Fri, Oct 16, 2009 at 10:03:10AM +0200, Pearce Andy wrote: > > As I understand it the conserver is started with a configuration file > conserver.cf that defines a set of consoles for various machines, output > from these machines is then logged. The conserver.cf that is read when > conserver starts can also specified a script that is to be run when the > console command is used to connect to the machine via the initcmd > option. ahh, sorry, misunderstood your question (I'm aware of that feature but I do not use it.) > I was wondering if the initcmd could be changed via the per-user-config > file that can be specified, but didn't appear so. Interesting. I don't know a direct solution. As a workaround, I'd script around 'console' with 'expect' :) to provide different functionality as user-accessible scripts. Andras From andras.horvath@cern.ch Fri Oct 16 11:30:23 2009 Received: from cernmx21.cern.ch (cernmx21.cern.ch [137.138.166.182]) by underdog.stansell.org (8.14.3/8.14.3) with ESMTP id n9GBUGhD000644 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=FAIL) for ; Fri, 16 Oct 2009 11:30:23 GMT Received: from pcitadc01.cern.ch (137.138.33.142) by cernmxlb.cern.ch (137.138.166.163) with Microsoft SMTP Server id 8.2.176.0; Fri, 16 Oct 2009 13:30:15 +0200 Received: by pcitadc01.cern.ch (Postfix, from userid 1000) id 96F0E14DC117; Fri, 16 Oct 2009 13:30:15 +0200 (CEST) Date: Fri, 16 Oct 2009 13:30:15 +0200 From: To: Subject: GSSAPI patch for Ubuntu/Debian Message-ID: <20091016113015.GB5158@cern.ch> Mail-Followup-To: users@conserver.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="C7zPtVaVf+AK4Oqc" Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Oct 2009 11:30:23 -0000 --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset="iso-8859-2" Content-Disposition: inline Hi, Attached is a one-liner that fixes a segfault in 8.1.17 when compiled against libgssapi2-heimdal on Ubuntu Jaunty. Looks like a typo? Andras --C7zPtVaVf+AK4Oqc Content-Type: text/x-diff; charset="iso-8859-2" Content-Disposition: attachment; filename="ubuntu_gssapi.patch" diff --git a/console/console.c b/console/console.c index 9396a62..350d4d2 100644 --- a/console/console.c +++ b/console/console.c @@ -228,7 +228,7 @@ AttemptGSSAPI(pcf) GSS_C_MUTUAL_FLAG, 0, GSS_C_NO_CHANNEL_BINDINGS, &servertok, NULL, &mytok, NULL, NULL); - gss_release_buffer(NULL, &mytok); + gss_release_buffer(&stmin, &mytok); ret = (stmaj == GSS_S_COMPLETE); gss_release_name(&stmin, &gss_server_name); --C7zPtVaVf+AK4Oqc-- From cpz@tuunq.com Fri Oct 16 15:53:27 2009 Received: from mail.tuunq.com (75-101-13-164.dsl.static.sonic.net [75.101.13.164]) by underdog.stansell.org (8.14.3/8.14.3) with ESMTP id n9GFrLMM007013 for ; Fri, 16 Oct 2009 15:53:27 GMT Received: from [127.0.0.1] (unknown [198.3.161.201]) by mail.tuunq.com (Postfix) with ESMTP id 8F52B7B6 for ; Fri, 16 Oct 2009 08:53:20 -0700 (PDT) Message-ID: <4AD896EE.9010507@tuunq.com> Date: Fri, 16 Oct 2009 08:53:18 -0700 From: Carl Zwanzig User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: users@conserver.com Subject: Re: Varying the initcmd for a console References: <09344F86CC53BE4EA61557124E79A56F03B61110@EXCHSRV1.win.austrocontrol.at> <20091016081728.GX5158@cern.ch> In-Reply-To: <20091016081728.GX5158@cern.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Oct 2009 15:53:27 -0000 Andras.Horvath@cern.ch wrote: > As a workaround, I'd script around 'console' with 'expect' :) to provide > different functionality as user-accessible scripts. That's where I'd start. OTOH, I don't remember if 'console' emits sensible error/exit status. (Don't have an installation I can check at the moment.) z! From jeder@redhat.com Thu Oct 22 17:43:54 2009 Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by underdog.stansell.org (8.14.3/8.14.3) with ESMTP id n9MHhnJa006633 for ; Thu, 22 Oct 2009 17:43:54 GMT Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9MHhn6x031935 for ; Thu, 22 Oct 2009 13:43:49 -0400 Received: from mail01.corp.redhat.com (zmail01.collab.prod.int.phx2.redhat.com [10.5.5.41]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9MHhmHB032488 for ; Thu, 22 Oct 2009 13:43:49 -0400 Date: Thu, 22 Oct 2009 13:43:48 -0400 (EDT) From: Jeremy Eder To: users@conserver.com Message-ID: <78553257.884911256233428831.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com> Subject: passing ctrl+z key combination MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.5.5.72] X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 X-Spam-Score: -2.312 () BAYES_00 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Oct 2009 17:43:55 -0000 hi, im looking to pass ctrl+z to a server - console man page says 1) escape sequence (mine is default 'control-E c'') 2) then type \ooo where ooo is a 3-digit octal code for the keystroke. according to http://en.wikipedia.org/wiki/Control-Z the octal code for ctrl+z should be 32. so after typing the escape sequence, typing \032 does not seem to send a ctrl+z. any ideas ? --jer From woods@once.weird.com Fri Oct 23 01:05:42 2009 Received: from most.weird.com (most.weird.com [204.92.254.2]) by underdog.stansell.org (8.14.3/8.14.3) with ESMTP id n9N15ajG017080 for ; Fri, 23 Oct 2009 01:05:42 GMT Received: from once.weird.com ([204.92.254.13] port=56980) by most.weird.com([204.92.254.2] port=25) via TCP with esmtp (2965 bytes) (sender: ) (ident using rfc1413) id for ; Thu, 22 Oct 2009 20:18:29 -0400 (EDT) (Smail-3.2.0.122-Pre 2005-Nov-17 #1 built 2009-Feb-3) Message-Id: Date: Thu, 22 Oct 2009 21:05:29 -0400 From: "Greg A. Woods" To: Jeremy Eder Subject: Re: passing ctrl+z key combination In-Reply-To: <78553257.884911256233428831.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com> References: <78553257.884911256233428831.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com> User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.7 Emacs/22.3 (i386--netbsdelf) MULE/5.0 (SAKAKI) X-Face: ; j3Eth2XV8h1Yfu*uL{<:dQ$#E[DB0gemGZJ"J#4fH*][ lz; @-iwMv_u\6uIEKR0KY"=MzoQH#CrqBN`nG_5B@rrM8,f~Gr&h5a\= X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ConServer User's Mailing List List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Oct 2009 01:05:43 -0000 --pgp-sign-Multipart_Thu_Oct_22_21:05:29_2009-1 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable At Thu, 22 Oct 2009 13:43:48 -0400 (EDT), Jeremy Eder wr= ote: Subject: passing ctrl+z key combination >=20 > im looking to pass ctrl+z to a server - console man page says=20 >=20 > 1) escape sequence (mine is default 'control-E c'') > 2) then type \ooo where ooo is a 3-digit octal code for the keystroke. >=20 > according to http://en.wikipedia.org/wiki/Control-Z the octal code for ct= rl+z should be 32. >=20 > so after typing the escape sequence, typing=20 >=20 > \032 >=20 > does not seem to send a ctrl+z. =20 >=20 > any ideas ? Why not just type plain and simple? It works for me: $ console historically [Enter `^Ec?' for help] [-- MOTD -- Welcome to Weird consoles!] # # cat ^Z[1] + Stopped cat Of course typing "\032" also works for me: # cat [quote \032]^Z[1] + Stopped cat --=20 Greg A. Woods +1 416 218-0098 VE3TCP RoboHack Planix, Inc. Secrets of the Weird --pgp-sign-Multipart_Thu_Oct_22_21:05:29_2009-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (NetBSD) iD8DBQBK4QFZYntfFMJZx4URAvFrAKCBEInpu6k5ld8EZyvoka90flsZvgCfa4q2 KjzIBsIJa/Nqx8FX5dELfzY= =9o7q -----END PGP SIGNATURE----- --pgp-sign-Multipart_Thu_Oct_22_21:05:29_2009-1--