[CentOS-docs] What's the wiki software that centos uses?
What's the wiki software that centos uses? ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS-docs] Arabic Wiki - resend because of bounce back
Is anyone getting this? Have I been ignored? Am I forever alone? On Mon, Mar 26, 2012 at 10:02 AM, Steve-Mustafa Ismail m.i.must...@gmail.com wrote: Hi, my name is Steve Mustafa, my username is SteveMustafa and I'd like the privilege to edit and translate the wiki into Arabic, http://wiki.centos.org/ar (does not exist). So I'm asking for the privilege to create and edit these pages as well as for the creation of a new RTL template for RTL languages including Arabic, Hebrew, Persian and Urdu. (like the subject says, this is a resend because I received a bounce back notification from centos-docs-boun...@centos.org) ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS-docs] Arabic Wiki - resend because of bounce back
Hi, Doing a language port needs a bit more effort, you are certainly not being ignored. What would help is if we could get some more people involved, people who have been seen in the centos ecosystem in the past, and have some level of trust associated. Is that possible ? fwiw, I'm hoping to get the ID and AR efforts into sync and get things setup for both at the same time. - KB On 03/28/2012 08:01 AM, Steve-Mustafa Ismail wrote: Is anyone getting this? Have I been ignored? Am I forever alone? On Mon, Mar 26, 2012 at 10:02 AM, Steve-Mustafa Ismail m.i.must...@gmail.com wrote: Hi, my name is Steve Mustafa, my username is SteveMustafa and I'd like the privilege to edit and translate the wiki into Arabic, http://wiki.centos.org/ar (does not exist). So I'm asking for the privilege to create and edit these pages as well as for the creation of a new RTL template for RTL languages including Arabic, Hebrew, Persian and Urdu. (like the subject says, this is a resend because I received a bounce back notification from centos-docs-boun...@centos.org) ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs -- Karanbir Singh +44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh ICQ: 2522219| Yahoo IM: z00dax | Gtalk: z00dax GnuPG Key : http://www.karan.org/publickey.asc ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
[CentOS-announce] CEBA-2012:0432 CentOS 5 ksh Update
CentOS Errata and Bugfix Advisory 2012:0432 Upstream details at : https://rhn.redhat.com/errata/RHBA-2012-0432.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) i386: f5bc1068ce3443f947efea28709440d93756fcdb276939c50cad6eabe47eeec9 ksh-20100621-5.el5_8.1.i386.rpm x86_64: 7cc93331e3088fb6c0ea84683e33a623c3355f1643a074140dc27bbc8f1998ea ksh-20100621-5.el5_8.1.x86_64.rpm Source: ea56377805242c3f40193b218b9e7192c136d49ff223812e02b5eb3a3fa2a5dd ksh-20100621-5.el5_8.1.src.rpm -- Johnny Hughes CentOS Project { http://www.centos.org/ } irc: hughesjr, #cen...@irc.freenode.net ___ CentOS-announce mailing list CentOS-announce@centos.org http://lists.centos.org/mailman/listinfo/centos-announce
[CentOS-announce] CEBA-2012:0430 CentOS 6 curl Update
CentOS Errata and Bugfix Advisory 2012:0430 Upstream details at : https://rhn.redhat.com/errata/RHBA-2012-0430.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) i386: 6de73d59cdd6149e7b85d11a6682ea232aa0c767194388cff3c0031e7c576613 curl-7.19.7-26.el6_2.4.i686.rpm 32bc889cc1c5b1d51c6451ea86873721e17b437b985bbcd4703b5aa97562c557 libcurl-7.19.7-26.el6_2.4.i686.rpm 05d53e55d992e73a4667eb1ca952fa4dd25429bf84b0c1bf708bd5c4d5505893 libcurl-devel-7.19.7-26.el6_2.4.i686.rpm x86_64: 0daa38d812db1b31da8c69893c2035c6ebf7082e456b0389f3af5703b346b469 curl-7.19.7-26.el6_2.4.x86_64.rpm 32bc889cc1c5b1d51c6451ea86873721e17b437b985bbcd4703b5aa97562c557 libcurl-7.19.7-26.el6_2.4.i686.rpm 38b7449c126892a5a750727e9480dfecf4929aecbc3f99d1b4041a15ad06bd47 libcurl-7.19.7-26.el6_2.4.x86_64.rpm 05d53e55d992e73a4667eb1ca952fa4dd25429bf84b0c1bf708bd5c4d5505893 libcurl-devel-7.19.7-26.el6_2.4.i686.rpm 9a438b999d6cf3977973d9311245568d30a4d29d8a0272f27cb86cbc8e274304 libcurl-devel-7.19.7-26.el6_2.4.x86_64.rpm Source: 69b10f39ef1ebe1b77cda1eecaf5dd095c10b3bf98ec68b425de8d5aaff100d0 curl-7.19.7-26.el6_2.4.src.rpm -- Johnny Hughes CentOS Project { http://www.centos.org/ } irc: hughesjr, #cen...@irc.freenode.net ___ CentOS-announce mailing list CentOS-announce@centos.org http://lists.centos.org/mailman/listinfo/centos-announce
[CentOS-announce] CEBA-2012:0431 CentOS 6 libssh2 Update
CentOS Errata and Bugfix Advisory 2012:0431 Upstream details at : https://rhn.redhat.com/errata/RHBA-2012-0431.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) i386: 7d30ec5fe040834ef937fa5a42d1a7b1616ae3a75c88f5999a57cc0fe602b2ba libssh2-1.2.2-7.el6_2.3.i686.rpm e92b9e69895ad4b1163d196a324351b21d96394fe22120a0375226f07d4603a6 libssh2-devel-1.2.2-7.el6_2.3.i686.rpm cad9c8769fb46397c12153cc3216ff6bb36f9426114ae82e9157d6362430759d libssh2-docs-1.2.2-7.el6_2.3.i686.rpm x86_64: 7d30ec5fe040834ef937fa5a42d1a7b1616ae3a75c88f5999a57cc0fe602b2ba libssh2-1.2.2-7.el6_2.3.i686.rpm eeef313b39f1d0e46f102bebcfcc73aa86db9466aaa4802989aefdde1f664851 libssh2-1.2.2-7.el6_2.3.x86_64.rpm e92b9e69895ad4b1163d196a324351b21d96394fe22120a0375226f07d4603a6 libssh2-devel-1.2.2-7.el6_2.3.i686.rpm b3cd55280f23c5bd0c0ba4117e2b87917ca813c43f105da0b4d1074387fd07c7 libssh2-devel-1.2.2-7.el6_2.3.x86_64.rpm 1430b6fa7ba116ae854c8b31ba439afef44dabc8a10ef2f955fc977b211a9c68 libssh2-docs-1.2.2-7.el6_2.3.x86_64.rpm Source: f92cb109e96d70182bcaa694f56eb4850bab64c9320e9b238b387af9b0c6cbf5 libssh2-1.2.2-7.el6_2.3.src.rpm -- Johnny Hughes CentOS Project { http://www.centos.org/ } irc: hughesjr, #cen...@irc.freenode.net ___ CentOS-announce mailing list CentOS-announce@centos.org http://lists.centos.org/mailman/listinfo/centos-announce
Re: [CentOS] UC shellinabox
-Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of m.r...@5-cent.us Sent: 27 March 2012 21:13 To: CentOS mailing list Subject: Re: [CentOS] shellinabox Piero wrote: is there anyone using shellinabox[1] (Web based AJAX terminal emulator): I'm trying to run it on a Centos 6.2 x86_64 but I cannot past inserting username and I get session closed. Actually I'm using SELINUX in Enforcing mode but nothing strange is logged in /var/log/audit/audit.log. Actually nothing strange is logged anywhere but I still get only session closed after inserting username and pressing enter key. I'm trying to escape a very strong firewall/proxy for the purpose of managing such a Centos box via SSH and, if you know alternatives to shellinabox, I'll be very glad to hear something from you. I already tried corkscrew and tor but both cannot escape firewall/proxy rules. Never heard of shellinabox. Why do you need that, rather than, say, xterm or rxvt or konsole? mark We use it to allow users access to the HPC from Windows machines. The alternative, cygwin, takes quite a bit of installation and configuration so shellinabox is a lightweight alternative. We're still on CentOS 5, so not a lot of use to the OP however. Martin Rushton HPC System Manager, Weapons Technologies Tel: 01959 514777, Mobile: 07939 219057 email: jmrush...@qinetiq.com www.QinetiQ.com QinetiQ - Delivering customer-focused solutions This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. QinetiQ may monitor email traffic data and also the content of email for the purposes of security. QinetiQ Limited (Registered in England Wales: Company Number: 3796233) Registered office: Cody Technology Park, Ively Road, Farnborough, Hampshire, GU14 0LX http://www.qinetiq.com. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] UC shellinabox
On 03/28/12 3:11 AM, Rushton Martin wrote: We use it to allow users access to the HPC from Windows machines. The alternative, cygwin, takes quite a bit of installation and configuration so shellinabox is a lightweight alternative. We're still on CentOS 5, so not a lot of use to the OP however. cygwin?? if you need a ssh client on Windows, use putty. if you need an x-terminal, use Xming. both are ligthweight, small, and very easy to configure, including via scripting and automatic push installs. -- 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.2 netinstall does not offer create custom layout at Select type of installation in text mode installation
On 03/27/2012 11:38 PM, Scott Robbins wrote: On Tue, Mar 27, 2012 at 11:58:56PM +0300, Aggelis Aggelis wrote: I want to install centos 6.2 i386 on a pc with the following specs I suspect that due to the low specs of my pc the installer does not enter graphical mode installation which gives the Create Custom Layout Option in the Type of Installation step. Is this a bug of the installer in text mode and if not is there a workaround in order to be able to create a custom layout ? It's a bug, but RH considers it a feature. RH's text based install is now extremely limited. I believe the only workaround is make a kickstart file if you want custom partitioning. RedHat calls it streamlined and simplified. you can still run a vnc install from the netinstall emdia and get the complete installer going. -- Karanbir Singh +44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh ICQ: 2522219| Yahoo IM: z00dax | Gtalk: z00dax GnuPG Key : http://www.karan.org/publickey.asc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Problem with PHP / Postgresql on CentOS6.2
Em 27 de março de 2012 14:54, John R Pierce pie...@hogranch.com escreveu: On 03/27/12 5:49 AM, Rudinei Dias wrote: HI. I have instaled a WEB server with Postgresql on CentOS 6.2. PostgreSQL, versin 9.1.3 x64 from EntrrpriseDB base *.run*. PHP with PDO from YUM using reposity versions. use the postgres developer group's RPM's, not the entterpriseDB installer. # rpm -ivh http://yum.postgresql.org/9.1/redhat/rhel-6-x86_64/pgdg-centos91-9.1-4.noarch.rpm ... # yum install postgresql91-{server,contrib,devel) ... # service postgresql-9.1 initdb (then edit your .conf files in /var/lib/pgsql/9.1/data # chkconfig postgresql-9.1 on # service postgresql-9.1 start done. this will properly integrate with the base repository's php-pgsql and pdo. -- 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 Thanks, John. that is was i look for. The postgreSQL documentation about yum/centos/rhel must be updated. Gracias ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] UC shellinabox
On Wed, Mar 28, 2012 at 5:24 AM, John R Pierce pie...@hogranch.com wrote: On 03/28/12 3:11 AM, Rushton Martin wrote: We use it to allow users access to the HPC from Windows machines. The alternative, cygwin, takes quite a bit of installation and configuration so shellinabox is a lightweight alternative. We're still on CentOS 5, so not a lot of use to the OP however. cygwin?? if you need a ssh client on Windows, use putty. if you need an x-terminal, use Xming. both are ligthweight, small, and very easy to configure, including via scripting and automatic push installs. If ssh is allowed through the firewall, you can run freenx on the server and the cross-platform NX clients from www.nomachine.com to run full X desktops with good remote performance and the ability to reconnect to running sessions. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] How to restrict reboot/poweroff from non-admins?
I just noticed that CentOS (6.2) by default allows any user to reboot/poweroff system without any admin rights, or without any further questions, if using commands 'reboot' or 'poweroff'. But 'shutdown' still requires admin rights. What is the preferred way to restrict any regular user from rebooting / powering off the system (by accident)? IMHO, sudo should be required for this purpose (at least in a system with shared remote access from multiple users, single-user laptops etc may be a different case) -- TiN ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] udev works ok in CentOS 6.x??
On 03/13/2012 07:01 PM, John R Pierce wrote: On 03/13/12 8:19 AM, C. L. Martinez wrote: Please, any help? avoid using ANY device names for SCSI class devices, they are near useless.mount the volumes via label or uUID. Sorry to re-open this thread, but how can I obtain this uuid?? For example. With one disk, uuid is showed: [root@newc6srv by-uuid]# ls -la /dev/disk/by-uuid/ total 0 drwxr-xr-x 2 root root 80 Mar 28 13:19 . drwxr-xr-x 4 root root 80 Mar 28 13:19 .. lrwxrwxrwx 1 root root 10 Mar 28 13:19 0faf5e22-ff30-4ab8-a9ac-733c593eec40 - ../../sda1 lrwxrwxrwx 1 root root 10 Mar 28 13:19 37501499-c52d-4a84-9ec8-778adf511ebd - ../../sda2 but when I add two disks, uuid isn't showed: root@newc6srv by-uuid]# ls -la /dev/disk/by-uuid/ total 0 drwxr-xr-x 2 root root 80 Mar 28 13:19 . drwxr-xr-x 4 root root 80 Mar 28 13:19 .. lrwxrwxrwx 1 root root 10 Mar 28 13:19 0faf5e22-ff30-4ab8-a9ac-733c593eec40 - ../../sda1 lrwxrwxrwx 1 root root 10 Mar 28 13:19 37501499-c52d-4a84-9ec8-778adf511ebd - ../../sda2 [root@newc6srv by-uuid]# ls -la /dev/sd* brw-rw 1 root disk 8, 0 Mar 28 13:19 /dev/sda brw-rw 1 root disk 8, 1 Mar 28 13:19 /dev/sda1 brw-rw 1 root disk 8, 2 Mar 28 13:19 /dev/sda2 brw-rw 1 root disk 8, 16 Mar 28 13:19 /dev/sdb brw-rw 1 root disk 8, 17 Mar 28 13:19 /dev/sdb1 brw-rw 1 root disk 8, 32 Mar 28 13:19 /dev/sdc brw-rw 1 root disk 8, 33 Mar 28 13:19 /dev/sdc1 and dmesg: sd 2:0:0:0: [sda] Assuming drive cache: write through sda: sd 3:0:0:0: [sdb] 536870912 512-byte logical blocks: (274 GB/256 GiB) sd 3:0:0:0: [sdb] Write Protect is off sd 3:0:0:0: [sdb] Mode Sense: 61 00 00 00 sd 3:0:0:0: [sdb] Cache data unavailable sd 3:0:0:0: [sdb] Assuming drive cache: write through sd 3:0:0:0: [sdb] Cache data unavailable sd 3:0:0:0: [sdb] Assuming drive cache: write through sdb: sda1 sda2 sd 2:0:0:0: [sda] Cache data unavailable sd 2:0:0:0: [sda] Assuming drive cache: write through sd 2:0:0:0: [sda] Attached SCSI disk sd 4:0:0:0: [sdc] 536870912 512-byte logical blocks: (274 GB/256 GiB) sd 4:0:0:0: [sdc] Write Protect is off sd 4:0:0:0: [sdc] Mode Sense: 61 00 00 00 sd 4:0:0:0: [sdc] Cache data unavailable sd 4:0:0:0: [sdc] Assuming drive cache: write through sd 4:0:0:0: [sdc] Cache data unavailable sd 4:0:0:0: [sdc] Assuming drive cache: write through sdc: sdb1 sd 3:0:0:0: [sdb] Cache data unavailable sd 3:0:0:0: [sdb] Assuming drive cache: write through sd 3:0:0:0: [sdb] Attached SCSI disk sdc1 sd 4:0:0:0: [sdc] Cache data unavailable sd 4:0:0:0: [sdc] Assuming drive cache: write through sd 4:0:0:0: [sdc] Attached SCSI disk Then, how can I obtain these uuids?? -- CL Martinez carlopmart {at} gmail {d0t} com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Postfix problems with maximum messages size
CentOS-6.2 I am confused. I need to accept messages somewhat larger than the default 10M allowed by Postfix. However, changing the message_size_limit in /etc/postfix/main.cf is having no effect. Squirrelmail is configured to accept and transmit messages up to 24M and this identical configuration is working on a Sendmail installation. So the problem appears to me to be strictly at Postfix matter. # grep message_size_limit /etc/postfix/* /etc/postfix/main.cf:message_size_limit = 2048 # postfix reload postfix/postfix-script: refreshing the Postfix mail system # postconf -n | grep size_limit message_size_limit = 2048 smtp message generated to squirrelmail client Message not sent. Server replied: Requested mail action aborted: exceeding storage allocation 552 5.2.3 Message exceeds maximum fixed size (1200) What is going on? Why am I unable to have configured limit of 20M take effect? -- *** 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] udev works ok in CentOS 6.x??
carlopmart wrote on 03/28/2012 09:27 AM: Then, how can I obtain these uuids?? blkid Phil ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Postfix problems with maximum messages size
Le 28/03/2012 15:44, James B. Byrne a écrit : CentOS-6.2 snip # grep message_size_limit /etc/postfix/* /etc/postfix/main.cf:message_size_limit = 2048 # postfix reload postfix/postfix-script: refreshing the Postfix mail system # postconf -n | grep size_limit message_size_limit = 2048 smtp message generated to squirrelmail client Message not sent. Server replied: Requested mail action aborted: exceeding storage allocation 552 5.2.3 Message exceeds maximum fixed size (1200) What is going on? Why am I unable to have configured limit of 20M take effect? And did you change mailbox_size_limit in main.cf What is his value ? Mehdi MAACHE. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] udev works ok in CentOS 6.x??
On 03/28/2012 03:51 PM, Phil Schaffner wrote: carlopmart wrote on 03/28/2012 09:27 AM: Then, how can I obtain these uuids?? blkid Phil Doesn't works neither: [root@newc6srv init.d]# blkid /dev/sdb1 [root@newc6srv init.d] -- CL Martinez carlopmart {at} gmail {d0t} com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to restrict reboot/poweroff from non-admins?
Timo Neuvonen wrote on 03/28/2012 09:17 AM: I just noticed that CentOS (6.2) by default allows any user to reboot/poweroff system without any admin rights, or without any further questions, if using commands 'reboot' or 'poweroff'. But 'shutdown' still requires admin rights. What is the preferred way to restrict any regular user from rebooting / powering off the system (by accident)? IMHO, sudo should be required for this purpose (at least in a system with shared remote access from multiple users, single-user laptops etc may be a different case) OUCH! This seems to qualify as a CentOS bug. I confirm that a normal user can reboot or poweroff the system on 6.2. On RHEL: $ rpm -qa redhat-release\* redhat-release-server-6Server-6.2.0.3.el6.x86_64 $ poweroff poweroff: Need to be root $ reboot reboot: Need to be root Phil ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] [SOLVED] Re: Postfix problems with maximum messages size
On Wed, March 28, 2012 09:44, James B. Byrne wrote: CentOS-6.2 I am confused. Yes, yes I am. I was looking at the wrong server. -- *** 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 -- *** 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] How to restrict reboot/poweroff from non-admins?
On 3/28/2012 10:03 AM, Phil Schaffner wrote: Timo Neuvonen wrote on 03/28/2012 09:17 AM: I just noticed that CentOS (6.2) by default allows any user to reboot/poweroff system without any admin rights, or without any further questions, if using commands 'reboot' or 'poweroff'. But 'shutdown' still requires admin rights. What is the preferred way to restrict any regular user from rebooting / powering off the system (by accident)? IMHO, sudo should be required for this purpose (at least in a system with shared remote access from multiple users, single-user laptops etc may be a different case) OUCH! This seems to qualify as a CentOS bug. I confirm that a normal user can reboot or poweroff the system on 6.2. On RHEL: $ rpm -qa redhat-release\* redhat-release-server-6Server-6.2.0.3.el6.x86_64 $ poweroff poweroff: Need to be root $ reboot reboot: Need to be root Phil ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos I was just reading this the other day in a book but cannot find it...there is some command that limits this...not sure if it was just sudo or not... yea, that is scary ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] udev works ok in CentOS 6.x??
carlopmart wrote on 03/28/2012 09:53 AM: On 03/28/2012 03:51 PM, Phil Schaffner wrote: carlopmart wrote on 03/28/2012 09:27 AM: Then, how can I obtain these uuids?? blkid Phil Doesn't works neither: [root@newc6srv init.d]# blkid /dev/sdb1 [root@newc6srv init.d] What does blkid with no arguments show? How about fdisk -l /dev/sdb? You previously showed that /dev/sdb was a LVM device. Phil ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] udev works ok in CentOS 6.x??
On 3/28/2012 10:07 AM, Phil Schaffner wrote: carlopmart wrote on 03/28/2012 09:53 AM: On 03/28/2012 03:51 PM, Phil Schaffner wrote: carlopmart wrote on 03/28/2012 09:27 AM: Then, how can I obtain these uuids?? blkid Phil Doesn't works neither: [root@newc6srv init.d]# blkid /dev/sdb1 [root@newc6srv init.d] What does blkid with no arguments show? How about fdisk -l /dev/sdb? You previously showed that /dev/sdb was a LVM device. Phil ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos /etc/grub.conf? /boot/? lost of info there with uuid stage1, stage2? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to restrict reboot/poweroff from non-admins?
On 03/28/2012 04:04 PM, Bob Hoffman wrote: On 3/28/2012 10:03 AM, Phil Schaffner wrote: Timo Neuvonen wrote on 03/28/2012 09:17 AM: I just noticed that CentOS (6.2) by default allows any user to reboot/poweroff system without any admin rights, or without any further questions, if using commands 'reboot' or 'poweroff'. But 'shutdown' still requires admin rights. What is the preferred way to restrict any regular user from rebooting / powering off the system (by accident)? IMHO, sudo should be required for this purpose (at least in a system with shared remote access from multiple users, single-user laptops etc may be a different case) OUCH! This seems to qualify as a CentOS bug. I confirm that a normal user can reboot or poweroff the system on 6.2. On RHEL: $ rpm -qa redhat-release\* redhat-release-server-6Server-6.2.0.3.el6.x86_64 $ poweroff poweroff: Need to be root $ reboot reboot: Need to be root Phil ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos I was just reading this the other day in a book but cannot find it...there is some command that limits this...not sure if it was just sudo or not... yea, that is scary ___ Only console users (local users) are allowed to do that. It's configured using pam (I use Centos5.8 so forgive me if this is not the same for CentOS6). I tried to change settings in /etc/pam.d/ and that indeed works: /etc/pam.d/poweroff /etc/pam.d/reboot /etc/pam.d/halt I added as a second line : auth sufficient pam_rootok.so # prevent normal users to reboot auth required pam_deny.so But still the user locally logged on to the machine (gnome session) can switch it off. So I think I also missed something. Theo ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to restrict reboot/poweroff from non-admins?
On 03/28/2012 09:03 AM, Phil Schaffner wrote: Timo Neuvonen wrote on 03/28/2012 09:17 AM: I just noticed that CentOS (6.2) by default allows any user to reboot/poweroff system without any admin rights, or without any further questions, if using commands 'reboot' or 'poweroff'. But 'shutdown' still requires admin rights. What is the preferred way to restrict any regular user from rebooting / powering off the system (by accident)? IMHO, sudo should be required for this purpose (at least in a system with shared remote access from multiple users, single-user laptops etc may be a different case) OUCH! This seems to qualify as a CentOS bug. I confirm that a normal user can reboot or poweroff the system on 6.2. On RHEL: $ rpm -qa redhat-release\* redhat-release-server-6Server-6.2.0.3.el6.x86_64 $ poweroff poweroff: Need to be root $ reboot reboot: Need to be root Phil Make sure you are testing apples to apples Test ssh access versus local console access, etc. signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to restrict reboot/poweroff from non-admins?
Johnny Hughes wrote on 03/28/2012 10:26 AM: On 03/28/2012 09:03 AM, Phil Schaffner wrote: Timo Neuvonen wrote on 03/28/2012 09:17 AM: I just noticed that CentOS (6.2) by default allows any user to reboot/poweroff system without any admin rights, or without any further questions, if using commands 'reboot' or 'poweroff'. But 'shutdown' still requires admin rights. What is the preferred way to restrict any regular user from rebooting / powering off the system (by accident)? IMHO, sudo should be required for this purpose (at least in a system with shared remote access from multiple users, single-user laptops etc may be a different case) OUCH! This seems to qualify as a CentOS bug. I confirm that a normal user can reboot or poweroff the system on 6.2. On RHEL: $ rpm -qa redhat-release\* redhat-release-server-6Server-6.2.0.3.el6.x86_64 $ poweroff poweroff: Need to be root $ reboot reboot: Need to be root Phil Make sure you are testing apples to apples Test ssh access versus local console access, etc. Got me there. The access mode does seem to be the difference. I tested from the GUI on CentOS and via ssh on RHEL. Logged on to the console in a GUI on RHEL6 a user can reboot or poweroff, and presumably also halt. Seems to be the console user thing. So CentOS does match upstream. Phil ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] One disk speed problem [SOLVED], and a question on hdparm
On Mon, Mar 26, 2012 at 4:20 PM, m.r...@5-cent.us wrote: Yeah... but parted is user hostile. A co-worker and I, both of whom don't need GUIs, use gparted. However, that doesn't tell me where it's aligning things. I think its trick is the default 1M offset it adds at the start. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] One disk speed problem [SOLVED], and a question on hdparm
Les Mikesell wrote: On Mon, Mar 26, 2012 at 4:20 PM, m.r...@5-cent.us wrote: Yeah... but parted is user hostile. A co-worker and I, both of whom don't need GUIs, use gparted. However, that doesn't tell me where it's aligning things. I think its trick is the default 1M offset it adds at the start. You may be right... but I'm not sure. We'll see if the 3tb drive I've just formatted takes less time - the others I used gparted with. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] udev works ok in CentOS 6.x??
On 03/28/2012 04:15 PM, Bob Hoffman wrote: On 3/28/2012 10:07 AM, Phil Schaffner wrote: carlopmart wrote on 03/28/2012 09:53 AM: On 03/28/2012 03:51 PM, Phil Schaffner wrote: carlopmart wrote on 03/28/2012 09:27 AM: Then, how can I obtain these uuids?? blkid Phil Doesn't works neither: [root@newc6srv init.d]# blkid /dev/sdb1 [root@newc6srv init.d] What does blkid with no arguments show? How about fdisk -l /dev/sdb? You previously showed that /dev/sdb was a LVM device. Phil Yes, it is correct. See: [root@newc6srv rc2.d]# fdisk -l /dev/sdb Disk /dev/sdb: 274.9 GB, 274877906944 bytes 171 heads, 32 sectors/track, 98112 cylinders Units = cylinders of 5472 * 512 = 2801664 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0006c633 Device Boot Start End Blocks Id System /dev/sdb1 1 98113 268434432 8e Linux LVM [root@newc6srv rc2.d]# fdisk -l /dev/sdc Disk /dev/sdc: 274.9 GB, 274877906944 bytes 171 heads, 32 sectors/track, 98112 cylinders Units = cylinders of 5472 * 512 = 2801664 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00098fde Device Boot Start End Blocks Id System /dev/sdc1 1 98113 268434432 8e Linux LVM blkid without arguments doesn't shows nothing. And using: [root@newc6srv rc2.d]# blkid -c /dev/null /dev/sdb* [root@newc6srv rc2.d]# nothing neither ... /etc/grub.conf? /boot/? lost of info there with uuid stage1, stage2? What has /etc/grub.conf, /boot, stage1 and stage2 to do here? I don't understand what info you are asking ... -- CL Martinez carlopmart {at} gmail {d0t} com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to restrict reboot/poweroff from non-admins?
On 03/28/2012 09:47 AM, Phil Schaffner wrote: Johnny Hughes wrote on 03/28/2012 10:26 AM: On 03/28/2012 09:03 AM, Phil Schaffner wrote: Timo Neuvonen wrote on 03/28/2012 09:17 AM: I just noticed that CentOS (6.2) by default allows any user to reboot/poweroff system without any admin rights, or without any further questions, if using commands 'reboot' or 'poweroff'. But 'shutdown' still requires admin rights. What is the preferred way to restrict any regular user from rebooting / powering off the system (by accident)? IMHO, sudo should be required for this purpose (at least in a system with shared remote access from multiple users, single-user laptops etc may be a different case) OUCH! This seems to qualify as a CentOS bug. I confirm that a normal user can reboot or poweroff the system on 6.2. On RHEL: $ rpm -qa redhat-release\* redhat-release-server-6Server-6.2.0.3.el6.x86_64 $ poweroff poweroff: Need to be root $ reboot reboot: Need to be root Phil Make sure you are testing apples to apples Test ssh access versus local console access, etc. Got me there. The access mode does seem to be the difference. I tested from the GUI on CentOS and via ssh on RHEL. Logged on to the console in a GUI on RHEL6 a user can reboot or poweroff, and presumably also halt. Seems to be the console user thing. So CentOS does match upstream. I just did some research on this ... the files that need to be modified to change this behavior are: /etc/pam.d/poweroff /etc/pam.d/halt /etc/pam.d/reboot The files in CentOS are identical to upstream ... they are also identical to each other and look like this: auth sufficient pam_rootok.so auth required pam_console.so #auth include system-auth accountrequired pam_permit.so I am sure those can be adjusted so console access by itself is not sufficient. signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] udev works ok in CentOS 6.x??
On 3/28/2012 11:10 AM, carlopmart wrote: /etc/grub.conf? /boot/? lost of info there with uuid stage1, stage2? What has /etc/grub.conf, /boot, stage1 and stage2 to do here? I don't understand what info you are asking ... look in the grub.conf file, lists uuids of block devices ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] udev works ok in CentOS 6.x??
On 03/28/2012 05:16 PM, Bob Hoffman wrote: On 3/28/2012 11:10 AM, carlopmart wrote: /etc/grub.conf? /boot/? lost of info there with uuid stage1, stage2? What has /etc/grub.conf, /boot, stage1 and stage2 to do here? I don't understand what info you are asking ... look in the grub.conf file, lists uuids of block devices grub.conf only shows uuid for root device. This host has three scsi disks: sda, sdb and sdc. sda is where is installed and uuid is showed and correct: [root@newc6srv lvm]# ls -la /dev/disk/by-uuid/ total 0 drwxr-xr-x 2 root root 80 Mar 28 13:19 . drwxr-xr-x 4 root root 80 Mar 28 13:19 .. lrwxrwxrwx 1 root root 10 Mar 28 13:19 0faf5e22-ff30-4ab8-a9ac-733c593eec40 - ../../sda1 lrwxrwxrwx 1 root root 10 Mar 28 13:19 37501499-c52d-4a84-9ec8-778adf511ebd - ../../sda2 But I have added two disks: sdb and sdc. is with these disks where uuid doesn't works -- CL Martinez carlopmart {at} gmail {d0t} com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] udev works ok in CentOS 6.x??
On 3/28/2012 11:19 AM, carlopmart wrote: On 03/28/2012 05:16 PM, Bob Hoffman wrote: On 3/28/2012 11:10 AM, carlopmart wrote: /etc/grub.conf? /boot/? lost of info there with uuid stage1, stage2? What has /etc/grub.conf, /boot, stage1 and stage2 to do here? I don't understand what info you are asking ... look in the grub.conf file, lists uuids of block devices grub.conf only shows uuid for root device. This host has three scsi disks: sda, sdb and sdc. sda is where is installed and uuid is showed and correct: [root@newc6srv lvm]# ls -la /dev/disk/by-uuid/ total 0 drwxr-xr-x 2 root root 80 Mar 28 13:19 . drwxr-xr-x 4 root root 80 Mar 28 13:19 .. lrwxrwxrwx 1 root root 10 Mar 28 13:19 0faf5e22-ff30-4ab8-a9ac-733c593eec40 - ../../sda1 lrwxrwxrwx 1 root root 10 Mar 28 13:19 37501499-c52d-4a84-9ec8-778adf511ebd - ../../sda2 But I have added two disks: sdb and sdc. is with these disks where uuid doesn't works ls -l /dev/disk/by-uuid lrwxrwxrwx 1 root root 10 Mar 23 00:08 2e55cc65-9c70-4081-9209-070aa4698e18 - ../../dm-1 lrwxrwxrwx 1 root root 10 Mar 23 00:08 2f76b8e6-c86b-455d-bf56-d54c7c5bd084 - ../../sda1 lrwxrwxrwx 1 root root 10 Mar 23 00:08 36992f08-801c-4a88-a3b8-080ab0cc0988 - ../../sdb1 lrwxrwxrwx 1 root root 10 Mar 23 00:08 a712997a-bdbc-4dd6-bdc3-2288d5f8d474 - ../../dm-0 lrwxrwxrwx 1 root root 9 Mar 23 00:08 b68b49aa-24d5-455c-ac9d-fc5dd93386fa - ../../md0 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] udev works ok in CentOS 6.x??
as root run blkid -dennis On 03/28/2012 08:10 AM, carlopmart wrote: On 03/28/2012 04:15 PM, Bob Hoffman wrote: On 3/28/2012 10:07 AM, Phil Schaffner wrote: carlopmart wrote on 03/28/2012 09:53 AM: On 03/28/2012 03:51 PM, Phil Schaffner wrote: carlopmart wrote on 03/28/2012 09:27 AM: Then, how can I obtain these uuids?? blkid Phil Doesn't works neither: [root@newc6srv init.d]# blkid /dev/sdb1 [root@newc6srv init.d] What does blkid with no arguments show? How about fdisk -l /dev/sdb? You previously showed that /dev/sdb was a LVM device. Phil Yes, it is correct. See: [root@newc6srv rc2.d]# fdisk -l /dev/sdb Disk /dev/sdb: 274.9 GB, 274877906944 bytes 171 heads, 32 sectors/track, 98112 cylinders Units = cylinders of 5472 * 512 = 2801664 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0006c633 Device Boot Start End Blocks Id System /dev/sdb1 1 98113 268434432 8e Linux LVM [root@newc6srv rc2.d]# fdisk -l /dev/sdc Disk /dev/sdc: 274.9 GB, 274877906944 bytes 171 heads, 32 sectors/track, 98112 cylinders Units = cylinders of 5472 * 512 = 2801664 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00098fde Device Boot Start End Blocks Id System /dev/sdc1 1 98113 268434432 8e Linux LVM blkid without arguments doesn't shows nothing. And using: [root@newc6srv rc2.d]# blkid -c /dev/null /dev/sdb* [root@newc6srv rc2.d]# nothing neither ... /etc/grub.conf? /boot/? lost of info there with uuid stage1, stage2? What has /etc/grub.conf, /boot, stage1 and stage2 to do here? I don't understand what info you are asking ... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] udev works ok in CentOS 6.x??
On 03/28/2012 05:22 PM, Bob Hoffman wrote: On 3/28/2012 11:19 AM, carlopmart wrote: On 03/28/2012 05:16 PM, Bob Hoffman wrote: On 3/28/2012 11:10 AM, carlopmart wrote: /etc/grub.conf? /boot/? lost of info there with uuid stage1, stage2? What has /etc/grub.conf, /boot, stage1 and stage2 to do here? I don't understand what info you are asking ... look in the grub.conf file, lists uuids of block devices grub.conf only shows uuid for root device. This host has three scsi disks: sda, sdb and sdc. sda is where is installed and uuid is showed and correct: [root@newc6srv lvm]# ls -la /dev/disk/by-uuid/ total 0 drwxr-xr-x 2 root root 80 Mar 28 13:19 . drwxr-xr-x 4 root root 80 Mar 28 13:19 .. lrwxrwxrwx 1 root root 10 Mar 28 13:19 0faf5e22-ff30-4ab8-a9ac-733c593eec40 - ../../sda1 lrwxrwxrwx 1 root root 10 Mar 28 13:19 37501499-c52d-4a84-9ec8-778adf511ebd - ../../sda2 But I have added two disks: sdb and sdc. is with these disks where uuid doesn't works ls -l /dev/disk/by-uuid lrwxrwxrwx 1 root root 10 Mar 23 00:08 2e55cc65-9c70-4081-9209-070aa4698e18 - ../../dm-1 lrwxrwxrwx 1 root root 10 Mar 23 00:08 2f76b8e6-c86b-455d-bf56-d54c7c5bd084 - ../../sda1 lrwxrwxrwx 1 root root 10 Mar 23 00:08 36992f08-801c-4a88-a3b8-080ab0cc0988 - ../../sdb1 lrwxrwxrwx 1 root root 10 Mar 23 00:08 a712997a-bdbc-4dd6-bdc3-2288d5f8d474 - ../../dm-0 lrwxrwxrwx 1 root root 9 Mar 23 00:08 b68b49aa-24d5-455c-ac9d-fc5dd93386fa - ../../md0 That's what I like to see, but it doesn't works for me /dev/disk/by-uuid only has uuid for sda and not for sdb and sdc... Do I need to configure something under udev or scsi_id to rescan scsi disks at host startup or something similar??? -- CL Martinez carlopmart {at} gmail {d0t} com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] udev works ok in CentOS 6.x??
On 03/28/2012 05:23 PM, cl...@west.net wrote: as root run blkid -dennis Have you read my previous posts?? -- CL Martinez carlopmart {at} gmail {d0t} com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS-announce Digest, Vol 85, Issue 14
Send CentOS-announce mailing list submissions to centos-annou...@centos.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos-announce or, via email, send a message with subject or body 'help' to centos-announce-requ...@centos.org You can reach the person managing the list at centos-announce-ow...@centos.org When replying, please edit your Subject line so it is more specific than Re: Contents of CentOS-announce digest... Today's Topics: 1. CEBA-2012:0425 CentOS 6 ruby Update (Johnny Hughes) 2. CESA-2012:0426 Moderate CentOS 5 openssl Update (Johnny Hughes) 3. CESA-2012:0428 Important CentOS 5 gnutls Update (Johnny Hughes) 4. CESA-2012:0426 Moderate CentOS 6 openssl Update (Johnny Hughes) 5. CESA-2012:0427 Important CentOS 6 libtasn1 Update (Johnny Hughes) 6. CESA-2012:0429 Important CentOS 6 gnutls Update (Johnny Hughes) 7. CEBA-2012:0432 CentOS 5 ksh Update (Johnny Hughes) 8. CEBA-2012:0430 CentOS 6 curl Update (Johnny Hughes) 9. CEBA-2012:0431 CentOS 6 libssh2 Update (Johnny Hughes) -- Message: 1 Date: Tue, 27 Mar 2012 22:00:24 + From: Johnny Hughes joh...@centos.org Subject: [CentOS-announce] CEBA-2012:0425 CentOS 6 ruby Update To: centos-annou...@centos.org Message-ID: 20120327220024.ga24...@chakra.karan.org Content-Type: text/plain; charset=us-ascii CentOS Errata and Bugfix Advisory 2012:0425 Upstream details at : https://rhn.redhat.com/errata/RHBA-2012-0425.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) i386: 18bea475f7c517756c49cb1790cf19ceb4716deed1d21790ef3bd5fc24e9162f ruby-1.8.7.352-7.el6_2.i686.rpm d5b08aad7308a5e2d5060a6fa4914143caa91c11e0c6fffcfb5f23d9a4d27a29 ruby-devel-1.8.7.352-7.el6_2.i686.rpm 5a75b6dd4ae061907c45909cc313b598d91f0921df8768f64811776aab05df7b ruby-docs-1.8.7.352-7.el6_2.i686.rpm 93630f27334de6abdca322660b10dcbd48158af3de8ec39ced1d2fd046dfed30 ruby-irb-1.8.7.352-7.el6_2.i686.rpm b72d6fd01653433556b8ee4ff1a36b5474227d003eed518a9e9c17439fc8e3a2 ruby-libs-1.8.7.352-7.el6_2.i686.rpm 6784c3f275db48129ca0035520344540361ead087fb6df63dd87483dc8d8da3e ruby-rdoc-1.8.7.352-7.el6_2.i686.rpm aaa6fbc788410d4beedcf3ed21268fbcce47d32236734d254df642dba4b37db5 ruby-ri-1.8.7.352-7.el6_2.i686.rpm d401b7f7707998f39a55f2571cb357d0db44787bb6efe9969e305ab1a879e2cf ruby-static-1.8.7.352-7.el6_2.i686.rpm ba664a9bad3e4bdb1ec5df4f1eb14a13438fcb049599a02ccfee08893b19fde1 ruby-tcltk-1.8.7.352-7.el6_2.i686.rpm x86_64: 2f24283dbaad59585234ba9eb9b9fa272b9369de70ca418b33d45e45b0c56b8c ruby-1.8.7.352-7.el6_2.x86_64.rpm d5b08aad7308a5e2d5060a6fa4914143caa91c11e0c6fffcfb5f23d9a4d27a29 ruby-devel-1.8.7.352-7.el6_2.i686.rpm 8d243d933c9961e536597ddeb5e2575c644010f8e88440704d4926ac5eec ruby-devel-1.8.7.352-7.el6_2.x86_64.rpm 5af910e9c80d339f44cbcb50f4b27860cf1ea5da79d89d998fa406c320f65c15 ruby-docs-1.8.7.352-7.el6_2.x86_64.rpm 0302fd5a8e5ceee8ecbce9c0620f22949970072f176d302a8f5c71e2d7b5e41e ruby-irb-1.8.7.352-7.el6_2.x86_64.rpm b72d6fd01653433556b8ee4ff1a36b5474227d003eed518a9e9c17439fc8e3a2 ruby-libs-1.8.7.352-7.el6_2.i686.rpm daa90bb88be069f9bbb8beec985a5af5beb7a4e3339669397ebe3623f562484a ruby-libs-1.8.7.352-7.el6_2.x86_64.rpm 759d9151040059fdc053c37f923a849383c4109183e7f5514c7dd2f939ea3624 ruby-rdoc-1.8.7.352-7.el6_2.x86_64.rpm 4243ed2b1730230257785ffbf7208628a23a01a3b9ec895e2d089e08be07f502 ruby-ri-1.8.7.352-7.el6_2.x86_64.rpm b2a71a2ac70c804a95d5d43514a0bd3ec1ace93c852d4927995d4ad1c88ac00f ruby-static-1.8.7.352-7.el6_2.x86_64.rpm 29a518502fb35fdaf176d36a5cd62a2f4e059738378aa2a8a818ef02d1cfd0ff ruby-tcltk-1.8.7.352-7.el6_2.x86_64.rpm Source: 175b0e1d5f0065cbfb98dd3a93b4080e234a39106b8e3b28a0a005c16909a6ac ruby-1.8.7.352-7.el6_2.src.rpm -- Johnny Hughes CentOS Project { http://www.centos.org/ } irc: hughesjr, #cen...@irc.freenode.net -- Message: 2 Date: Wed, 28 Mar 2012 00:47:32 + From: Johnny Hughes joh...@centos.org Subject: [CentOS-announce] CESA-2012:0426 Moderate CentOS 5 openssl Update To: centos-annou...@centos.org Message-ID: 20120328004732.ga32...@chakra.karan.org Content-Type: text/plain; charset=us-ascii CentOS Errata and Security Advisory 2012:0426 Moderate Upstream details at : https://rhn.redhat.com/errata/RHSA-2012-0426.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) i386: e4cbb2040ceb87bb345dbf94c41f24396b74ae803ecab4fa829834482eb8a652 openssl-0.9.8e-22.el5_8.1.i386.rpm 08d92c3195ac0fd6e0dac5172eebc536135864e4676b0c518e5cbc2363767798 openssl-0.9.8e-22.el5_8.1.i686.rpm c0f2075d0e79b12caee8c0a9c706495e767cfa1a31d2b136668cdefcb5b94213 openssl-devel-0.9.8e-22.el5_8.1.i386.rpm 02efaecbcdc7b7ced3b7ce92b074531ead164c967abefe364fa3c03b942a0e0b
Re: [CentOS] parallel bash scripts
I solved a similar problem by installing gnu parallel on my system. It did everything that I wanted, and better than I would have coded. Ali On Tue, Mar 27, 2012 at 6:37 PM, Mark LaPierre marklap...@aol.com wrote: Check out the redirection at the end of each command. 12 redirects the standard out of your child command to the standard error which then appears in the parent shell. At the end the last launches your command into a background shell and then moves on to launch the next command. The redirections don't care if the command ever terminates. The result is that both commands are launched and the parent shell terminates leaving the standard error attached to the terminal that the parent was launched in. On 03/27/2012 09:08 PM, bruce wrote: marklap...@aol.com hey mark what you have, appears to be pretty close to what i had... except my tests never ended... the loops are infinite... can i do a fpaste and have you take a look at what i have? -btuce On Tue, Mar 27, 2012 at 9:00 PM, Mark LaPierremarklap...@aol.com wrote: On 03/27/2012 05:25 PM, bruce wrote: hi. got a couple of test bash scripts. dog.sh, cat.sh each script runs the underlying php in an endless loop. I'm trying to figure out how to run the scripts in parallel, from the same parent shell script. something like: test.sh where dog.sh would be : while true do pgrep dog if [ $? -ne 0 ] then /dog.php fi sleep 5 done my current tests, run dog.sh, which runs the dog.php ... but the test never gets to run cat.sh thoughts/comments... thanks Hey Bruce, Do you mean to run these subprograms in parallel or in series? cat.sh #! /bin/bash CAT=0 until [ $CAT -eq 10 ] do echo Inside a dog it's too dark to read. $CAT CAT=$[$CAT + 1] sleep 2 done dog.sh #! /bin/bash DOG=0 until [ $DOG -eq 10 ] do echo Next to a dog a book is man's best friend. $DOG DOG=$[$DOG + 1] sleep 2 done test.sh #! /bin/sh /home/mlapier/test/dog.sh 12 /home/mlapier/test/cat.sh 12 [mlapier@mushroom test]$ ./test.sh [mlapier@mushroom test]$ Next to a dog a book is man's best friend. 0 Inside a dog it's too dark to read. 0 Next to a dog a book is man's best friend. 1 Inside a dog it's too dark to read. 1 Next to a dog a book is man's best friend. 2 Inside a dog it's too dark to read. 2 Next to a dog a book is man's best friend. 3 Inside a dog it's too dark to read. 3 Next to a dog a book is man's best friend. 4 Inside a dog it's too dark to read. 4 Next to a dog a book is man's best friend. 5 Inside a dog it's too dark to read. 5 Next to a dog a book is man's best friend. 6 Inside a dog it's too dark to read. 6 Next to a dog a book is man's best friend. 7 Inside a dog it's too dark to read. 7 Next to a dog a book is man's best friend. 8 Inside a dog it's too dark to read. 8 Next to a dog a book is man's best friend. 9 Inside a dog it's too dark to read. 9 -- users mailing list us...@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org ___ 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] One disk speed problem [SOLVED], and a question on hdparm
On 3/26/2012 4:32 PM, John R Pierce wrote: On 03/26/12 2:20 PM, m.r...@5-cent.us wrote: Yeah... but parted is user hostile. A co-worker and I, both of whom don't need GUIs, use gparted. However, that doesn't tell me where it's aligning things. I don't think its any more user hostile than fdisk is, just perhaps less familiar. parted(8) commits changes as you make them. Those of us who grew up with :wq and File Save (which seems to be fading away these days) expect to have the option of quitting without saving. Automatic commit is fine if you expect it, so you plan your changes more carefully, but there's a whole lot of us with ingrained never mind, get me out of here Ctrl-C reflexes. Worse, to my mind, is that parted(8) makes you explicitly give it more values than fdisk(8) does. fdisk(8) uses information it has plus reasonable guesses to provide reasonable defaults for almost every question it asks: - parted(8) can't create partitions on a new disk until you mklabel. You may claim the reason for this is that parted supports many partition table types, but actually, fdisk supports more than just MBR. The essential difference is that fdisk(8) has a reasonable default, parted(8) does not. Is there a good reason parted couldn't implicitly do mklabel gpt if you say mkpart on a zeroed disk? - fdisk(8) gives reasonable defaults when creating partitions for the start and end values. Its default start happens to be wrong in this 4K sector world, but parted(8) would be expected to fix that, if it offered a default. Why should the operator be expected to know that starting at 0 or 63 is a bad idea? Why should the operator be expected to know that -1 means end of disk? Why should the operator have to do arithmetic to pack 8 partitions back-to-back? You can trick parted(8) into doing some of the arithmetic for you; if you tell it all partitions start at 0, it offers to slide the new partition into position after existing ones. But, this again gets into specialized knowledge the user really has no good reason to have. fdisk doesn't make you think about partition start positions and it lets you give relative partition sizes instead of compute end values. Maybe you don't see the problem. Consider this partition layout: /boot: 500 MB swap: 16 GB /: 20 GB /home: the rest In fdisk speak, the commands are: n, p, 1, [Enter], +500m n, p, 2, [Enter], +16g, t, 82 n, p, 3, [Enter], +20g n, p, 4, [Enter], [Enter] In parted speak, it is: mklabel gpt mkpart, [Enter], [Enter], 1m, 501m mkpart, [Enter], linux-swap, 501m, 16.51g mkpart, [Enter], [Enter], 16.51g, 36.51g mkpart, [Enter], [Enter], 36.51g, -1 The fdisk sequence is more self-explanatory. The only things it makes you tell it, which it should be able to guess or figure out on it own, are the partition numbers. The fdisk sequence is also less arbitrary. You might think the magic number 82 is more arbitrary than linux-swap, but I tried swap first and got told to start over, proving it's just as arbitrary. Oh, and realize that with parted(8) I had to manually ensure proper alignment the whole way. If parted gave a default start value, it could ensure it was always aligned. parted(8) has its points. GPT support, partition types given by FS name instead of arbitrary MS-DOS type IDs, the ability to mkfs for *some* supported filesystem types (not all!), resizing... Still, I'd have to agree with m.roth: parted(8) has a...um...classical UI. It's not far advanced beyond the ex(1) school of UI design. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] One disk speed problem [SOLVED], and a question on hdparm
Warren Young wrote: On 3/26/2012 4:32 PM, John R Pierce wrote: On 03/26/12 2:20 PM, m.r...@5-cent.us wrote: Yeah... but parted is user hostile. A co-worker and I, both of whom don't need GUIs, use gparted. However, that doesn't tell me where it's aligning things. I don't think its any more user hostile than fdisk is, just perhaps less familiar. snip Still, I'd have to agree with m.roth: parted(8) has a...um...classical UI. It's not far advanced beyond the ex(1) school of UI design. I disagree. I don't think it's advanced beyond that school mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] One disk speed problem [SOLVED], and a question on hdparm
On Wed, Mar 28, 2012 at 12:02 PM, m.r...@5-cent.us wrote: snip Still, I'd have to agree with m.roth: parted(8) has a...um...classical UI. It's not far advanced beyond the ex(1) school of UI design. I disagree. I don't think it's advanced beyond that school Yes, it is so bad that it is surprising that there is not a text-mode program that performs the functions of gparted - or is there one? That is, something that gives you a fill-in-the-form setup with reasonable defaults, then runs parted (and maybe mklabel, mkfs, etc.) for you. Do we really need to run X for that? -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] One disk speed problem [SOLVED], and a question on hdparm
On Wed, 2012-03-28 at 12:32 -0500, Les Mikesell wrote: On Wed, Mar 28, 2012 at 12:02 PM, m.r...@5-cent.us wrote: snip Still, I'd have to agree with m.roth: parted(8) has a...um...classical UI. It's not far advanced beyond the ex(1) school of UI design. I disagree. I don't think it's advanced beyond that school Yes, it is so bad that it is surprising that there is not a text-mode program that performs the functions of gparted - or is there one? That is, something that gives you a fill-in-the-form setup with reasonable defaults, then runs parted (and maybe mklabel, mkfs, etc.) for you. Do we really need to run X for that? Hi I have been using gdisk for at least a year on Centos and F15/F16 Current Centos 6.2 server disk was probably partitioned using F15 gdisk followed by a custom install of C6.0 Centos 6.2 gdisk is now installed on the server (maui, 256GB SSD) [root@maui ~]# gdisk /dev/sda GPT fdisk (gdisk) version 0.8.1 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Command (? for help): p Disk /dev/sda: 468862128 sectors, 223.6 GiB Logical sector size: 512 bytes Disk identifier (GUID): 238914FA-2437-4AD8-B803-5CA2860D9D93 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 468862094 Partitions will be aligned on 2048-sector boundaries Total free space is 2014 sectors (1007.0 KiB) Number Start (sector)End (sector) Size Code Name 120484095 1024.0 KiB EF02 BIOS boot partition 24096 2101247 1024.0 MiB EF00 Linux/Windows data 3 2101248 6295551 2.0 GiB 8200 Linux swap 4 629555269210111 30.0 GiB0700 Linux/Windows data 569210112 132124671 30.0 GiB0700 Linux/Windows data 6 132124672 174067711 20.0 GiB0700 Linux/Windows data 7 174067712 468862094 140.6 GiB 0700 Linux/Windows data Command (? for help): q [root@maui ~]# uname -a Linux maui.jaa.org.uk 2.6.32-220.7.1.el6.x86_64 #1 SMP Wed Mar 7 00:52:02 GMT 2012 x86_64 x86_64 x86_64 GNU/Linux John ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] One disk speed problem [SOLVED], and a question on hdparm
On Wed, Mar 28, 2012 at 1:10 PM, John Austin j...@jaa.org.uk wrote: I have been using gdisk for at least a year on Centos and F15/F16 But that doesn't seem happy with MBR type disks. You don't need GPT unless the disk is bigger then 2 Gigs and 4k-sector drives start at 750G, at least in the laptop sizes. gdisk -l says this about a layout created by the Centos installer: Partition table scan: MBR: MBR only BSD: not present APM: not present GPT: not present *** Found invalid GPT and valid MBR; converting MBR to GPT format. *** Warning! Secondary partition table overlaps the last partition by 33 blocks! You will need to delete this partition or resize it in another utility. Disk /dev/sda: 262144000 sectors, 125.0 GiB Logical sector size: 512 bytes Disk identifier (GUID): 4E46CCD4-4010-401E-84A8-020B674DA64B Partition table holds up to 128 entries First usable sector is 34, last usable sector is 262143966 Partitions will be aligned on 2048-sector boundaries Total free space is 2014 sectors (1007.0 KiB) Number Start (sector)End (sector) Size Code Name 12048 1026047 500.0 MiB 8300 Linux filesystem 2 1026048 262143999 124.5 GiB 8E00 Linux LVM Is something really wrong with it? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] One disk speed problem [SOLVED], and a question on hdparm
On 3/28/2012 11:02 AM, m.r...@5-cent.us wrote: Warren Young wrote: Still, I'd have to agree with m.roth: parted(8) has a...um...classical UI. It's not far advanced beyond the ex(1) school of UI design. I disagree. I don't think it's advanced beyond that school Now, be fair. ex(1) responded to all errors with: ? Ya gotta give it to parted(8), it ain't that bad. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] One disk speed problem [SOLVED], and a question on hdparm
On 3/28/2012 11:32 AM, Les Mikesell wrote: Yes, it is so bad that it is surprising that there is not a text-mode program that performs the functions of gparted - or is there one? There's cgdisk, from the gdisk package in EPEL. It solves most of the problems called out in my rant. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to restrict reboot/poweroff from non-admins?
Only console users (local users) are allowed to do that. It's configured using pam (I use Centos5.8 so forgive me if this is not the same for CentOS6). I tried to change settings in /etc/pam.d/ and that indeed works: /etc/pam.d/poweroff /etc/pam.d/reboot /etc/pam.d/halt I added as a second line : auth sufficient pam_rootok.so # prevent normal users to reboot auth required pam_deny.so But still the user locally logged on to the machine (gnome session) can switch it off. So I think I also missed something. I can't test it right now, but reading 'man pam.d' made me wonder if 'required' in the 'auth required pam_deny.so' in the example above should be replaced with 'requisite'. -- TiN ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] One disk speed problem [SOLVED], and a question on hdparm
Warren Young wrote: On 3/28/2012 11:02 AM, m.r...@5-cent.us wrote: Warren Young wrote: Still, I'd have to agree with m.roth: parted(8) has a...um...classical UI. It's not far advanced beyond the ex(1) school of UI design. I disagree. I don't think it's advanced beyond that school Now, be fair. ex(1) responded to all errors with: ? Ya gotta give it to parted(8), it ain't that bad. But... but... parted responds to all partitioning with a statement that the partition's not aligned. And that's, well, memory's much cheaper these days, they can afford 80 chars instead of one. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need help configuring wireless NIC
On Tuesday, 27. March 2012. 19.45.33 Ned Slider wrote: That ndiswrapper issue should hopefully be fixed now with the kmod-ndiswrapper-1.57-1.el6 release. It at least gives you that option should the native driver prove fruitless. Indeed, the new ndiswrapper works perfectly! :-) The compat-wireless looks promising, but it still seems rough around the edges, and I needed a working solution asap, so... ;-) Thanks for help! Best, :-) Marko ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] mismatch in openssh latest rpm available at centos
Hello Group, The latest rpm in openssh is 5.8, however, the corresponding latest rpm available in centos 5.7 is only openssh-4.3p2-72.el5_6.3.x86_64.rpm and in 6.0 centos is openssh-5.3p1-20.el6.x86_64.rpm I have following questions. 1. I want to start from src.rpm and where can I get the src.rpm for openssh-5.3p1-20.el6.x86_64.rpm. 2. Can I install openssh-5.3p1-20.el6.x86_64.rpm SAFELY with 5.7 centos without causing any problems. 3. Which of these two rpms will be most compatible with latest openssh rpm version 5.8. Please let me know. It is important for my work. Any help will be greatly appreciated. -- Thanks Nagrik ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mismatch in openssh latest rpm available at centos
On Wed, Mar 28, 2012 at 9:05 PM, Vinay Nagrik vnag...@gmail.com wrote: Hello Group, The latest rpm in openssh is 5.8, however, the corresponding latest rpm available in centos 5.7 is only openssh-4.3p2-72.el5_6.3.x86_64.rpm and in 6.0 centos is openssh-5.3p1-20.el6.x86_64.rpm I have following questions. 1. I want to start from src.rpm and where can I get the src.rpm for openssh-5.3p1-20.el6.x86_64.rpm. 2. Can I install openssh-5.3p1-20.el6.x86_64.rpm SAFELY with 5.7 centos without causing any problems. 3. Which of these two rpms will be most compatible with latest openssh rpm version 5.8. Please let me know. It is important for my work. Any help will be greatly appreciated. Nagrik You may want to read about how Redhat and thus CentOS handles package versions with regard to security patches, etc... There is information here: https://access.redhat.com/security/updates/backporting/ As for obtaining the most recent version of openssh for other reasons (such as features), it is strongly recommended against compiling your own, and instead installing the package from another publicly accepted repository, such as EPEL or RepoForge. Any packages on there have already been compiled and tested to work with your version of CentOS. I would avoid installing the C6 version of openssh on C5, and instead make sure to get the proper package meant for C5. ❧ Brian Mathis ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] One disk speed problem [SOLVED], and a question on hdparm
On 03/28/2012 08:00 AM, m.r...@5-cent.us wrote: Les Mikesell wrote: On Mon, Mar 26, 2012 at 4:20 PM, m.r...@5-cent.us wrote: Yeah... but parted is user hostile. A co-worker and I, both of whom don't need GUIs, use gparted. However, that doesn't tell me where it's aligning things. I think its trick is the default 1M offset it adds at the start. You may be right... but I'm not sure. We'll see if the 3tb drive I've just formatted takes less time - the others I used gparted with. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos I've found every one of these utilities to be problematic at various time, particularly on systems with a GPT bios. Each one seems to have its own strengths and weaknesses. Though I don't remember exactly how it works, my recollection is that there are ways to trick fdisk into doing alignment by specifying the -H (number of heads) and the -S (number of sectors per track). You'll have 1 unaligned partition at the beginning because of the MBR, but all the rest can be forced into the desired alignment. Nataraj ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos