Re: [CentOS] CentOS 6 CDs isos...

2011-07-13 Thread Karanbir Singh
On 07/12/2011 11:18 AM, John Doe wrote:
> Yeah, I just got the announcement, sorry...
> Dunno if it is Yahoo Mail but I keep receiving the mails from the mailing 
> list in random timeline...
> By example, today I just received some mails from Saturday and Sunday...

Yahoo's mail system is quite badly broken. I highly recommend people 
stop using them.

Because the centos mailserver sends a lot of emails, they automatically 
consider us to be spammers and will enforce both throttling and 
blacklisting us at various times. Attempts to get through to their mail 
handling team have produced not results beyond 'fill in that web form 
and we will get back to you'. Having done that a few times over the last 
few years, they havent ever bothered getting back to us.

Use something else :)

- KB
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with net-install

2011-07-13 Thread Karanbir Singh
On 07/11/2011 08:37 PM, david wrote:
> I fear that the net-install image may not support USB keyboards,
> which if so, is unfortunate.
>

that is not true, I've done a couple of installs on machines that only 
hae usb keyboards and its been fine. Could it be a model / bios / 
firmware issue ?

- KB
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with net-install

2011-07-13 Thread Karanbir Singh
On 07/12/2011 02:32 PM, Brunner, Brian T. wrote:
> Add: AMD Geode (586 non-PAE) can run CentOS 5 but not 6.
>
> Desired: Somebody who is good with repos and rpms please put the linux
> kernel (for centos 6) "somewhere" so


the via EPIA and the P3 mentioned earlier in this thread are all i686 
compatible, so pose no real issue for C6 to run on. However, with the 
Geode, it might be a bit more difficult.

also, i suspect its not just the kernel that needs rebuilding and 
mod'ing of patches for, you might need to rebuild much of userland as well.

- KB
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 DVD install "Unable to read group information from repositories"

2011-07-13 Thread Ljubomir Ljubojevic
Trey Dockendorf wrote:
> Now where is the best place to post bugs regarding KVM in centos 6?

Are you aware that there is CentOS mailinglist for Virtualization? 
CentOS-virt.

As for bugs, there is bugs.centos.org for reporting bugs.

Ljubomir
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] really large file systems with centos

2011-07-13 Thread John R Pierce
I've been asked for ideas on building a rather large archival storage 
system for inhouse use, on the order of 100-400TB. Probably using CentOS 
6.The existing system this would replace is using Solaris 10 and 
ZFS, but I want to explore using Linux instead.

We have our own tomcat based archiving software that would run on this 
storage server, along with NFS client and server.   Its a write once, 
read almost never kind of application, storing compressed batches of 
archive files for a year or two.   400TB written over 2 years translates 
to about 200TB/year or about 7MB/second average write speed.   The very 
rare and occasional read accesses are done by batches where a client 
makes a webservice call to get a specific set of files, then they are 
pushed as a batch to staging storage where the user can then browse 
them, this can take minutes without any problems.

My general idea is a 2U server with 1-4 SAS cards connected to strings 
of about 48 SATA disks (4 x 12 or 3 x 16), all configured as JBOD, so 
there would potentially be 48 or 96 or 192 drives on this one server.
I'm thinking they should be laid as as 4 or 8 or 16 seperate RAID6 sets 
of 10 disks each, then use LVM to put those into a larger volume.   
About 10% of the disks would be reserved as global hot spares.

So, my questions...

A) Can CentOS 6 handle that many JBOD disks in one system?  is my upper 
size too big and I should plan for 2 or more servers?  What happens with 
the device names when you've gone past /dev/sdz ?

B) What is the status of large file system support in CentOS 6?  I know XFS is 
frequently mentioned with such systems, but I/we have zero experience with it, 
its never been natively supported in EL up to 5, anyways.

C) Is GFS suitable for this, or is it strictly for clustered storage systems?

D) anything important I've neglected?





--
john r pierceN 37, W 122
santa cruz ca mid-left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 6.0 text-mode installer broken?

2011-07-13 Thread Karanbir Singh
On 07/12/2011 12:17 AM, Florin Andrei wrote:
> If you give the VM only 512 MB of RAM, the text-mode installer kicks in.
> It does not prompt you to configure anything

you can use a kickstart to get all the config options in.

- KB
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6: the ongoing saga

2011-07-13 Thread Karanbir Singh
On 07/12/2011 08:58 PM, m.r...@5-cent.us wrote:
> Any comments, folks? The admin I work with said he does not believe he had
> to do some of that with RHEL 6.

could you quantify that please and confirm.

- KB
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] php-5.3.6 fails on CentOS 5.6 64 bit

2011-07-13 Thread Mattias Geniar
> - Error -
> If configure fails try --with-jpeg-dir=
> configure: error: libpng.(a|so) not found.
> - Error -

This should also have been fixed with "--with-libdir=lib64" as it'll look in 
/lib by default, and not /lib64 for your x64 system.

Regards,
M.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] php-5.3.6 fails on CentOS 5.6 64 bit

2011-07-13 Thread Nguyen Vu Hung (VNC)

Hello all,

# I am quite new to 64 bit Linux

I am trying to build  php-5.3.6 on CentOS 5.6, 64 bit.

When I run ./configure under php-5.3.6, I get the following error:

- Error -
If configure fails try --with-jpeg-dir=
configure: error: libpng.(a|so) not found.
- Error -

Though libpng-devel and libjpeg-devel (both i386 and x64 rpms) are 
installed,

it seems that configure could not find them.

(I guess) I've fixed the errors by:

1. Adding /usr/lib64 to /etc/so.ld.conf, and
2. Specify jpeg lib dir that configure has to look:
   ./configure --with-jpeg-dir=/usr

So, php 5.3.6 did compile fine but, curiously, I want to ask:

3. Why /usr/lib64 is not in ldconfig by default?
4. Why it is "--with-jpeg-dir=/usr" but not "--with-jpeg-dir=/usr/lib64"?

BR,

Nguyễn Vũ  Hưng



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 DVD install "Unable to read group information from repositories"

2011-07-13 Thread Karanbir Singh
On 07/14/2011 02:41 AM, Trey Dockendorf wrote:
> Now where is the best place to post bugs regarding KVM in centos 6

bugs.centos.org - but I would highly recommend posting issues to the 
centos-virt list first and discussing the issues.

also, try not top posting

- KB
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Howto create a VPN connection on desktop (CentOS 6)

2011-07-13 Thread Ljubomir Ljubojevic
Emmanuel Noobadmin wrote:
> On 7/13/11, Mark Weaver  wrote:
>> For a short time I dabbled with an SSH app on my Droid X so that I could
>> connect to and interact with Linux servers that I've deployed, but found
>> it all but impossible to see the screen thus rendering the application
>> nothing more than something taking up space on my device. Now, it's a
>> different story if the device is an iPad or Galaxy tablet device, but a
>> phone?
> 
> Which was why I believe a phone with a 5" screen would be perfect for
> emergency remote administration in situations where we don't have (or
> for whatever reasons can't use) a proper laptop/netbook.
> 
> Unfortunately that pretty much limits the current options to the Dell
> Streak which I use with a small bluetooth keyboard that also has
> cursor keys.
> 
> Of course I only used it for SSH/CLI access since I don't normally use
> X for administration.

I use Android VNC on my HTC Wildfire and screen is panned/scrolled, not 
resized. You can setup some kind of VNC via SSH.

Ljubomir
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Howto create a VPN connection on desktop (CentOS 6)

2011-07-13 Thread Emmanuel Noobadmin
On 7/14/11, Mark Weaver  wrote:
>> Of course I only used it for SSH/CLI access since I don't normally use
>> X for administration.
>
> makes my eyes ache just thinking about it. :)

The good thing about the Dell Streak is that despite the larger
screen, it has a lower screen resolution at 800x480. although many
reviewers seem to think it's a bad thing. This makes things look about
23% larger than on the Droid X and might just cross the line between
pain in the eye to usable for you. :)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Installing OS on Flash Drive on Server

2011-07-13 Thread Muhammad Panji
On Mon, Jul 11, 2011 at 9:14 PM, Keith Roberts  wrote:
> On Mon, 11 Jul 2011, Muhammad Panji wrote:
>
>> To: CentOS mailing list 
>> From: Muhammad Panji 
>> Subject: [CentOS] Installing OS on Flash Drive on Server
>>
>> Hi All,
>> On my gateway server I'm Installing CentOS on a flashdrive. is that a bad
>> idea? the server keep hang, I can ping the server from the LAN and from the
>> internet, the internet connection from LAN to internet is OK but another
>> service is down, ssh, VPN (PPTPD) and another service. Even the console is
>> unresponsive so I have to reset the server. Last time when I still can do
>> SSH to server the / drive is mounted read only, when I try to remount rw it
>> said error write protected but the flash drive itself have no write
>> protection. I'm wondering is using Flashdrive on server OS is a bad idea?
>> anyone have similar experience? thank you.
>> regards,
>
> Hi Muhammad. You might like to check the mailing-list
> archives for June, as there was quite a long discusiion on
> using Flash USB drives an SSD's for Centos installations.
>
> I think the general conclusions were that Flass drives are
> not really designed for this, and will wear out quickly, and
> the SDD's can fail without any warning whatsoever - and
> bang does your OS and/or your data.
Hi Keith thank you for the info. I will look at the archive. I just
change the flash drive with another flash drive last monday and today
the server error again. will reinstall the OS on a hard drive. Thank
you.
Regards,









-- 
-
Muhammad Panji
http://www.panji.web.id                         http://www.kurungsiku.com
http://sumodirjo.wordpress.com          http://www.kurungsiku.web.id

http://www.linuxbox.web.id
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 DVD install "Unable to read group information from repositories"

2011-07-13 Thread Trey Dockendorf
This must have been an issue with my specific external dvd drive.  Used
netinstall disk successfully...yay centos 6!

Now where is the best place to post bugs regarding KVM in centos 6?
On Jul 13, 2011 9:59 AM, "Trey Dockendorf"  wrote:
> This was 64 bit install and the media checks were good. I also
successfully
> used the same install media on another system. Ill try the suggestions and
> see if the drive is having problems.
> On Jul 13, 2011 1:27 AM, "Ljubomir Ljubojevic"  wrote:
>> Trey Dockendorf wrote:
>>> Tried my first CentOS 6 install on a system currently running 5.6. My
>>> attempt was not an upgrade, but a full re-format. I have verified the
>>> checksums of the ISO and did the pre-install disk verify and everything
>>> checked out. However after the screen for setting up the bootloader I
>>> get the following error
>>>
>>> "Unable to read group information from repositories. This is a problem
>>> with the generation of your install tree"
>>>
>>> With my only options being "Exit Install" and "Retry", but of course
>>> "Retry" continues to fail with the same message.
>>>
>>> Basically I chose the first option in the menu for the DVD, install /
>>> upgrade, went through all the settings, did a custom layout for
>>> partitioning. I basically told the installer to re-format my ext3
>>> partitions to ext4 and set the mount points for / , /boot and swap.
>>> Then after selecting "Next" from the bootloader configuration is when I
>>> get the above error.
>>>
>>
>> 1. Was this i386 or x86_64?
>> 2. Have you run Media test od DVD('s) in system in question? Maybe DVD
>> drive can not read them right. Especially if you used higher speed to
>> burn the disk. I would recommend slow burning like 4x when you burn OS
>> DVD's (and 16x for CD's).
>>
>> And have you by any chance tried the same DVD('s) on any other system?
>>
>> Ljubomir
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Gnome System Monitor crashes on Centos 6 x86_64

2011-07-13 Thread Akemi Yagi
On Wed, Jul 13, 2011 at 12:34 PM, Ljubomir Ljubojevic  wrote:
> Ljubomir Ljubojevic wrote:
>> Frank Cox wrote:
>>> On Tue, 12 Jul 2011 09:36:08 +0200
>>> Ljubomir Ljubojevic wrote:
>>>
 Gnome System Monitor used to crash on RHEL Beta. Have you ran update as
 soon as you installed? It is most recommended course of action.
>>> Several megabytes of updates automatically showed up some minutes after I
>>> finished installing the operating system so I applied them and as far as I 
>>> know
>>> I currently have the latest-and-greatest version of gnome-applets installed.
>>>
>> This happened on my new CentOS 6 also, but only when you want to put it
>> as applet.
>
> I just uploaded abrt.log to bug 4964 on bugs.centos.org.

I have rebuilt gnome-applets and updated my test system with it. This
seems to have fixed the crash problem. I have made the rebuilt version
available for testing:

http://centos.toracat.org/misc/CentOS-6/gnome-applets/

Bug #4964 has been updated with this info. Please provide feedback if you can.

Thanks,

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Howto create a VPN connection on desktop (CentOS 6)

2011-07-13 Thread Mark Weaver
On 07/13/2011 07:51 AM, John Hodrien wrote:
> On Wed, 13 Jul 2011, Mark Weaver wrote:
>
>> What I've attempting to do is make it possible for me to connect to
>> clients' servers where RRAS service is already running using PPTP so
>> that I can connect remotely while I'm running Linux on my laptop so I
>> don't have to stop what I'm doing and boot Windows.
>
> Does pptp and pptp-setup from EPEL get you to where you want to be?
>
> jh
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

It really has been a while for me doing this stuff so I'm going to have 
to eat a little crow here and ask: what is all of the following trying 
to tell me?

(tailing /var/log/messages when attempting to activate a pptp VPN 
connection to a windows server using NetworkManager_
=
Jul 13 20:55:21 defiant NetworkManager[1258]:  Starting VPN 
service 'org.freedesktop.NetworkManager.pptp'...
Jul 13 20:55:21 defiant NetworkManager[1258]:  VPN service 
'org.freedesktop.NetworkManager.pptp' started 
(org.freedesktop.NetworkManager.pptp), PID 3030
Jul 13 20:55:21 defiant NetworkManager[1258]:  VPN service 
'org.freedesktop.NetworkManager.pptp' appeared, activating connections
Jul 13 20:55:21 defiant NetworkManager[1258]:  VPN plugin state 
changed: 1
Jul 13 20:55:21 defiant NetworkManager[1258]:  VPN plugin state 
changed: 3
Jul 13 20:55:21 defiant NetworkManager[1258]:  VPN connection 
'PECG' (Connect) reply received.
Jul 13 20:55:21 defiant pppd[3033]: Warning: can't open options file 
/root/.ppprc: Permission denied
Jul 13 20:55:21 defiant pppd[3033]: Plugin 
/usr/lib64/pppd/2.4.5/nm-pptp-pppd-plugin.so loaded.
Jul 13 20:55:21 defiant pppd[3033]: pppd 2.4.5 started by root, uid 0
Jul 13 20:55:21 defiant pppd[3033]: Using interface ppp0
Jul 13 20:55:21 defiant pppd[3033]: Connect: ppp0 <--> /dev/pts/1
Jul 13 20:55:21 defiant pptp[3034]: nm-pptp-service-3030 
log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Jul 13 20:55:21 defiant pptp[3042]: nm-pptp-service-3030 
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 
'Start-Control-Connection-Request'
Jul 13 20:55:21 defiant pptp[3042]: nm-pptp-service-3030 
log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
Jul 13 20:55:21 defiant pptp[3042]: nm-pptp-service-3030 
log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.
Jul 13 20:55:22 defiant pptp[3042]: nm-pptp-service-3030 
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 
'Outgoing-Call-Request'
Jul 13 20:55:22 defiant pptp[3042]: nm-pptp-service-3030 
log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.
Jul 13 20:55:22 defiant pptp[3042]: nm-pptp-service-3030 
log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, 
peer's call ID 61749).
Jul 13 20:55:22 defiant pptp[3042]: nm-pptp-service-3030 
log[ctrlp_disp:pptp_ctrl.c:950]: PPTP_SET_LINK_INFO received from 
peer_callid 0
Jul 13 20:55:22 defiant pptp[3042]: nm-pptp-service-3030 
log[ctrlp_disp:pptp_ctrl.c:953]:   send_accm is , recv_accm is 

Jul 13 20:55:22 defiant pptp[3042]: nm-pptp-service-3030 
warn[ctrlp_disp:pptp_ctrl.c:956]: Non-zero Async Control Character Maps 
are not supported!
Jul 13 20:55:22 defiant pptp[3042]: nm-pptp-service-3030 
log[ctrlp_disp:pptp_ctrl.c:950]: PPTP_SET_LINK_INFO received from 
peer_callid 0
Jul 13 20:55:22 defiant pptp[3042]: nm-pptp-service-3030 
log[ctrlp_disp:pptp_ctrl.c:953]:   send_accm is , recv_accm is 

Jul 13 20:55:22 defiant pptp[3042]: nm-pptp-service-3030 
warn[ctrlp_disp:pptp_ctrl.c:956]: Non-zero Async Control Character Maps 
are not supported!
Jul 13 20:55:22 defiant pppd[3033]: LCP terminated by peer 
(|M-^LT9^@ VPN plugin failed: 1
Jul 13 20:55:25 defiant pppd[3033]: Modem hangup
Jul 13 20:55:25 defiant pptp[3034]: nm-pptp-service-3030 
warn[decaps_hdlc:pptp_gre.c:204]: short read (-1): Input/output error
Jul 13 20:55:25 defiant pptp[3034]: nm-pptp-service-3030 
warn[decaps_hdlc:pptp_gre.c:216]: pppd may have shutdown, see pppd log
Jul 13 20:55:25 defiant pptp[3042]: nm-pptp-service-3030 
log[callmgr_main:pptp_callmgr.c:234]: Closing connection (unhandled)
Jul 13 20:55:25 defiant pptp[3042]: nm-pptp-service-3030 
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 
'Call-Clear-Request'
Jul 13 20:55:25 defiant pptp[3042]: nm-pptp-service-3030 
log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Jul 13 20:55:25 defiant NetworkManager[1258]:  VPN plugin failed: 1
Jul 13 20:55:25 defiant pppd[3033]: Exit.
Jul 13 20:55:25 defiant NetworkManager[1258]:  VPN plugin failed: 1
Jul 13 20:55:25 defiant NetworkManager[1258]:  VPN plugin state 
changed: 6
Jul 13 20:55:25 defiant NetworkManager[1258]:  VPN plugin state 
change reason: 0
Jul 13 20:55:25 defiant NetworkManager[1258]:  error disconnecting 
VPN: Could not process the 

Re: [CentOS] Problem with AT&T VPN

2011-07-13 Thread Mark Van Bogart
On Wed, Jul 13, 2011 at 6:33 PM, Timothy Murphy  wrote:
> Tim Nelson wrote:
>
>> When VPN problems arise with specific applications,
>> always look at MTU as a possible culprit.
>
> Thanks for the suggestion.
> I should say that I am running OpenVPN on my system
> with no problem at all.
> Also the AT&T VPN apears to be running fine;
> it is just the sametime program running over VPN
> which is not working properly.
>
> Incidentally, what would you suggest as a possible MTU value?
> And what is the simplest way to change the MTU on a CentOS server?
>
> --
> Timothy Murphy
> e-mail: gayleard /at/ eircom.net
> tel: +353-86-2336090, +353-1-2842366
> s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

I have only run Windows through the home routers.  If I recall
correctly (bad memory sometimes), I had to open port 500 (isakmp) for
IPSEC to work.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with AT&T VPN

2011-07-13 Thread Timothy Murphy
Tim Nelson wrote:

> When VPN problems arise with specific applications, 
> always look at MTU as a possible culprit.

Thanks for the suggestion.
I should say that I am running OpenVPN on my system
with no problem at all.
Also the AT&T VPN apears to be running fine;
it is just the sametime program running over VPN
which is not working properly.

Incidentally, what would you suggest as a possible MTU value?
And what is the simplest way to change the MTU on a CentOS server?

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with AT&T VPN

2011-07-13 Thread Timothy Murphy
yonatan pingle wrote:

Thanks for your response.

> I am not sure it's related to centos that much, when it comes to port
> forwarding, if you might use iptables correctly with several NIC(s),

I should have said that I am using shorewall,
which seems to work perfectly for my purposes.
 
> if you can create a vlan with your linksys, like they talk about here:
> http://www.dd-wrt.com/phpBB2/viewtopic.php?p=4692

I'm not really clear if there is any difference between vlan and vpn.
In any case I am running OpenVPN on the server
linking computers in 2 countries,
and this seems to work perfectly.


One obvious possibility is that the IBM Lotus "sametime" program
that is not working properly requires some port to be open;
but I haven't been able to work out which port,
if that is indeed the cause of the problem.

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with AT&T VPN

2011-07-13 Thread yonatan pingle
I am not sure it's related to centos that much, when it comes to port
forwarding, if you might use iptables correctly with several NIC(s),

if you can create a vlan with your linksys, like they talk about here:
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=4692

I would configure a DMZ pool for the laptop usage only, and forward
the needed ports correctly towards the end user Network port.

this might help you also for your centos iptables configuration :
http://www.howtoforge.com/nat_iptables




On Wed, Jul 13, 2011 at 11:41 PM,   wrote:
> Timothy Murphy wrote:
>>
>> I'm running a CentOS-5.6 server,
>> which in general runs perfectly.
>> My setting is possibly a little unusual:
>> ADSL -> Billion 5200S RC modem/router -> CentOS-5.6 HP MicroServer
>>                       -> Linksys WRT54GL router .
>>
>> My daughter is just visiting me,
>> and she has to contact her job using AT&T VPN
>> on her laptop under Windows XP.
>>
>> Unfortunately this does not work on my system
>> when connected to the Linksys router by WiFi or ethernet.
>> More precisely, the IBM Lotus "sametime" application does not work,
>> and she cannot access the IBM Intranet homepage
>> which she needs to use company tools and applications.
> 
> You may have a port closed that, um, damn, it's only been 3 years since I
> was using that client, and I can't remember the name, anyway, that it
> uses.
>
>          mark
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Best Regards,
Yonatan Pingle
RHCT | RHCSA | CCNA1
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C6: Suspend on laptop close doesn't work

2011-07-13 Thread Devin Reade
When I was trying out the RHEL6 beta I saw this problem on a
recent model top line Thinkpad T series.  (A T500?  It's not in
front of me right now.) That machine is now
running RHEL6.1 and hibernation is fine, evidenced by the fact
that two days ago I unplugged it after forgetting to shut it
down and it recovered just fine.

I don't recall if the fixed kernel was part of the initial
RHEL6.0 or not, but you might find that as the CentOS updates
catch up the problem may go away.

[And with respect to the 'Effecting CentOS change' thread, yes
having an early RHEL test system with a license and submitting a 
bug report works wonders.  I was motivated by wanting CentOS to 
work on my new laptop ...]

Devin

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] use of MAILTO variable in crontab

2011-07-13 Thread Devin Reade
If you want the output of your cronjob to go to a particular place
that is a bit too inconvenient to do using the built-in functionality,
put a script around your commands and handle the mailing yourself.
This is a good general rule whenever something you want to run from 
cron is not trivial (in the sense of its invocation):


#! /bin/sh

MAILTO=someb...@example.com
COMMAND="/usr/local/bin/mycommand"
COMMAND_ARGS="some args"

[ -x $COMMAND ] || exit 0

# safe place for temporary files, including cleanup on exit
TDIR=`mktemp -qtd mycommand.XX`
if [ $? -ne 0 ]; then
echo "Failed to create temporary directory; aborted"
exit 1
fi
trap "/bin/rm -rf $TDIR" 0 1 2 15

OUT1=$TDIR/out1
MAIL_OUT=$TDIR/mail-out

# run it
$COMMAND $COMMAND_ARGS 2>&1 > $OUT1

# only mail something out if it produced output.  Alternately
# you might want to check the value of $?
if [ -s $OUT1 ]; then

h=`hostname`
cat > $MAIL_OUT <> $MAIL_OUT
/usr/sbin/sendmail -t < $MAIL_OUT
fi

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PackageKit via ssh

2011-07-13 Thread Akemi Yagi
On Wed, Jul 13, 2011 at 11:51 AM, Ljubomir Ljubojevic  wrote:
> Les Mikesell wrote:
>>
>> Has anyone packaged the freenx server for 6.x yet?
>>
> aTrpms has them.

It looks as if the stuff in ATrpms is not being maintained. The nx
package required by freenx-server/client is dated 2007 (spec file) and
still in the category: "bleeding packages means asking for trouble!".

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Effecting CentOS change

2011-07-13 Thread Ned Slider
On 13/07/11 21:46, Les Mikesell wrote:
> On 7/13/2011 3:17 PM, Paul Heinlein wrote:
>> CentOS has a clear mission. It's the first paragraph on the centos.org
>> home page:
>>
>>  CentOS is an Enterprise-class Linux Distribution derived from
>>  sources freely provided to the public by a prominent North American
>>  Enterprise Linux vendor.  CentOS conforms fully with the upstream
>>  vendors redistribution policy and aims to be 100% binary compatible.
>>  (CentOS mainly changes packages to remove upstream vendor branding
>>  and artwork.)  CentOS is free.
>>
>> Discussions about the packages and utilities that are or aren't
>> included in CentOS (the recent discussion of system-config-bind comes
>> to mind, but it's not the only example) should re-read the CentOS
>> mission.
>
> Agreed that this isn't something related to centos-dev or packaging.
> But in many/most cases the discussions of that ilk are about things that
> most centos users have to deal with.
>
>> Anyone wanting change in that regard should, imo, purchase a license
>> from the prominent North American Enterprise Linux vendor and provide
>> feedback as a paying customer. Said vendor may or may not heed those
>> suggestions, but that is the only effective way to change the CentOS
>> utility/package list.
>>
>> Honestly, we could all -- every single last one of us -- agree that
>> $PACKAGE belongs in the core CentOS distribution, but until
>> $LARGE_VENDOR agrees, we're just shouting in a vacuum.
>
> I think most such discussions would end happily if someone mentions a
> suitable $PACKAGE name in EPEL or the non-base-overwriting section of
> rpmforge. Everything we use doesn't have to be included in the base
> distribution but if it isn't, people might need help in choosing/finding
> the appropriate $PACKAGE or learning that one doesn't exist.
>

What also would have helped is if people had tested RHEL 6 either when 
it was in public beta or when first released (with the free 30 day 
trial) and noted omission then rather than waiting 8 months down the 
line to voice an opinion. That would have given plenty of time to get 
requested packages incorporated into one's favourite 3rd party 
repository for the release of CentOS 6.




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with AT&T VPN

2011-07-13 Thread m . roth
Timothy Murphy wrote:
>
> I'm running a CentOS-5.6 server,
> which in general runs perfectly.
> My setting is possibly a little unusual:
> ADSL -> Billion 5200S RC modem/router -> CentOS-5.6 HP MicroServer
>   -> Linksys WRT54GL router .
>
> My daughter is just visiting me,
> and she has to contact her job using AT&T VPN
> on her laptop under Windows XP.
>
> Unfortunately this does not work on my system
> when connected to the Linksys router by WiFi or ethernet.
> More precisely, the IBM Lotus "sametime" application does not work,
> and she cannot access the IBM Intranet homepage
> which she needs to use company tools and applications.

You may have a port closed that, um, damn, it's only been 3 years since I
was using that client, and I can't remember the name, anyway, that it
uses.

  mark


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PackageKit via ssh

2011-07-13 Thread m . roth
Les Mikesell wrote:
> On 7/13/2011 3:19 PM, m.r...@5-cent.us wrote:
>> John R Pierce wrote:
>>> On 07/13/11 12:46 PM, m.r...@5-cent.us wrote:
 Would it work if you tried ssh -A -X user@hostname?
>>>
>>> I've not used that option, and the man page isn't explaining it to me
>>> such that I quite understand what it does.
>>
>> I use it all the time. -A forwards authentication, if you've got an
>> agent running. Most likely, you've got ssh-agent as a daemon (check
>> via ps). If you've got a key in ~/.ssh/, like id_dsa&  id_dsa.pub, and
>> have used ssh-add to add it, and the .pub is in the ~/.ssh
>> /authorized_keys on the targets, you can go from one machine to another
>> to another, without have to come back.
>
> How does that get you to root on the remote for the install step?  Do
> you have to have your key in root's authorized_keys?

Yep, that's exactly what you do.

mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos x11

2011-07-13 Thread Ljubomir Ljubojevic
Ron Blizzard wrote:
> On Wed, Jul 13, 2011 at 3:13 PM, Craig White  wrote:
> 
>> the reason that you don't want an xorg.conf file is that multiple users can 
>> have different display settings instead of being locked in by an overall 
>> configuration file.
> 
> Okay. But I've always left my root account at default video settings
> and changed my user account's video settings, and it seemed to work
> fine that way before? But, I think, once you install the proprietary
> nVidia driver, that an xorg.conf is built anyhow -- so this probably
> won't be an issue for me.
> 
xorg.conf only defines what resolutions, depths,... *can* be selected. 
You can add 10x5 pixels in xorg.conf and never ever use it. 
Users resolution is set in Gnome/KDE, not in xorg.conf.

Ljubomir
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Effecting CentOS change

2011-07-13 Thread Les Mikesell
On 7/13/2011 3:17 PM, Paul Heinlein wrote:
> CentOS has a clear mission. It's the first paragraph on the centos.org
> home page:
>
> CentOS is an Enterprise-class Linux Distribution derived from
> sources freely provided to the public by a prominent North American
> Enterprise Linux vendor.  CentOS conforms fully with the upstream
> vendors redistribution policy and aims to be 100% binary compatible.
> (CentOS mainly changes packages to remove upstream vendor branding
> and artwork.)  CentOS is free.
>
> Discussions about the packages and utilities that are or aren't
> included in CentOS (the recent discussion of system-config-bind comes
> to mind, but it's not the only example) should re-read the CentOS
> mission.

Agreed that this isn't something related to centos-dev or packaging. 
But in many/most cases the discussions of that ilk are about things that 
most centos users have to deal with.

> Anyone wanting change in that regard should, imo, purchase a license
> from the prominent North American Enterprise Linux vendor and provide
> feedback as a paying customer. Said vendor may or may not heed those
> suggestions, but that is the only effective way to change the CentOS
> utility/package list.
>
> Honestly, we could all -- every single last one of us -- agree that
> $PACKAGE belongs in the core CentOS distribution, but until
> $LARGE_VENDOR agrees, we're just shouting in a vacuum.

I think most such discussions would end happily if someone mentions a 
suitable $PACKAGE name in EPEL or the non-base-overwriting section of 
rpmforge. Everything we use doesn't have to be included in the base 
distribution but if it isn't, people might need help in choosing/finding 
the appropriate $PACKAGE or learning that one doesn't exist.

-- 
   Les Mikesell
lesmikes...@gmail.com




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with AT&T VPN

2011-07-13 Thread Tim Nelson
- Original Message -
> I'm running a CentOS-5.6 server,
> which in general runs perfectly.
> My setting is possibly a little unusual:
> ADSL -> Billion 5200S RC modem/router -> CentOS-5.6 HP MicroServer
> -> Linksys WRT54GL router .
> 
> My daughter is just visiting me,
> and she has to contact her job using AT&T VPN
> on her laptop under Windows XP.
> 
> Unfortunately this does not work on my system
> when connected to the Linksys router by WiFi or ethernet.
> More precisely, the IBM Lotus "sametime" application does not work,
> and she cannot access the IBM Intranet homepage
> which she needs to use company tools and applications.
> 
> It works perfectly at a public WiFi site nearby.
> 

When VPN problems arise with specific applications, always look at MTU as a 
possible culprit.

--Tim
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PackageKit via ssh

2011-07-13 Thread Les Mikesell
On 7/13/2011 3:19 PM, m.r...@5-cent.us wrote:
> John R Pierce wrote:
>> On 07/13/11 12:46 PM, m.r...@5-cent.us wrote:
>>> Would it work if you tried ssh -A -X user@hostname?
>>
>> I've not used that option, and the man page isn't explaining it to me
>> such that I quite understand what it does.
>
> I use it all the time. -A forwards authentication, if you've got an agent
> running. Most likely, you've got ssh-agent as a daemon (check via ps). If
> you've got a key in ~/.ssh/, like id_dsa&  id_dsa.pub, and have used
> ssh-add to add it, and the .pub is in the ~/.ssh/authorized_keys on the
> targets, you can go from one machine to another to another, without have
> to come back.

How does that get you to root on the remote for the install step?  Do 
you have to have your key in root's authorized_keys?

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C6: Suspend on laptop close doesn't work

2011-07-13 Thread ken
On 07/13/2011 09:23 AM Mogens Kjaer wrote:
> On 07/13/2011 03:17 PM, Silviu Adrian Joian wrote:
>> Probably the video driver is not working as it should, I have the same
>> problem after installing the vendors proprietary drivers on my laptop.
> 
> It's standard Intel graphics on my laptop, no proprietary drivers.
> 
> Mogens
> 

Yes, in fact you already said in your OP that suspend works from the
menu, so obviously the problem's not with the driver.

I had this same problem years ago and there was an easy fix.  It was so
long ago and the solution came to me so quickly, that today I can't
remember exactly what I did.  Generally though, I used some utility or
application which binds a key to an action.  To designate the key, I
just had to press that key.  (In linux, everything on the keyboard is a
key, even the little stem that normally would hit the switch and invoke
suspend.  It's a key in the same way that 'a' and '$' are keys.)  So
after designating the key-- by pressing it-- I entered the command for
suspend (which I had to search down).

Try looking at Foot -> System -> Preferences -> Keyboard Shortcuts (in
Gnome).  There's a "Sleep" item there that maybe can be configured to
fix the problem.

hth,
ken

-- 
"When a society comes together and makes decisions in harmony,
when it respects its most noble traditions, cares for its most
vulnerable members, treats its forests and lands with respect,
then it will prosper and not decline."
--Buddha, Mahaparinirvana Sutra
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Problem with AT&T VPN

2011-07-13 Thread Timothy Murphy

I'm running a CentOS-5.6 server,
which in general runs perfectly.
My setting is possibly a little unusual:
ADSL -> Billion 5200S RC modem/router -> CentOS-5.6 HP MicroServer
-> Linksys WRT54GL router .

My daughter is just visiting me,
and she has to contact her job using AT&T VPN
on her laptop under Windows XP.

Unfortunately this does not work on my system
when connected to the Linksys router by WiFi or ethernet.
More precisely, the IBM Lotus "sametime" application does not work,
and she cannot access the IBM Intranet homepage
which she needs to use company tools and applications.

It works perfectly at a public WiFi site nearby.


-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 system-config-bind missing?

2011-07-13 Thread Warren Young
On 7/12/2011 9:19 PM, Emmett Culley wrote:
> how
> are we to manage the DNS server?  It is NOT trivial to create and
> manage DNS records with a text editor.

If editing BIND zone files is too complex for you or it's just overly 
complex for your situation, I recommend switching to dnsmasq.  It 
combines DNS and DHCP in a single easy-to-configure daemon.  Instead of 
zone files, it uses /etc/hosts.

In addition to being simpler to configure than either BIND or ISC dhcpd, 
the fact that it combines DNS and DHCP in the same server means "ping 
mylaptop" does what you expect.  That is to say, there's an automatic 
DNS association created when a client gets a DHCP lease, based on the 
name the client uses to identify itself.

You can configure ISC dhcpd to make it tell BIND the name-to-IP mapping 
for each lease it hands out, but you don't get that for free:

http://www.semicomplete.com/articles/dynamic-dns-with-dhcp/

It's a fine article, but compared to "it works out of the box", it's 
really no contest, for the humble small office or home user.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos x11

2011-07-13 Thread Ron Blizzard
On Wed, Jul 13, 2011 at 3:13 PM, Craig White  wrote:

> the reason that you don't want an xorg.conf file is that multiple users can 
> have different display settings instead of being locked in by an overall 
> configuration file.

Okay. But I've always left my root account at default video settings
and changed my user account's video settings, and it seemed to work
fine that way before? But, I think, once you install the proprietary
nVidia driver, that an xorg.conf is built anyhow -- so this probably
won't be an issue for me.

-- 
RonB -- Using CentOS 5.6
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos x11

2011-07-13 Thread m . roth
Craig White wrote:
>
> On Jul 13, 2011, at 1:10 PM, Ron Blizzard wrote:
>
>> On Wed, Jul 13, 2011 at 10:09 AM, Ljubomir Ljubojevic 
>> wrote:
>>
>>> Based on my experience on RHEL Beta1, "Xorg --configure" will create
>>> xorg.conf which you can then tweak and use. On older Intel graphics
>>> chip I had to use "nomodeset" kernel option to have normal picture.
>>>
>>> New Xorg tries to read EDID information from monitor but monitor makers
>>> EDID code is not always compatible with what Xorg expects. That is why
>>> you get only minimal resolution and need xorg.conf file.
>>
>> I've had to fight this lack of xorg.conf in other distributions --
>> that and the nouveau video driver and grub2 -- and was kind of
>> dreading the day it would come to CentOS. At least we didn't get Gnome
>> 3. Not quite sure why these kinds of changes are being made, but there
>> are a lot of things I don't understand -- and I'm sure there are good
>> reasons for all of it. I'll just adjust and find ways to work around
>> it.
> 
> the reason that you don't want an xorg.conf file is that multiple users
> can have different display settings instead of being locked in by an
> overall configuration file.

So, you aren't nfs mounting home directories? You can have individual ones
on your own workstation.

 mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PackageKit via ssh

2011-07-13 Thread m . roth
John R Pierce wrote:
> On 07/13/11 12:46 PM, m.r...@5-cent.us wrote:
>> Would it work if you tried ssh -A -X user@hostname?
>
> I've not used that option, and the man page isn't explaining it to me
> such that I quite understand what it does.

I use it all the time. -A forwards authentication, if you've got an agent
running. Most likely, you've got ssh-agent as a daemon (check via ps). If
you've got a key in ~/.ssh/, like id_dsa & id_dsa.pub, and have used
ssh-add to add it, and the .pub is in the ~/.ssh/authorized_keys on the
targets, you can go from one machine to another to another, without have
to come back.

mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Effecting CentOS change

2011-07-13 Thread Paul Heinlein
CentOS has a clear mission. It's the first paragraph on the centos.org 
home page:

   CentOS is an Enterprise-class Linux Distribution derived from
   sources freely provided to the public by a prominent North American
   Enterprise Linux vendor.  CentOS conforms fully with the upstream
   vendors redistribution policy and aims to be 100% binary compatible.
   (CentOS mainly changes packages to remove upstream vendor branding
   and artwork.)  CentOS is free.

Discussions about the packages and utilities that are or aren't 
included in CentOS (the recent discussion of system-config-bind comes 
to mind, but it's not the only example) should re-read the CentOS 
mission.

Anyone wanting change in that regard should, imo, purchase a license 
from the prominent North American Enterprise Linux vendor and provide 
feedback as a paying customer. Said vendor may or may not heed those 
suggestions, but that is the only effective way to change the CentOS 
utility/package list.

Honestly, we could all -- every single last one of us -- agree that 
$PACKAGE belongs in the core CentOS distribution, but until 
$LARGE_VENDOR agrees, we're just shouting in a vacuum.

-- 
Paul Heinlein <> heinl...@madboa.com <> http://www.madboa.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos x11

2011-07-13 Thread Craig White

On Jul 13, 2011, at 1:10 PM, Ron Blizzard wrote:

> On Wed, Jul 13, 2011 at 10:09 AM, Ljubomir Ljubojevic  wrote:
> 
>> Based on my experience on RHEL Beta1, "Xorg --configure" will create
>> xorg.conf which you can then tweak and use. On older Intel graphics chip
>> I had to use "nomodeset" kernel option to have normal picture.
>> 
>> New Xorg tries to read EDID information from monitor but monitor makers
>> EDID code is not always compatible with what Xorg expects. That is why
>> you get only minimal resolution and need xorg.conf file.
> 
> I've had to fight this lack of xorg.conf in other distributions --
> that and the nouveau video driver and grub2 -- and was kind of
> dreading the day it would come to CentOS. At least we didn't get Gnome
> 3. Not quite sure why these kinds of changes are being made, but there
> are a lot of things I don't understand -- and I'm sure there are good
> reasons for all of it. I'll just adjust and find ways to work around
> it.

the reason that you don't want an xorg.conf file is that multiple users can 
have different display settings instead of being locked in by an overall 
configuration file.

Craig
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos x11

2011-07-13 Thread Ron Blizzard
On Wed, Jul 13, 2011 at 10:09 AM, Ljubomir Ljubojevic  wrote:

> Based on my experience on RHEL Beta1, "Xorg --configure" will create
> xorg.conf which you can then tweak and use. On older Intel graphics chip
> I had to use "nomodeset" kernel option to have normal picture.
>
> New Xorg tries to read EDID information from monitor but monitor makers
> EDID code is not always compatible with what Xorg expects. That is why
> you get only minimal resolution and need xorg.conf file.

I've had to fight this lack of xorg.conf in other distributions --
that and the nouveau video driver and grub2 -- and was kind of
dreading the day it would come to CentOS. At least we didn't get Gnome
3. Not quite sure why these kinds of changes are being made, but there
are a lot of things I don't understand -- and I'm sure there are good
reasons for all of it. I'll just adjust and find ways to work around
it.

-- 
RonB -- Using CentOS 5.6
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PackageKit via ssh

2011-07-13 Thread John R Pierce
On 07/13/11 12:46 PM, m.r...@5-cent.us wrote:
> Would it work if you tried ssh -A -X user@hostname?

I've not used that option, and the man page isn't explaining it to me 
such that I quite understand what it does.


-- 
john r pierceN 37, W 122
santa cruz ca mid-left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PackageKit via ssh

2011-07-13 Thread m . roth
John R Pierce wrote:
> On 07/13/11 10:18 AM, Les Mikesell wrote:
>> On 7/13/2011 11:55 AM, Nicolas Thierry-Mieg wrote:
>>
>>> >  So: sorry if my question wasn't precise enough, what I really wanted
>>> to ask was: is there a way tu use a PackageKit GUI remotely via ssh?
>> Ssh (-Y) in as root or 'su -' before starting it.  Whatever it is doing
>> to escalate permissions for the install doesn't seem to mesh well with
>> the desktop being remote - or maybe you need to start some agent within
>> the session to make it work.
>
> 3 steps...
>
> 1) log into a user account via: ssh -X user@hostname
> 2) drop to root with: su -
> 3) copy the Xauth file from the user account:  cp /home/user/.Xauthority
> /root && chown root:root /root/.Xauthority
>
> NOW you can run remote X apps via the ssh tunnel

Would it work if you tried ssh -A -X user@hostname?

   mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 6 system-config-bind missing?

2011-07-13 Thread R P Herrold
On Wed, 13 Jul 2011, Les Mikesell wrote:

> around.  Russ may be of the opinion that everyone should memorize
> bazillion-page books of details about each quirky service or hire

dunno that those are my words at all

The issue was DNS zone files

One takes a template, and in the residential user case, edits 
perhaps 5 lines, consisting of A and CNAME records for a 
residential network for the 'forward' zonefiles ... or uses 
'h2n' that takes as its input a file that looks like 
/etc/hosts

s-c-bind may have met the need or it may not have, but it was 
not worth learning to me, after a brief examination, because 
it provided no gain over incumbent tools to me to make it 
worth going down its learning curve.  The s-c-kickstart-config 
(or whatever it was named) tool is in that same boat

The one off domain case is just not that hard

The commercial case with hundred of complex entries is not the 
same scale problem, and to hope for a common tool need not be 
a dream -- but, the overhead of setting up a scalable keyed 
DNS management tool, is not worth the effort cost to a 
residential user and I suspect not worth the support load it 
would cost the upstream on what is an essentially bespoke 
solution

-- Russ herrold
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] use of MAILTO variable in crontab

2011-07-13 Thread James B. Byrne
On Wed Jul 13 15:30:30 EDT 2011, Brunner, Brian T. BBrunner at
gai-tronics.com wrote:
>
> Note: The script that you trigger (a wrapper for the command
> you really want to run) can have the per-command peculiarities
> in it.
> Also: the command in the crontab file can look like 'cmd |
> mail -s "Subject of mail" user'
> Also: a file (e.g. 'mumble') in the /etc/cron.d directory is
> effectively an extension of the /etc/crontab file, and MAILTO
> can be set there (IIRC it will only effect entries in that
> /etc/cron.d/mumble file).

Thanks.  I gather from these and previous comments, and from
experimentation, that it is not possible to arbitrarily set the
MAILTO variable in the actual crontab entry.  One must set it
somewhere before that entry and, where necessary, reset it to
something else immediately thereafter.

-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte & Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 system-config-bind missing?

2011-07-13 Thread Emmett Culley
On 07/13/2011 12:15 PM, Les Mikesell wrote:
> On 7/13/2011 1:50 PM, John Hinton wrote:
>>
 But my use cases are related to a prodduction environment,
 maintaining several hundred zone files, with lots of adds,
 changes, and deletes.  The s-c-bind GUI tool was useless,
 compared to TUI edits (certain legacy systems) and scripts to
 do the backups, accuracy audit, and creation of all files
 including the PTR record files
>>> So, aren't computer programs supposed to be able to deal with
>>> complicated cases, or just not free computer programs?  Or is the input
>>> syntax just too weird?  While s-c-bind may not have been the right
>>> answer, it just seems odd as a missing piece in the distribution and
>>> epel-provided packages.  Almost as odd as not having a network-aware
>>> authentication mechanism working as a server out of the box on your
>>> initial install - as though it would be unusual to have more than one
>>> computer and want those initial users to be able to log into the others
>>> you'd add later.
>>>
>> I would have to guess that UpStream decided it was not to be. They most
>> likely had very good reasons for this. I 'barely' looked at it as it
>> could not do what I need to do and that was some years back. Is/Was it
>> capable of doing IPV6? That would be a good reason to put it to bed...
>> given IPV6 will likely become widespread during the lifespan of CentOS
>> 6. Various SPF/SenderID/DomainKeys things also ride on bind these days.
>> It could be that UpStream decided that was a good reason to put it to
>> bed? Either way, CentOS is a nearly exact clone of UpStream, so really
>> you need to go complain at UpStream, not on this list. CentOS has
>> exactly matched their goal of providing the same packages available
>> under UpStream. There is no point to complaining here.
> 
> It's not so much a complaint and certainly not directed at CentOS, as
> pointing out a curious situation that pretty much everyone has to work
> around.  Russ may be of the opinion that everyone should memorize
> bazillion-page books of details about each quirky service or hire
> someone who did, but I think the point of using computers should be to
> make things easier.  And I'm surprised that there isn't a common tool to
> make it easy at least in the usual 3rd party repos.
> 
Yes, certainly NOT a complaint with CentOS.  system-config-bind was a very 
useful too for us.  It wasn't perfect and there were a few features it could 
have benefited from, but it did a good enough job for we needed it to do.

I had been thinking recently that we needed to start looking for a different 
way to manage the DNS servers on our gateways, and had even begun to build 
initial bind configuration for production systems into the configuration 
scripts.  I guess I am unhappy because someone else made the decision about 
when to stop using system-config-bind for me :-) And for no good reason that I 
can figure.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Gnome System Monitor crashes on Centos 6 x86_64

2011-07-13 Thread Ljubomir Ljubojevic
Ljubomir Ljubojevic wrote:
> Frank Cox wrote:
>> On Tue, 12 Jul 2011 09:36:08 +0200
>> Ljubomir Ljubojevic wrote:
>>
>>> Gnome System Monitor used to crash on RHEL Beta. Have you ran update as 
>>> soon as you installed? It is most recommended course of action.
>> Several megabytes of updates automatically showed up some minutes after I
>> finished installing the operating system so I applied them and as far as I 
>> know
>> I currently have the latest-and-greatest version of gnome-applets installed.
>>
> This happened on my new CentOS 6 also, but only when you want to put it 
> as applet.

I just uploaded abrt.log to bug 4964 on bugs.centos.org.

Ljubomir
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Howto create a VPN connection on desktop (CentOS 6)

2011-07-13 Thread Mark Weaver
On 7/13/2011 2:49 PM, Emmanuel Noobadmin wrote:
> On 7/13/11, Mark Weaver  wrote:
>> For a short time I dabbled with an SSH app on my Droid X so that I could
>> connect to and interact with Linux servers that I've deployed, but found
>> it all but impossible to see the screen thus rendering the application
>> nothing more than something taking up space on my device. Now, it's a
>> different story if the device is an iPad or Galaxy tablet device, but a
>> phone?
>
> Which was why I believe a phone with a 5" screen would be perfect for
> emergency remote administration in situations where we don't have (or
> for whatever reasons can't use) a proper laptop/netbook.
>
> Unfortunately that pretty much limits the current options to the Dell
> Streak which I use with a small bluetooth keyboard that also has
> cursor keys.
>
> Of course I only used it for SSH/CLI access since I don't normally use
> X for administration.

makes my eyes ache just thinking about it. :)

-- 
Mark Weaver
Computer Information Systems & Services, Inc.
mwea...@compinfosystems.com
(717) 512-9718
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] use of MAILTO variable in crontab

2011-07-13 Thread Brunner, Brian T.
centos-boun...@centos.org wrote:
> On Wed Jul 13 15:03:40 EDT 2011, Michael Best mbest at pendragon.org
>  wrote:
>> Like this:
>> 
>> MAILTO=testaddr at harte-lyne.ca
>> 30 2 * * * echo "this should be mailed"
> 
> That sets MAILTO for the entire crontab does it not?  I want to set
> MAILTO differently for specific crontab entries.  Is that possible?
> How is it done?  Or do I have to pipe stuff to /usr/bin/mail
> explicitly?

Note: The script that you trigger (a wrapper for the command you really
want to run) can have the per-command peculiarities in it.
Also: the command in the crontab file can look like 'cmd | mail -s
"Subject of mail" user'
Also: a file (e.g. 'mumble') in the /etc/cron.d directory is effectively
an extension of the /etc/crontab file, and MAILTO can be set there (IIRC
it will only effect entries in that /etc/cron.d/mumble file).


Insert spiffy .sig here:
Life is complex: it has both real and imaginary parts.
Life is not measured by the number of breaths we take, but by the
moments that take our breath away. 


//me
***
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the system manager. This footnote also confirms that this
email message has been swept for the presence of computer viruses.
www.Hubbell.com - Hubbell Incorporated**

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PackageKit via ssh

2011-07-13 Thread John R Pierce
On 07/13/11 10:18 AM, Les Mikesell wrote:
> On 7/13/2011 11:55 AM, Nicolas Thierry-Mieg wrote:
>
>> >  So: sorry if my question wasn't precise enough, what I really wanted to
>> >  ask was: is there a way tu use a PackageKit GUI remotely via ssh?
> Ssh (-Y) in as root or 'su -' before starting it.  Whatever it is doing
> to escalate permissions for the install doesn't seem to mesh well with
> the desktop being remote - or maybe you need to start some agent within
> the session to make it work.

3 steps...

1) log into a user account via: ssh -X user@hostname
2) drop to root with: su -
3) copy the Xauth file from the user account:  cp /home/user/.Xauthority 
/root && chown root:root /root/.Xauthority

NOW you can run remote X apps via the ssh tunnel


-- 
john r pierceN 37, W 122
santa cruz ca mid-left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] use of MAILTO variable in crontab

2011-07-13 Thread m . roth
James B. Byrne wrote:
>
> On Wed Jul 13 15:03:40 EDT 2011, Michael Best mbest at pendragon.org
>  wrote:
>> Like this:
>>
>> MAILTO=testaddr at harte-lyne.ca
>> 30 2 * * * echo "this should be mailed"
>
> That sets MAILTO for the entire crontab does it not?  I want to set
> MAILTO differently for specific crontab entries.  Is that possible?
> How is it done?  Or do I have to pipe stuff to /usr/bin/mail
> explicitly?

30 2 * * * echo "this should be mailed" | mail -s "important email"
testa...@harte-lyne.ca

will work.

 mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Installing from CD

2011-07-13 Thread John R Pierce
On 07/13/11 8:30 AM, Les Mikesell wrote:
> I haven't tried it with a cd/dvd drive, but you can get inexpensive USB
> cables with combo adapters for IDE (both full and laptop size) and sata
> with corresponding power connectors that are very handy to have around
> for temporary hookups.

afaik, those won't work with CD/DVD drives, as they use a completely 
different command protocol on the IDE/SATA  (ATAPI is scsi based 
commands over the IDE or SATA port).   Anyways, an older system probably 
can't boot from a USB CD/DVD.



-- 
john r pierceN 37, W 122
santa cruz ca mid-left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 system-config-bind missing?

2011-07-13 Thread Les Mikesell
On 7/13/2011 1:50 PM, John Hinton wrote:
>
>>> But my use cases are related to a prodduction environment,
>>> maintaining several hundred zone files, with lots of adds,
>>> changes, and deletes.  The s-c-bind GUI tool was useless,
>>> compared to TUI edits (certain legacy systems) and scripts to
>>> do the backups, accuracy audit, and creation of all files
>>> including the PTR record files
>> So, aren't computer programs supposed to be able to deal with
>> complicated cases, or just not free computer programs?  Or is the input
>> syntax just too weird?  While s-c-bind may not have been the right
>> answer, it just seems odd as a missing piece in the distribution and
>> epel-provided packages.  Almost as odd as not having a network-aware
>> authentication mechanism working as a server out of the box on your
>> initial install - as though it would be unusual to have more than one
>> computer and want those initial users to be able to log into the others
>> you'd add later.
>>
> I would have to guess that UpStream decided it was not to be. They most
> likely had very good reasons for this. I 'barely' looked at it as it
> could not do what I need to do and that was some years back. Is/Was it
> capable of doing IPV6? That would be a good reason to put it to bed...
> given IPV6 will likely become widespread during the lifespan of CentOS
> 6. Various SPF/SenderID/DomainKeys things also ride on bind these days.
> It could be that UpStream decided that was a good reason to put it to
> bed? Either way, CentOS is a nearly exact clone of UpStream, so really
> you need to go complain at UpStream, not on this list. CentOS has
> exactly matched their goal of providing the same packages available
> under UpStream. There is no point to complaining here.

It's not so much a complaint and certainly not directed at CentOS, as 
pointing out a curious situation that pretty much everyone has to work 
around.  Russ may be of the opinion that everyone should memorize 
bazillion-page books of details about each quirky service or hire 
someone who did, but I think the point of using computers should be to 
make things easier.  And I'm surprised that there isn't a common tool to 
make it easy at least in the usual 3rd party repos.

-- 
   Les Mikesell
 lesmikes...@gmail.com


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] use of MAILTO variable in crontab

2011-07-13 Thread James B. Byrne

On Wed Jul 13 15:03:40 EDT 2011, Michael Best mbest at pendragon.org
 wrote:
> Like this:
>
> MAILTO=testaddr at harte-lyne.ca
> 30 2 * * * echo "this should be mailed"

That sets MAILTO for the entire crontab does it not?  I want to set
MAILTO differently for specific crontab entries.  Is that possible? 
How is it done?  Or do I have to pipe stuff to /usr/bin/mail
explicitly?



-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte & Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 64 bit

2011-07-13 Thread Robert Heller
At Wed, 13 Jul 2011 09:56:39 -0600 CentOS mailing list  
wrote:

> 
> --On Wednesday, July 13, 2011 09:00:48 AM +0200 Ljubomir Ljubojevic
>  wrote:
> 
> > RHEL/CentOS always installs both 32-bit and 64-bit libraries
> 
> I disagree.  I'm not sure what the algorithm is to select all-64
> vs mixed-32-64 on 64 bit platforms, but I've got a datapoint that
> disproves the generalization:  My Thinkpad laptop had a fresh 
> install of RHEL6 and it was (sufficiently) 64-bit pure that I had
> to later install lots of 32 bit libraries for some legacy applications.
> IIRC, that included glibc.

RHEL / CentOS through *5* installs both 32-bit and 64-bit libraries by
default.  I guess starting with RHEL / CentOS *6*, they (Red Hat) are
going to 'pure' 64 bit on 64-bit machines...

> 
> Devin
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
>

-- 
Robert Heller -- 978-544-6933 / hel...@deepsoft.com
Deepwoods Software-- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] use of MAILTO variable in crontab

2011-07-13 Thread Michael Best
On 07/13/2011 12:37 PM, James B. Byrne wrote:
> I want to do something like this:
>
> 30 2 * * * MAILTO=testa...@harte-lyne.ca; echo "this should be mailed"
>
> I have searched extensively and from what I have read I believe that
> this should work.  But evidently I misapprehend how cron and MAILTO
> is supposed to work as my example does not cause any mail to be sent
> as far as I can determine from maillog.
>
> How does one specify unique MAILTOs for different cron jobs where
> the desired recipient is not the user that runs the cron job?

Like this:

MAILTO=testa...@harte-lyne.ca
30 2 * * * echo "this should be mailed"

-Mike
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: USB3 drive occasionally not detected

2011-07-13 Thread Brunner, Brian T.
centos-boun...@centos.org wrote:
> Am Mittwoch, 13. Juli 2011 13:42 schrieb Brunner, Brian T.:
> 
>> Try this:
>> Make (eg) /usr/bin/usb3mount (your own wrapper for /bin/mount for
>> usb3 devices) Include the line
>> for num in 0 1 2 3 4 5 ; do echo "- - -" >
>> /sys/class/scsi_host/host$num/scan; done
> 
> No effect (have a number 9 t# therefore I run from 0 till 9.
> 
> Message:
> 
> ./usb3mount: line 2: /sys/class/scsi_host/host4/scan: Datei oder
> Verzeichnis nicht gefunden
> ./usb3mount: line 2: /sys/class/scsi_host/host5/scan: Datei oder
> Verzeichnis nicht gefunden
> ./usb3mount: line 2: /sys/class/scsi_host/host6/scan: Datei oder
> Verzeichnis nicht gefunden
> ./usb3mount: line 2: /sys/class/scsi_host/host7/scan: Datei oder
> Verzeichnis nicht gefunden
> ./usb3mount: line 2: /sys/class/scsi_host/host8/scan: Datei oder
> Verzeichnis nicht gefunden

"file or directory not found"
Look for 
/sys
/sys/class
/sys/class/scsi_host
/sys/class/scsi_host/host1
...
/sys/class/scsi_host/host8
And see which aren't there.

Insert spiffy .sig here:
Life is complex: it has both real and imaginary parts.
Life is not measured by the number of breaths we take, but by the
moments that take our breath away. 


//me  (I have nothing to do with the following text)
***
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the system manager. This footnote also confirms that this
email message has been swept for the presence of computer viruses.
www.Hubbell.com - Hubbell Incorporated**

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PackageKit via ssh

2011-07-13 Thread Ljubomir Ljubojevic
Les Mikesell wrote:
> 
> Has anyone packaged the freenx server for 6.x yet?
> 
aTrpms has them.

Ljubomir
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 system-config-bind missing?

2011-07-13 Thread John Hinton
On 7/13/2011 2:36 PM, Les Mikesell wrote:
> On 7/13/2011 1:03 PM, R P Herrold wrote:
>> I promised I would not get drawn into this thread, but ...
>>
>> This thread and its description of the experience gap is
>> telling ... One camp wants a 'black box' tool that does
>> _something_, so they can ignore what is happening 'under the
>> covers' and move on to more interesting uses of the computer.
>> And then there are the professionals.   And this _is_ billed
>> as a boring, trailing edge and stable, enterprise operating
>> system, after all
>>
>> But my use cases are related to a prodduction environment,
>> maintaining several hundred zone files, with lots of adds,
>> changes, and deletes.  The s-c-bind GUI tool was useless,
>> compared to TUI edits (certain legacy systems) and scripts to
>> do the backups, accuracy audit, and creation of all files
>> including the PTR record files
> So, aren't computer programs supposed to be able to deal with
> complicated cases, or just not free computer programs?  Or is the input
> syntax just too weird?  While s-c-bind may not have been the right
> answer, it just seems odd as a missing piece in the distribution and
> epel-provided packages.  Almost as odd as not having a network-aware
> authentication mechanism working as a server out of the box on your
> initial install - as though it would be unusual to have more than one
> computer and want those initial users to be able to log into the others
> you'd add later.
>
I would have to guess that UpStream decided it was not to be. They most 
likely had very good reasons for this. I 'barely' looked at it as it 
could not do what I need to do and that was some years back. Is/Was it 
capable of doing IPV6? That would be a good reason to put it to bed... 
given IPV6 will likely become widespread during the lifespan of CentOS 
6. Various SPF/SenderID/DomainKeys things also ride on bind these days. 
It could be that UpStream decided that was a good reason to put it to 
bed? Either way, CentOS is a nearly exact clone of UpStream, so really 
you need to go complain at UpStream, not on this list. CentOS has 
exactly matched their goal of providing the same packages available 
under UpStream. There is no point to complaining here.

-- 
John Hinton
877-777-1407 ext 502
http://www.ew3d.com
Comprehensive Online Solutions

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Howto create a VPN connection on desktop (CentOS 6)

2011-07-13 Thread Emmanuel Noobadmin
On 7/13/11, Mark Weaver  wrote:
> For a short time I dabbled with an SSH app on my Droid X so that I could
> connect to and interact with Linux servers that I've deployed, but found
> it all but impossible to see the screen thus rendering the application
> nothing more than something taking up space on my device. Now, it's a
> different story if the device is an iPad or Galaxy tablet device, but a
> phone?

Which was why I believe a phone with a 5" screen would be perfect for
emergency remote administration in situations where we don't have (or
for whatever reasons can't use) a proper laptop/netbook.

Unfortunately that pretty much limits the current options to the Dell
Streak which I use with a small bluetooth keyboard that also has
cursor keys.

Of course I only used it for SSH/CLI access since I don't normally use
X for administration.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Lock files in scripts

2011-07-13 Thread Kenneth Porter
--On Wednesday, July 13, 2011 12:35 PM -0600 Devin Reade  
wrote:

> However, although I like the trap mechanism for dealing with cleaning
> up temporary files (especially those files or directories containing
> temporary files created by mktemp(1)), I don't think that it's the
> right tool for lock files.  Instead, have a look at flock(1) to avoid
> the race conditions.  (See flock(2) about its unsuitability for locks
> on NFS filesystems, though.)

Thanks, that looks much better.



I'm running my script as a normal user so the lock will be in the user's 
home directory.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] use of MAILTO variable in crontab

2011-07-13 Thread James B. Byrne
I want to do something like this:

30 2 * * * MAILTO=testa...@harte-lyne.ca; echo "this should be mailed"

I have searched extensively and from what I have read I believe that
this should work.  But evidently I misapprehend how cron and MAILTO
is supposed to work as my example does not cause any mail to be sent
as far as I can determine from maillog.

How does one specify unique MAILTOs for different cron jobs where
the desired recipient is not the user that runs the cron job?

-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte & Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 system-config-bind missing?

2011-07-13 Thread Les Mikesell
On 7/13/2011 1:03 PM, R P Herrold wrote:
>
> I promised I would not get drawn into this thread, but ...
>
> This thread and its description of the experience gap is
> telling ... One camp wants a 'black box' tool that does
> _something_, so they can ignore what is happening 'under the
> covers' and move on to more interesting uses of the computer.
> And then there are the professionals.   And this _is_ billed
> as a boring, trailing edge and stable, enterprise operating
> system, after all
>
> But my use cases are related to a prodduction environment,
> maintaining several hundred zone files, with lots of adds,
> changes, and deletes.  The s-c-bind GUI tool was useless,
> compared to TUI edits (certain legacy systems) and scripts to
> do the backups, accuracy audit, and creation of all files
> including the PTR record files

So, aren't computer programs supposed to be able to deal with 
complicated cases, or just not free computer programs?  Or is the input 
syntax just too weird?  While s-c-bind may not have been the right 
answer, it just seems odd as a missing piece in the distribution and 
epel-provided packages.  Almost as odd as not having a network-aware 
authentication mechanism working as a server out of the box on your 
initial install - as though it would be unusual to have more than one 
computer and want those initial users to be able to log into the others 
you'd add later.

-- 
   Les Mikesell
lesmikes...@gmail.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: USB3 drive occasionally not detected

2011-07-13 Thread Always Learning

On Wed, 2011-07-13 at 20:02 +0200, Timothy Kesten wrote:

> Asrock 880G Extreme3
> 
> Formated ext. UBS-HDD (500 GB) ext3 / ext2 - both did not work
>
> If it is detected (first time)  - that happens very fast.
> But then ( second time or more) - no detection.

Have you seen this ?

http://forums.techarena.in/hardware-peripherals/1409294.htm


-- 
With best regards,

Paul.
England,
EU.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: USB3 drive occasionally not detected

2011-07-13 Thread Brunner, Brian T.
centos-boun...@centos.org wrote:
> Am Mittwoch, 13. Juli 2011, 16:20:22 schrieb Lamar Owen:
>> An alternative would be to use the ELrepo 'mainline' kernel,
>> assuming it has the xhci and/or xhci_hcd modules; but you'd be on
>> your own configuring udev and friends to use it.
> No option - too complicated for my knowledge.

This is yet another plea for Centos users with repo knowledge putting
the kernel sources where anybody can yum install them,
And users with kernel knowledge building a broader-capability kernel
(i586, non-PAE, and USB3 are the needed add-ins named on this list so
far),
And a user to merge our supplied changes into this centosplus kernel.


Insert spiffy .sig here:
Life is complex: it has both real and imaginary parts.
Life is not measured by the number of breaths we take, but by the
moments that take our breath away. 


//me
***
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the system manager. This footnote also confirms that this
email message has been swept for the presence of computer viruses.
www.Hubbell.com - Hubbell Incorporated**

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: USB3 drive occasionally not detected

2011-07-13 Thread Timothy Kesten
Am Mittwoch, 13. Juli 2011, 16:20:22 schrieb Lamar Owen:
> An alternative would be to use the ELrepo 'mainline' kernel, assuming it
> has the xhci and/or xhci_hcd modules; but you'd be on your own configuring
> udev and friends to use it.  
No option - too complicated for my knowledge.

Thx
Timothy
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 6 system-config-bind missing?

2011-07-13 Thread R P Herrold
On Wed, 13 Jul 2011, Emmett Culley wrote:

> No, it isn't.  At least it isn't trivial for those of us 
> that only occasionally need to modify their DNS server(s). 
> I had a few gripes about system-config-bind, but on the 
> whole it did make it easy for me to manage our DNS servers 
> without having to study the docs each time I needed to make 
> a change.

I promised I would not get drawn into this thread, but ...

This thread and its description of the experience gap is 
telling ... One camp wants a 'black box' tool that does 
_something_, so they can ignore what is happening 'under the 
covers' and move on to more interesting uses of the computer. 
And then there are the professionals.   And this _is_ billed 
as a boring, trailing edge and stable, enterprise operating 
system, after all

But my use cases are related to a prodduction environment, 
maintaining several hundred zone files, with lots of adds, 
changes, and deletes.  The s-c-bind GUI tool was useless, 
compared to TUI edits (certain legacy systems) and scripts to 
do the backups, accuracy audit, and creation of all files 
including the PTR record files

But our TUI system was really was not up to the new TXT record 
formats for anti-spam purposes, SRV records, and  and ipv6 
PTR generation, so we redesigned and have moved to a local 
database backed, webbish tool

The latter still DISPLAYs zone files, so I can check its work 
(and indeed 'bind' dumps backups that look like zone files), 
but all transactions are done 'across the wire incrementally' 
through encrypted, keyed DNS tranactions, line by line, and 
NOT by shipping zone files around.  There is also a webbish 
GUI permitting downloading a local format CSV representation 
of the zone files, that 'gnumeric' and Google spreadsheet read 
just fine

But this GUI tool is also tightly coupled to local workflow, 
and not really something we would release the web LAMP sources 
for, because we ** want ** to be free to break the API as 
needed for business purposes

> Now I suppose my only choice is to install webmin, or 
> compile system-config-bind from source.

or, just maybe, study a zone file and read about it and grow 
in skills.  Also, there exist on-line tools to construct 
well-formed zone files, and google has umpteen gazillion 
articles of varying quality and accuracy, I suppose. The two 
you list are your 'only' choice, only if you are into drama

> I cannot understand the reasoning behind dropping 
> system-config-bind from CentOS/RHEL 6.  Then leaving it in 
> Fedora.  Since when is less tools better?  Especially since 
> there doesn't seem to be a reasonable replacement for this 
> useful tool.

I am not unbiased in this matter, as I asy, I've been building 
zone files for a long time, first using a locally hacked up 
and extended version of 'h2n', and other tools from the ORA 
Cricket book

By comparison, the s-c- GUI DNS tool formerly offered reminded 
me of a lame little puppy -- better than nothing, but just 
barely.  Lots of the 'glade' based 'tools' which the upstream 
has rolled out seem, to me, to be present to satisfy a PHB's 
requirement for a GUI tool on a checklist, for a given 
service. They could not be called 'best of breed' by a neutral 
observer, by any reach of the imagination

-- Russ herrold
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: USB3 drive occasionally not detected

2011-07-13 Thread Timothy Kesten
Am Mittwoch, 13. Juli 2011, 17:04:31 schrieb Always Learning:
> Which Asrock pcb

Asrock 880G Extreme3

Formated ext. UBS-HDD (500 GB) ext3 / ext2 - both did not work

 
> SD cards (FAT format) are instantly recognised (via USB). However USB
> memory sticks (4 GB, 8 GB) are recognised very slowly. There appears to
> be some polling, a flash of activity on HDD 1, a flicker of LED light on
> the memory stick, some more HDD activity, more memory stick LED flashes
> then the memory stick is recognised. The process seems very slow and
> take about a minute or more.

If it is detected (first time)  - that happens very fast.
But then ( second time or more) - no detection.

Timothy

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PackageKit via ssh

2011-07-13 Thread Nicolas Thierry-Mieg
Les Mikesell wrote:
> On 7/13/2011 11:55 AM, Nicolas Thierry-Mieg wrote:
>
>> So: sorry if my question wasn't precise enough, what I really wanted to
>> ask was: is there a way tu use a PackageKit GUI remotely via ssh?
>
> Ssh (-Y) in as root or 'su -' before starting it.  Whatever it is doing
> to escalate permissions for the install doesn't seem to mesh well with
> the desktop being remote - or maybe you need to start some agent within
> the session to make it work.
>

thanks Les, 'su -' works!
I had tried with sudo (which fails) but not su.
This is not perfect, because the whole GUI runs as root whereas the 
packageKit model is to have the GUI unprivileged and obtain root 
credentials only when needed, but at least it works.
I disable root access via ssh, so couldn't test your first solution.

Thanks again.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PackageKit via ssh

2011-07-13 Thread Akemi Yagi
On Wed, Jul 13, 2011 at 10:42 AM, Les Mikesell  wrote:
> On 7/13/2011 12:31 PM, Ljubomir Ljubojevic wrote:

>> Possible approach would be NX (Nomachine) or FreeNX client/server.
>> Connection is via SHH but you get full GUI Access and sound and (local?)
>> printer.
>> NX server is easier to install, but is free only for max 1-2 clients at
>> the same time.
>
> Has anyone packaged the freenx server for 6.x yet?

There is a test version of nx/freenx here:

http://centos.toracat.org/misc/nx-freenx/6/

It is working for me but not final nor official. Your feedback is welcome at:

http://bugs.centos.org/view.php?id=4507

In a related note, selinux is enabled by default in CentOS-6. This
blog will help if you need to deal with selinux:

http://blog.toracat.org/2010/12/selinux-and-freenx/

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PackageKit via ssh

2011-07-13 Thread Les Mikesell
On 7/13/2011 12:31 PM, Ljubomir Ljubojevic wrote:
> Nicolas Thierry-Mieg wrote:
>> In any case, pkcon is CLI and doesn't seem to bring much over yum. What
>> I would like is to run a GUI such as gpk-application (the gnome
>> PackageKit GUI) remotely, via ssh. For some use cases, I find a GUI is
>> quite useful for browsing and searching available packages etc...
>> It mostly works except I can't authenticate as root when needed, so
>> saerching for packages, solving deps etc is OK but installing or
>> removing packages fails.
>> So: sorry if my question wasn't precise enough, what I really wanted to
>> ask was: is there a way tu use a PackageKit GUI remotely via ssh?
>
> Possible approach would be NX (Nomachine) or FreeNX client/server.
> Connection is via SHH but you get full GUI Access and sound and (local?)
> printer.
> NX server is easier to install, but is free only for max 1-2 clients at
> the same time.

Has anyone packaged the freenx server for 6.x yet?

-- 
  Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Lock files in scripts

2011-07-13 Thread Devin Reade
--On Wednesday, July 13, 2011 10:16:12 AM -0700 Kenneth Porter
 wrote:

> I was about to ask here how to do proper locking in a bash script when I 
> found a page that addressed my objections to the race conditions I was 
> finding in most sample code:
> 
> 
> 
> I just wanted to pass on the link to anyone else that needs this.
> 
> One thing not addressed is how to deal with an orphaned lock file (eg. if 
> the system crashes with the lock held). He stores the PID in the lock
> file,  so one could look up the matching process and see if it's the
> script that's  expected to create it. Otherwise one should be safe in
> deleting the lock  file and trying again.

If you're concerned about an OS crash, you can distinguish that
case by putting your lock files into either a directory that is 
cleaned up by the system on boot (like /var/lock) or to put it
in a tmpfs filesystem (such as if you have /tmp mounted as tmpfs).
If you're using the latter, then watch for other users playing
silly-bugger with your lock files to try to compromise or crash
your system, such as making /tmp/mylockfile a symlink to /etc/passwd
so that you can trash it when you try to write to it.
(See the last paragraph on avoiding it.)

If you're concerned about a script crash, the trap (with 0 1 2 15)
takes care of that.

However, although I like the trap mechanism for dealing with cleaning
up temporary files (especially those files or directories containing
temporary files created by mktemp(1)), I don't think that it's the
right tool for lock files.  Instead, have a look at flock(1) to avoid
the race conditions.  (See flock(2) about its unsuitability for locks
on NFS filesystems, though.)

Devin

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PackageKit via ssh

2011-07-13 Thread Ljubomir Ljubojevic
Nicolas Thierry-Mieg wrote:
> In any case, pkcon is CLI and doesn't seem to bring much over yum. What 
> I would like is to run a GUI such as gpk-application (the gnome 
> PackageKit GUI) remotely, via ssh. For some use cases, I find a GUI is 
> quite useful for browsing and searching available packages etc...
> It mostly works except I can't authenticate as root when needed, so 
> saerching for packages, solving deps etc is OK but installing or 
> removing packages fails.
> So: sorry if my question wasn't precise enough, what I really wanted to 
> ask was: is there a way tu use a PackageKit GUI remotely via ssh?

Possible approach would be NX (Nomachine) or FreeNX client/server. 
Connection is via SHH but you get full GUI Access and sound and (local?) 
printer.
NX server is easier to install, but is free only for max 1-2 clients at 
the same time.

Ljubomir
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Installing from CD

2011-07-13 Thread Les Mikesell
On 7/13/2011 12:15 PM, Keith Roberts wrote:
>
>> I haven't tried it with a cd/dvd drive, but you can get inexpensive USB
>> cables with combo adapters for IDE (both full and laptop size) and sata
>> with corresponding power connectors that are very handy to have around
>> for temporary hookups.
>
> That sounds the easiest path to go to. But if you are using
> USB to start with, why not try installing Centos from the
> USB drive directly to the fixed HDD in the machine? Or am I
> missing something?

Yes, I meant that it should work to hook any DVD drive in your junk box 
(or that you can temporarily pull from something else) to anything with 
USB 2.0 (life is too short for 1.x) - just that I hadn't tried it and 
the cable is also handy for other things.

But, nfs is fast and easy if you already have some other linux system 
installed on the network.  I like to keep a directory exported via both 
nfs and samba (read only for most of the network) so there is no special 
setup need for that sort of install other than copying out the 'images' 
directory from the dvd image as described in the docs.  With the old CD 
sets you didn't even have to do that.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Howto create a VPN connection on desktop (CentOS 6)

2011-07-13 Thread Patrick Lists
On 07/13/2011 02:09 PM, Tommy E Craddock Jr wrote:
> I also do the same with my R2D2 Droid ie connect thru VPN.

Would you mind sharing your CentOS IPSec configs? I got nowhere googling 
how to setup a L2TP/IPSec PSK VPN between my Nexus S and CentOS 5.6 
(soon 6) box.

Thanks and regards,
Patrick
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Howto create a VPN connection on desktop (CentOS 6)

2011-07-13 Thread Mark Weaver
On 7/13/2011 7:52 AM, John Hodrien wrote:
> On Wed, 13 Jul 2011, John Hodrien wrote:
>
>> On Wed, 13 Jul 2011, Mark Weaver wrote:
>>
>>> What I've attempting to do is make it possible for me to connect to
>>> clients' servers where RRAS service is already running using PPTP so
>>> that I can connect remotely while I'm running Linux on my laptop so I
>>> don't have to stop what I'm doing and boot Windows.
>>
>> Does pptp and pptp-setup from EPEL get you to where you want to be?
>
> Sorry, that's just me being out of date and talking crap.
>
> I've never got on with NetworkManager-pptp in the past, so have used the base
> pptp client instead along with my own startup scripts.
>
> jh

understood. I've grown a bit lazy over the past few years which is why 
I'm looking at doing it with NetworkManager rather than doing things 
with commandline tools and scripts. Mostly for the ease of use and speed 
aspect of it, so I can get as much done on the fly as possible without 
getting distracted. I'd like to be able to use C6 as much as possible on 
my laptop. I feel so out of touch with Linux these days because of the 
overwhelming use of the windows platform for my clients.

I need to get back in touch with my inner penguin; I miss him, but by 
the same token I just don't have the ambition I once had to dabble and 
tinker which is why I was so utterly impressed when I loaded C6 on my 
laptop and wasn't required to jack into the network get my wireless working.

-- 
Mark Weaver
Computer Information Systems & Services, Inc.
mwea...@compinfosystems.com
(717) 512-9718
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PackageKit via ssh

2011-07-13 Thread Les Mikesell
On 7/13/2011 11:55 AM, Nicolas Thierry-Mieg wrote:

> So: sorry if my question wasn't precise enough, what I really wanted to
> ask was: is there a way tu use a PackageKit GUI remotely via ssh?

Ssh (-Y) in as root or 'su -' before starting it.  Whatever it is doing 
to escalate permissions for the install doesn't seem to mesh well with 
the desktop being remote - or maybe you need to start some agent within 
the session to make it work.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Lock files in scripts

2011-07-13 Thread Kenneth Porter
I was about to ask here how to do proper locking in a bash script when I 
found a page that addressed my objections to the race conditions I was 
finding in most sample code:



I just wanted to pass on the link to anyone else that needs this.

One thing not addressed is how to deal with an orphaned lock file (eg. if 
the system crashes with the lock held). He stores the PID in the lock file, 
so one could look up the matching process and see if it's the script that's 
expected to create it. Otherwise one should be safe in deleting the lock 
file and trying again.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Installing from CD

2011-07-13 Thread Keith Roberts
On Wed, 13 Jul 2011, Les Mikesell wrote:

> To: centos@centos.org
> From: Les Mikesell 
> Subject: Re: [CentOS] Installing from CD
> 
> On 7/13/2011 10:01 AM, Keith Roberts wrote:
>>

>>> Yeah, but it is really hard to find atapi style laptop drives, everything
>>> has gone to sata.
>>
>> Try the older latops, you might even pick up a bare drive on
>> ebay.
>>
>
> I haven't tried it with a cd/dvd drive, but you can get inexpensive USB
> cables with combo adapters for IDE (both full and laptop size) and sata
> with corresponding power connectors that are very handy to have around
> for temporary hookups.

That sounds the easiest path to go to. But if you are using 
USB to start with, why not try installing Centos from the 
USB drive directly to the fixed HDD in the machine? Or am I 
missing something?

Keith

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Howto create a VPN connection on desktop (CentOS 6)

2011-07-13 Thread Mark Weaver
On 7/13/2011 7:51 AM, John Hodrien wrote:
> On Wed, 13 Jul 2011, Mark Weaver wrote:
>
>> What I've attempting to do is make it possible for me to connect to
>> clients' servers where RRAS service is already running using PPTP so
>> that I can connect remotely while I'm running Linux on my laptop so I
>> don't have to stop what I'm doing and boot Windows.
>
> Does pptp and pptp-setup from EPEL get you to where you want to be?
>
> jh

I have to say I'm a bit embarrassed, but I don't know if I have those 
packages installed; I will have to look.

-- 
Mark Weaver
Computer Information Systems & Services, Inc.
mwea...@compinfosystems.com
(717) 512-9718
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PackageKit via ssh

2011-07-13 Thread Nicolas Thierry-Mieg


Athmane Madjoudj wrote:
> On 07/13/2011 05:00 PM, Nicolas Thierry-Mieg wrote:
>> Hi,
>>
>> I'm trying to use gnome PackageKit (gpk-application) on a centos 6
>> x86_64 system.
>> When I am sitting at the machine it works ok, but most of the time I am
>> accessing that C6 system via ssh from my centos 5 desktop. In this
>> scenario gpk-application starts ok, lists packages, resolves deps,
>> etc... but then it doesn't pop up the box asking for the root password,
>> and aborts with a message "Failed to obtain authentication".
>> I know I can use yum, but occasionally I like using a GUI to browse
>> through available packages.
>>
>> Is there any way to use PackageKit remotely via ssh?
>>
>
> pkcon is what you need
>
> $ man pkcon

man pkcon is terse to say the least, it basically says:
"The programs are documented fully on http://www.packagekit.org";

But http://www.packagekit.org barely contains any documentation.

In any case, pkcon is CLI and doesn't seem to bring much over yum. What 
I would like is to run a GUI such as gpk-application (the gnome 
PackageKit GUI) remotely, via ssh. For some use cases, I find a GUI is 
quite useful for browsing and searching available packages etc...
It mostly works except I can't authenticate as root when needed, so 
saerching for packages, solving deps etc is OK but installing or 
removing packages fails.
So: sorry if my question wasn't precise enough, what I really wanted to 
ask was: is there a way tu use a PackageKit GUI remotely via ssh?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 64 bit

2011-07-13 Thread Roberto Alvarado
In yum.conf you can try:

multilib_policy=best

With this yum priorize the packages based on your architecture, but dont 
exclude the all the i386 packages if you have a x64 system.

On 13-07-2011 12:16, B.J. McClure wrote:
> On Wed, 2011-07-13 at 10:02 -0500, Les Mikesell wrote:
>> On 7/13/2011 9:54 AM, Always Learning wrote:
>>>
 (2011/07/13 12:07), Edo wrote:
>  “exclude=*.i?86” in your /etc/yum.conf
>>> Like many, I dislike both i386 and x64 packages being installed on my
>>> x64 machines.
>>>
>>> However, is there a potential danger than in installing only x64
>>> packages, one of the required files might be available only in i386
>>> format and thus detrimentally excluded ?
>>>
>>> Some illuminating clarity is welcome.
>> Note that some 3rd party binaries programs may expect/require 32 bit
>> libs to be present - vmware server, for example.
>>
> And Skype.
>
> B.J.
>
> CentOS Linux release 6.0 (Final)
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Howto create a VPN connection on desktop (CentOS 6)

2011-07-13 Thread Mark Weaver
On 7/13/2011 8:09 AM, Tommy E Craddock Jr wrote:
>
>
> On Jul 13, 2011, at 7:34 AM, Mark Weaver  wrote:
>
>> On 7/12/2011 9:31 PM, Tommy E Craddock Jr wrote:
>>>
>



>>>
>>>
>>> On a side note, I use this for iOS and OpenVPN:
>>>
>>> http://www.guizmovpn.com/
>>>
>>>
>>> Works well.
>>>
>>>
>>> Tommy Craddock
>>
>> I apologize for this being a bit off-topic, and I ask this of some
>> clients when they want to access their Citrix servers from their
>> iPhones, but why would one want to do something of this nature on a
>> device that you'd literally need binoculars to be able to see the screen?
>>
>> For a short time I dabbled with an SSH app on my Droid X so that I could
>> connect to and interact with Linux servers that I've deployed, but found
>> it all but impossible to see the screen thus rendering the application
>> nothing more than something taking up space on my device. Now, it's a
>> different story if the device is an iPad or Galaxy tablet device, but a
>> phone?
>>
>> --
>>
>
> I don't use an iPhone myself, just the iPad, so it's come in handy when on a 
> friends/work mates wifi and wanting to check email, access content on home 
> LAN etc.  On rare occasion I use free wifi, will also use VPN for all traffic.
>
> I also do the same with my R2D2 Droid ie connect thru VPN. I don't trust 
> other peoples network too much.  View most as the seedy part of town where I 
> make sure my doors are locked when I park.
>
> Most of the time tho, I just use Artoo's wifi hotspot for wifi access for the 
> iPad and VPN traffic on the iPad.
>
> Tommy C.

now that makes sense.

-- 
Mark Weaver
Computer Information Systems & Services, Inc.
mwea...@compinfosystems.com
(717) 512-9718
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 system-config-bind missing?

2011-07-13 Thread Emmett Culley
On 07/12/2011 08:46 PM, John R Pierce wrote:
> On 07/12/11 8:19 PM, Emmett Culley wrote:
>> It is NOT trivial to create and manage DNS records with a text editor.
> 
> yes it is.
> 
> 
> 
No, it isn't.  At least it isn't trivial for those of us that only occasionally 
need to modify their DNS server(s).  I had a few gripes about 
system-config-bind, but on the whole it did make it easy for me to manage our 
DNS servers without having to study the docs each time I needed to make a 
change.

Now I suppose my only choice is to install webmin, or compile 
system-config-bind from source.

I cannot understand the reasoning behind dropping system-config-bind from 
CentOS/RHEL 6.  Then leaving it in Fedora.  Since when is less tools better?  
Especially since there doesn't seem to be a reasonable replacement for this 
useful tool.

Emmett
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 64 bit

2011-07-13 Thread B.J. McClure
On Wed, 2011-07-13 at 10:02 -0500, Les Mikesell wrote:
> On 7/13/2011 9:54 AM, Always Learning wrote:
> >
> >
> >> (2011/07/13 12:07), Edo wrote:
> >
> >>>  “exclude=*.i?86” in your /etc/yum.conf
> >
> > Like many, I dislike both i386 and x64 packages being installed on my
> > x64 machines.
> >
> > However, is there a potential danger than in installing only x64
> > packages, one of the required files might be available only in i386
> > format and thus detrimentally excluded ?
> >
> > Some illuminating clarity is welcome.
> 
> Note that some 3rd party binaries programs may expect/require 32 bit 
> libs to be present - vmware server, for example.
> 
And Skype.

B.J.

CentOS Linux release 6.0 (Final)

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PackageKit via ssh

2011-07-13 Thread Athmane Madjoudj
On 07/13/2011 05:00 PM, Nicolas Thierry-Mieg wrote:
> Hi,
>
> I'm trying to use gnome PackageKit (gpk-application) on a centos 6
> x86_64 system.
> When I am sitting at the machine it works ok, but most of the time I am
> accessing that C6 system via ssh from my centos 5 desktop. In this
> scenario gpk-application starts ok, lists packages, resolves deps,
> etc... but then it doesn't pop up the box asking for the root password,
> and aborts with a message "Failed to obtain authentication".
> I know I can use yum, but occasionally I like using a GUI to browse
> through available packages.
>
> Is there any way to use PackageKit remotely via ssh?
>

pkcon is what you need

$ man pkcon


-- 
Athmane Madjoudj
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 64 bit

2011-07-13 Thread Warren Young
On 7/13/2011 7:27 AM, m.r...@5-cent.us wrote:
> Code bloat... ah, yes, the joys of OOPs

What does OOP have to do with this?

Doubling the pointer size affects C, awk

Consider Erlang, a functional language, not OOP in any way at all, not 
even in the sidecar way of, say, Perl.  The most recent versions have a 
new build option that lets you build it as a 64-bit binary, except that 
it uses 64-bit pointers and ints only for a few "bulk data" type of 
things, such as ETS, its built-in memory-backed database system.  For 
everything else, it uses 32-bit values.

The resulting virtual machine emulator behaves like you'd built it as a 
32-bit executable -- 4 GB limits and all -- except when you go to access 
ETS or one of the few other things it accesses through 64-bit pointers. 
  Because the amount of data it is shuffling around is half the size it 
would be if you built it as a pure 64-bit application, it is measurably 
faster on some workloads.

There's no free lunch.  64-bit is not an unqualified good.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 64 bit

2011-07-13 Thread Devin Reade
--On Wednesday, July 13, 2011 09:00:48 AM +0200 Ljubomir Ljubojevic
 wrote:

> RHEL/CentOS always installs both 32-bit and 64-bit libraries

I disagree.  I'm not sure what the algorithm is to select all-64
vs mixed-32-64 on 64 bit platforms, but I've got a datapoint that
disproves the generalization:  My Thinkpad laptop had a fresh 
install of RHEL6 and it was (sufficiently) 64-bit pure that I had
to later install lots of 32 bit libraries for some legacy applications.
IIRC, that included glibc.

Devin

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] PackageKit via ssh

2011-07-13 Thread Nicolas Thierry-Mieg
Hi,

I'm trying to use gnome PackageKit (gpk-application) on a centos 6 
x86_64 system.
When I am sitting at the machine it works ok, but most of the time I am 
accessing that C6 system via ssh from my centos 5 desktop. In this 
scenario gpk-application starts ok, lists packages, resolves deps, 
etc... but then it doesn't pop up the box asking for the root password, 
and aborts with a message "Failed to obtain authentication".
I know I can use yum, but occasionally I like using a GUI to browse 
through available packages.

Is there any way to use PackageKit remotely via ssh?

Thanks
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 64 bit

2011-07-13 Thread Robert Heller
At Wed, 13 Jul 2011 15:54:18 +0100 CentOS mailing list  
wrote:

> 
> 
> 
> > (2011/07/13 12:07), Edo wrote: 
> 
> >>  “exclude=*.i?86” in your /etc/yum.conf
> 
> Like many, I dislike both i386 and x64 packages being installed on my
> x64 machines.
> 
> However, is there a potential danger than in installing only x64
> packages, one of the required files might be available only in i386
> format and thus detrimentally excluded ?

If there is some program you want or need and use yum to install it, yum
will install any needed dependencies.  If the package needs an i386
package, yum will install it or if you have an "exclude=*.i?86", yum
will complain that there are unresolved dependencies (and tell you what
they are).  You can then edit /etc/yum.conf to make whatever exceptions
are needed.

I don't think any of the core packages are dependent on any i386
packages.  

> 
> Some illuminating clarity is welcome.
> 
> 

-- 
Robert Heller -- 978-544-6933 / hel...@deepsoft.com
Deepwoods Software-- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments



 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS6: installing 32bit and 64bit RPMS via the installer?

2011-07-13 Thread John Doe
From: James Pearson 

> Does anyone know how to get the installer to install the 32bit versions 
> of 64bit RPMS? i.e. in the way it does for CentOS5.


If you use a kickstart, you can specify packages with a specific arch:

  %packages
  glibc.i686
  %end

JD
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Installing from CD

2011-07-13 Thread Ljubomir Ljubojevic
Les Mikesell wrote:
> On 7/13/2011 10:01 AM, Keith Roberts wrote:
>>> Yeah, but it is really hard to find atapi style laptop drives, everything
>>> has gone to sata.
>> Try the older latops, you might even pick up a bare drive on
>> ebay.
>>
> 
> I haven't tried it with a cd/dvd drive, but you can get inexpensive USB 
> cables with combo adapters for IDE (both full and laptop size) and sata 
> with corresponding power connectors that are very handy to have around 
> for temporary hookups.
> 
It is a same thing. They are basically HDD PATA and/or SATA controllers 
with USB connection to PC. I have even hooked up IDE DOM modules 
(without the actual cable).

Ljubomir
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS6: installing 32bit and 64bit RPMS via the installer?

2011-07-13 Thread James Pearson
Installing 64bit CentOS6 only installs x86_64 and noarch RPMS - however, 
I have a number of legacy 32bit apps that require a number of 32bit RPMS 
to be installed.

Does anyone know how to get the installer to install the 32bit versions 
of 64bit RPMS? i.e. in the way it does for CentOS5.

Thanks

James Pearson
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Installing from CD

2011-07-13 Thread Les Mikesell
On 7/13/2011 10:01 AM, Keith Roberts wrote:
>
>>>
>> Yeah, but it is really hard to find atapi style laptop drives, everything
>> has gone to sata.
>
> Try the older latops, you might even pick up a bare drive on
> ebay.
>

I haven't tried it with a cd/dvd drive, but you can get inexpensive USB 
cables with combo adapters for IDE (both full and laptop size) and sata 
with corresponding power connectors that are very handy to have around 
for temporary hookups.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to get data from syslog for a specific date range?

2011-07-13 Thread Markus Falb
On 7.7.2011 15:45, Rudi Ahlers wrote:

> something wrong with the logs on this server since it only has this
> month's data in /var/log/messages and /var/log/message.1 - 4 doesn't
> have much either. I'll have to investigate this first to see what's
> up.

Nothings wrong, plain syslog dont log year. For this you have to use
alternative syslog daemons like syslog-ng or rsyslog (not sure about the
latter one). But you can always rotate with a filename scheme that has
the year in it.

-- Kind Regards, Markus Falb



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Installing from CD

2011-07-13 Thread Craig White

On Jul 12, 2011, at 9:49 PM, Ron Blizzard wrote:

> On Tue, Jul 12, 2011 at 9:26 PM, Craig White  wrote:
>> On Mon, 2011-07-11 at 13:44 -0700, david wrote:
>>> Folks
>>> 
>>> The machine I'm trying to load does not have a DVD reader, but only a
>>> CD reader.
>>> 
>>> Are the multiple CD images of CENTOS 6 available somewhere?  Earlier
>>> versions had them.
>> 
>> ubuntu LTS
>> 
>> installs from a single CD
>> 
>> allows you to partition prior to install
>> 
>> Just sayin'
> 
> But soon you won't have to compromise. Reportedly a Live CentOS CD is
> on the way and it will also allow installation. The best of both
> worlds.

ignoring of course:

- live CD's are really slow to boot and the 'transfer' of the live image will 
consume a lot of install time

- you get no choice/options of partitioning

- you get a fully bloated installation when completed

a 'server install CD' could solve much of this but it would take a different 
version of anaconda to be able to do on the fly partitioning.

Craig
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos x11

2011-07-13 Thread Ljubomir Ljubojevic
m.r...@5-cent.us wrote:
> Jerry Geis wrote:
>> So there is longer an xorg.conf file in centos 6. Where is that stored
>> now?
>>
>> When I am running host C5 and guest C6 using kvm all I can get is 800x600.
>> They System->Preferences->Display app only has "detect monitor".
>> There is no LCD selection anymore that would then allow me to select
>> something higher than 800x600.
> 
> I think one's still created, where it was in /etc/X11. I *REALLY* am not
> happy - I had to screw around for a while getting mine to work right:
> brand new, as I've mentioned, Dell Precision 3500 with an Nvidia card.
> There's no system-config-display, apparently, so I had to use startx. Then
> it didn't detect the second monitor. I installed kmod-nvidia from elrepo,
> and then had to rmmod nouveau, then I had to copy my xorg.conf from my old
> system: didn't identify the monitor, didn't offer me the option to
> manually configure/choose the monitor, and on, and on.
> 
>> So how do increase my kvm screen size with C5 host and C6 guest, and
>> where or how is X controlled now with no xorg.conf ?
> 
> If the host X works the way you want, try copying /etc/X11/xorg.conf to
> the guest.
> 

Based on my experience on RHEL Beta1, "Xorg --configure" will create 
xorg.conf which you can then tweak and use. On older Intel graphics chip 
I had to use "nomodeset" kernel option to have normal picture.

New Xorg tries to read EDID information from monitor but monitor makers 
EDID code is not always compatible with what Xorg expects. That is why 
you get only minimal resolution and need xorg.conf file.

Ljubomir

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Howto create a VPN connection on desktop (CentOS 6)

2011-07-13 Thread Paul Heinlein
On Tue, 12 Jul 2011, Bill Campbell wrote:

> On Tue, Jul 12, 2011, Mark Weaver wrote:
>>
>> I'd like to be able to create VPN connections on my laptop to 
>> connect to client locations and I was wondering if someone could 
>> point me in the right direction for this information. I've checked 
>> on the wiki, but didn't find anything.
>
> We use OpenVPN for pretty much everything other than iPhone and iPad 
> which don't grok OpenVPN.
>
> OpenVPN works quite nicely with Linux, Windows, and OS X.

+1

-- 
Paul Heinlein <> heinl...@madboa.com <> http://www.madboa.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: USB3 drive occasionally not detected

2011-07-13 Thread Always Learning

On Wed, 2011-07-13 at 12:40 +0200, Timothy Kesten wrote:

> CentOS 5.5 x86_64
> 
> Asrock-Board with 2 USB3 plugs.

Which Asrock pcb ?

My desktop is Centos 5.6 with Asrock N68C-S UCC. I format USB memory
sticks as ext3.

SD cards (FAT format) are instantly recognised (via USB). However USB
memory sticks (4 GB, 8 GB) are recognised very slowly. There appears to
be some polling, a flash of activity on HDD 1, a flicker of LED light on
the memory stick, some more HDD activity, more memory stick LED flashes
then the memory stick is recognised. The process seems very slow and
take about a minute or more.


-- 
With best regards,

Paul.
England,
EU.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 64 bit

2011-07-13 Thread Les Mikesell
On 7/13/2011 9:54 AM, Always Learning wrote:
>
>
>> (2011/07/13 12:07), Edo wrote:
>
>>>  “exclude=*.i?86” in your /etc/yum.conf
>
> Like many, I dislike both i386 and x64 packages being installed on my
> x64 machines.
>
> However, is there a potential danger than in installing only x64
> packages, one of the required files might be available only in i386
> format and thus detrimentally excluded ?
>
> Some illuminating clarity is welcome.

Note that some 3rd party binaries programs may expect/require 32 bit 
libs to be present - vmware server, for example.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Installing from CD

2011-07-13 Thread Keith Roberts
On Wed, 13 Jul 2011, Steve Clark wrote:

> To: CentOS mailing list 
> From: Steve Clark 
> Subject: Re: [CentOS] Installing from CD
> 
> On 07/13/2011 12:46 AM, Ron Blizzard wrote:
>>  On Tue, Jul 12, 2011 at 2:54 PM, John R Pierce
>>  wrote:
>> >  On 07/12/11 11:53 AM, Ron Blizzard wrote:
>> > >  On Tue, Jul 12, 2011 at 10:29 AM, Steve 
>> > >  Clarkwrote:
>> > > 
>> > > > >With an HP DL140 we open the cover and temporarily plug in a 
>> > > > >standard atapi
>> > > > >5.25 DVD drive in place of the CD drive.
>> > >  If he's talking about a standard Optiplex GX240, it takes a 
>> > >  regular
>> > >  IDE DVD drive which is almost a throw-away item these days.
>> >  an HP DL140 is a 1U server that uses a very slim laptop style drive.
>>  Even laptop style DVD drives have become a near throw-away item.
>>  Everyone wants DVD writers now.
>> 
> Yeah, but it is really hard to find atapi style laptop drives, everything 
> has gone to sata.

Try the older latops, you might even pick up a bare drive on 
ebay.

HTH

Keith

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 DVD install "Unable to read group information from repositories"

2011-07-13 Thread Trey Dockendorf
This was 64 bit install and the media checks were good.  I also successfully
used the same install media on another system.  Ill try the suggestions and
see if the drive is having problems.
On Jul 13, 2011 1:27 AM, "Ljubomir Ljubojevic"  wrote:
> Trey Dockendorf wrote:
>> Tried my first CentOS 6 install on a system currently running 5.6. My
>> attempt was not an upgrade, but a full re-format. I have verified the
>> checksums of the ISO and did the pre-install disk verify and everything
>> checked out. However after the screen for setting up the bootloader I
>> get the following error
>>
>> "Unable to read group information from repositories. This is a problem
>> with the generation of your install tree"
>>
>> With my only options being "Exit Install" and "Retry", but of course
>> "Retry" continues to fail with the same message.
>>
>> Basically I chose the first option in the menu for the DVD, install /
>> upgrade, went through all the settings, did a custom layout for
>> partitioning. I basically told the installer to re-format my ext3
>> partitions to ext4 and set the mount points for / , /boot and swap.
>> Then after selecting "Next" from the bootloader configuration is when I
>> get the above error.
>>
>
> 1. Was this i386 or x86_64?
> 2. Have you run Media test od DVD('s) in system in question? Maybe DVD
> drive can not read them right. Especially if you used higher speed to
> burn the disk. I would recommend slow burning like 4x when you burn OS
> DVD's (and 16x for CD's).
>
> And have you by any chance tried the same DVD('s) on any other system?
>
> Ljubomir
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


  1   2   >