Re: [CentOS-docs] w.r.t. firstname lastname
On 07/27/2014 12:49 PM, 666threesixes666 wrote: I try not to post my real name on the internet. I'm basically asking for commit access for user sub page space for formatting, staging of documents for management review. When I'm actually @ linbit ill probably start the motions to have an official account something like linbit-usa to publish the works under. I'm used to mediawiki, moinmoin wiki is new to me. They will be complete documents, sub pages under the grand subject of HA linux. http://wiki.centos.org/666threesixes666/test?action=edit 666threesixes666 test You are not allowed to edit this page. I can't even preview a post with how locked down the wiki is. http://www.linux-ha.org/wiki/Main_Page looks pretty dead to me. --threesixes Here is the bottom line .. you can most definitely be anonymous and use CentOS. That is perfectly fine and we encourage it. However contributions to CentOS are merit (meritocracy) based. In order to demonstrate merit one may not be anonymous, since merit is earned. When we give people permission to do enhanced things, that enhanced permission is based on merit. So, no name == no merit == no permission it is no more or less complicated than that. Thanks, Johnny Hughes signature.asc Description: OpenPGP digital signature ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS-docs] w.r.t. firstname lastname
On 07/27/2014 12:49 PM, 666threesixes666 wrote: I try not to post my real name on the internet. I'm basically asking for commit access for user sub page space for formatting, staging of documents for management review. When I'm actually @ linbit ill probably start the motions to have an official account something like linbit-usa to publish the works under. I'm used to mediawiki, moinmoin wiki is new to me. They will be complete documents, sub pages under the grand subject of HA linux. http://wiki.centos.org/666threesixes666/test?action=edit 666threesixes666 test You are not allowed to edit this page. I can't even preview a post with how locked down the wiki is. http://www.linux-ha.org/wiki/Main_Page looks pretty dead to me. --threesixes Also, more info on Meritocracy in CentOS can be found here: http://centos.org/about/governance/appendix-glossary/#meritocracy signature.asc Description: OpenPGP digital signature ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS-docs] w.r.t. satan
On 07/28/2014 08:39 PM, 666threesixes666 wrote: This nick is semi anonymous, facebook has a trail leading back to me in this photo. https://scontent-a-ord.xx.fbcdn.net/hphotos-xaf1/t1.0-9/394474_209302609153020_1364163998_n.jpg For all we know, any of these cards (https://lh5.googleusercontent.com/_MYks-zls9Jc/SjW7727YrDI/A6Q/tP_mRhSV6zw/s1600/NY%2BMarriage-Hakim%2BNelson.jpg http://img.naij.com/n/07/9/national-id-card_09776.jpg) might be yours as well ( or mine ). OK, not mine, some of the subscribers of this list met me in real life. PS: No pun intended but given a sample and an installed gimp I need 30 min to provide any document you want ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS] wireless inteface configure as bridge
Am 28.07.2014 um 04:49 schrieb Benjamin Fernandis: Hi, I m using centos 7 in laptop and kvm as virtualization to run windows guest vm.Currently i m using NAT as default setting for guest vm, my internet is fine but can't resolve some domains and sites. So want to come on bridge. As per my understanding bridge can not work while device is managed by NetworkManager. How did you come to this conclusion? Based on which reading? https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/ Is there any utility or tool to use to scan wireless device in network and connect them as i want to stop to use Networkmanager to use laptop wireless interface as bridge for my guest vm. You cannot do what you want https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/ch-Configure_Network_Bridging.html Note that a bridge cannot be established over Wi-Fi networks operating in Ad-Hoc or Infrastructure modes. This is due to the IEEE 802.11 standard that specifies the use of 3-address frames in Wi-Fi for the efficient use of airtime. Thx Ben Alexander ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] How to Stop the Image URL in apache
Hi, While clicking on the image it opens into the browser. I dont want to allow client to open the image in browser as separate url. I have blocked the /image/ directory from access/listing , but the image is opening. ex. http://example.com/images/1.jpg . The image should not open in browser with this URL. How to stop that in apache. Please help me. Shital S. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] How can I connect CentOS7 via xdmcp?
Dear all, Does any one success to connect CentOS7 via xdmcp? I've tried, but not yet succeeded. 1) CentOS7 with Development and Creative workstation 2) Disabled SELinux by editing /etc/selinux/config 3) Disabled firewalld by systemctl disable firewalld 4) Enabled xdmcp by editing /etc/gdm/custom.conf Adding Enable=true in [xdmcp] section 5) reboot 7) connect from windows7 PC with Xming-6.9.0.31 One window mode with xdmcp connection - This is not working. How I can do next step? Additional information, I can open single Xterm window through Xming Multiple windows mode, but I can't open gnome-terminal with same way. I guessed this means thomething wrong in gnome or gdm working witn remote X or xdmcp. But I have no idea to resolve it. Best regards, Kosuke Yagi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to Stop the Image URL in apache
On 07/28/2014 08:08 PM, Shital Sakhare wrote: While clicking on the image it opens into the browser. I dont want to allow client to open the image in browser as separate url. Not possible. There is nothing in the http protocol that differentiates between a file being displayed inline inside other content and being downloaded separately. All the webserver knows is that the file was requested from the server and it delivers that file. There are tricks you can do with client-side javascript, or with checking the referrer or user agent, etc. but all of them are easy to circumvent, and note that regardless of what you do that file has to be downloaded in order to be displayed in any capacity. Peter ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to Stop the Image URL in apache
Try the below : http://stackoverflow.com/questions/18524511/how-can-i-block-direct-access-to-images-in-a-directory-but-allow-php-to-display On Mon, Jul 28, 2014 at 2:05 PM, Peter pe...@pajamian.dhs.org wrote: On 07/28/2014 08:08 PM, Shital Sakhare wrote: While clicking on the image it opens into the browser. I dont want to allow client to open the image in browser as separate url. Not possible. There is nothing in the http protocol that differentiates between a file being displayed inline inside other content and being downloaded separately. All the webserver knows is that the file was requested from the server and it delivers that file. There are tricks you can do with client-side javascript, or with checking the referrer or user agent, etc. but all of them are easy to circumvent, and note that regardless of what you do that file has to be downloaded in order to be displayed in any capacity. Peter ___ 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] How to Stop the Image URL in apache
Thanks Peter, But I get it resolved. The setting is in Apache server itself. By adding rewrite rule into apache or .htaccess. Below is the code and it worked. RewriteEngine On Options -Indexes RewriteBase / RewriteCond %{HTTP_REFERER} !^%{HTTP_HOST}$ [NC] RewriteRule \.(swf|gif|png|jpg|doc|xls|pdf|html|htm|xlsx|docx)$ [R,L] -- Shital S On Mon, Jul 28, 2014 at 2:05 PM, Peter pe...@pajamian.dhs.org wrote: On 07/28/2014 08:08 PM, Shital Sakhare wrote: While clicking on the image it opens into the browser. I dont want to allow client to open the image in browser as separate url. Not possible. There is nothing in the http protocol that differentiates between a file being displayed inline inside other content and being downloaded separately. All the webserver knows is that the file was requested from the server and it delivers that file. There are tricks you can do with client-side javascript, or with checking the referrer or user agent, etc. but all of them are easy to circumvent, and note that regardless of what you do that file has to be downloaded in order to be displayed in any capacity. Peter ___ 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] How to Stop the Image URL in apache
On 07/28/2014 12:03 PM, Shital Sakhare wrote: RewriteEngine On Options -Indexes RewriteBase / RewriteCond %{HTTP_REFERER} !^%{HTTP_HOST}$ [NC] RewriteRule \.(swf|gif|png|jpg|doc|xls|pdf|html|htm|xlsx|docx)$ [R,L] This can be worked arround very easy with wget: http://www.askapache.com/linux/wget-header-trick.html Look at the first trick. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to Stop the Image URL in apache
On 07/28/2014 09:03 PM, Shital Sakhare wrote: Thanks Peter, But I get it resolved. The setting is in Apache server itself. By adding rewrite rule into apache or .htaccess. Below is the code and it worked. RewriteCond %{HTTP_REFERER} !^%{HTTP_HOST}$ [NC] On Mon, Jul 28, 2014 at 2:05 PM, Peter pe...@pajamian.dhs.org wrote: There are tricks you can do with ... with checking the referrer ... but all of them are easy to circumvent, You're referrer trick will only work against someone who doesn't know how to (easily) circumvent it. Peter ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to Stop the Image URL in apache
There is sort of fundamental question: is the image delivered to my machine? Yes, as it is displayed within some other content. And as it is on my machine I will be able to save it as a separate file. Then, what's the point of blocking direct URL? Thanks. Valeri On Mon, July 28, 2014 3:59 am, Gopu Krishnan wrote: Try the below : http://stackoverflow.com/questions/18524511/how-can-i-block-direct-access-to-images-in-a-directory-but-allow-php-to-display On Mon, Jul 28, 2014 at 2:05 PM, Peter pe...@pajamian.dhs.org wrote: On 07/28/2014 08:08 PM, Shital Sakhare wrote: While clicking on the image it opens into the browser. I dont want to allow client to open the image in browser as separate url. Not possible. There is nothing in the http protocol that differentiates between a file being displayed inline inside other content and being downloaded separately. All the webserver knows is that the file was requested from the server and it delivers that file. There are tricks you can do with client-side javascript, or with checking the referrer or user agent, etc. but all of them are easy to circumvent, and note that regardless of what you do that file has to be downloaded in order to be displayed in any capacity. Peter ___ 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 Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Convert bare partition to RAID1 / mdadm?
From: Benjamin Smith li...@benjamindsmith.com Thanks for your feedback - it's advice I would have given myself just a few years ago. We have *literally* in the range of one hundred million small PDF documents. The simple command find /path/to/data /dev/null takes between 1 and 2 days, system load depending. We had to give up on rsync for backups in this context a while ago - we just couldn't get a daily backup more often then about 2x per week. What about: 1. Setup inotify (no idea how it would behave with your millions of files) 2. One big rsync 3. Bring it down and copy the few modified files reported by inotify. Or lsyncd? JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] [sssd] Not seeing Secondary Groups
I am currently looking at migrating my existing CentOS6 servers over to CentOS7 and am currently testing out my sssd configuration on the new build with some issues. For some reason I am unable to see any secondary groups for my user like I would expect, and the /etc/sssd.conf, /etc/nsswitch and related /etc/pam.d configurations should be the same for both my CentOS6 and 7 servers (Configuration is currently puppetized). I did see a related issue with the default setting for initgroups to be files only, but I have already adjusted my configs for that with little success. Any help is greatly appreciated! Setup Detail Authentication Server: MS 2008R2 Schema Type: ad /etc/sssd/sssd.conf [sssd] services = nss, pam, autofs config_file_version = 2 domains = example.com debug_level = 9 enumerate = false cache_credentials = true [nss] filter_groups = root filter_users = root reconnection_retries = 3 [pam] reconnection_retries = 3 [autofs] ldap_autofs_search_base = CN=automount,dc=example,dc=com ## Domain Configurations [domain/example.com] debug_level = 9 id_provider = ldap access_provider = ldap auth_provider = krb5 ldap_uri = ldap://ad.example.com ldap_tls_reqcert = allow ldap_schema = rfc2307bis ldap_referrals = false ldap_disable_referrals = true ldap_force_upper_case_realm = true ldap_page_size = 4000 ldap_access_order = expire ldap_account_expire_policy = ad ldap_default_bind_dn = CN=LINUXAUTH,DC=EXAMPLE,DC=COM ldap_id_mapping = False ldap_search_base = DC=EXAMPLE,DC=COM ldap_user_search_base = DC=EXAMPLE,DC=COM?subtree?(objectclass=user)(uidnumber=*) ldap_user_search_scope = sub ldap_user_object_class = user ldap_user_name = cn ldap_user_home_directory = unixHomeDirectory ldap_user_principal = userPrincipalName ldap_user_shell = loginShell ldap_user_uid_number = uidNumber ldap_user_gid_number = gidNumber ldap_user_objectsid = objectSid ldap_user_member_of = memberOf ldap_user_gecos = cn ldap_group_search_base = DC=EXAMPLE,DC=COM?subtree?(objectclass=group)(gidnumber=*) ldap_group_objectsid = objectSid ldap_group_member = member ldap_group_object_class = group ldap_group_uuid = objectGUID ldap_group_nesting_level = 0 krb5_auth_timeout = 5 krb5_renew_interval = 60 krb5_realm = EXAMPLE.COM krb5_server = ad.example.com ldap_krb5_init_creds = true /etc/nsswitch passwd: files sss shadow: files sss group: files sss initgroups: files sss hosts: files dns bootparams: nisplus [NOTFOUND=return] files ethers: files netmasks: files networks: files protocols: files rpc:files services: files netgroup: files sss publickey: nisplus automount: files sss aliases:files nisplus ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How can I connect CentOS7 via xdmcp?
On Mon, Jul 28, 2014 at 3:33 AM, Kosuke Yagi kos...@wake.org wrote: Does any one success to connect CentOS7 via xdmcp? I've tried, but not yet succeeded. 1) CentOS7 with Development and Creative workstation 2) Disabled SELinux by editing /etc/selinux/config 3) Disabled firewalld by systemctl disable firewalld 4) Enabled xdmcp by editing /etc/gdm/custom.conf Adding Enable=true in [xdmcp] section 5) reboot 7) connect from windows7 PC with Xming-6.9.0.31 One window mode with xdmcp connection - This is not working. How I can do next step? Additional information, I can open single Xterm window through Xming Multiple windows mode, but I can't open gnome-terminal with same way. I guessed this means thomething wrong in gnome or gdm working witn remote X or xdmcp. But I have no idea to resolve it. I can't help with xdmcp, but if you are connecting from something capable of running the x2go client (linux/windows/mac) you can use that instead ([packages in EPEL). It doesn't work with the stock gnome3 desktop due to the 3d requirements, but KDE or the MATE desktop from EPEL work fine. (MATE is a fork of gnome2 and has a very familiar feeling...). X2go has the advantage of being able to disconnect/reconnect sessions and will have better performance than native remote X on networks with latency. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Info to upstream centos mirror: file centos/7.0.1406/os/x86_64/LiveOS/squashfs.img IS CORRUPT !
Of course you are right regarding my statement and I should have been more modest with my words and claim - but indeed I've stored a backup named .bak in the mirror directory without thinking about rsync that obviously deleted the file during it's next scheduled sync that same night - BUT I've tried 3 different local mirrors to sync with before making this claim and as of today the file and checksum I find on my disk and local mirror indeed is the same I have checking the same file from a freshly downloaded NetInstall.iso - the same you do: 693a52b00ac5a6d2e6e2a645352a3c2649578c5f (checked using sha1sum) But friday night it was not! But let's stop to worry about that now and I'll choose my words a little wiser next time. Best regards and thank you trying to confirm this issue nevertheless. Best regards Andreas Balg On 07/25/2014 06:28 PM, Fabian Arrotin wrote: On 23/07/14 22:21, Andreas Balg wrote: Hello, i've been struggling hard to setup our automated PXE/kickstart system using various local mirrors but it alway hung after partitioning with no further exception. When I encountered squshfs errors on the Console (text based / kickstart installation) I re-synced (rsync) with CERN mirror afterwards with switch.ch mirror and fh-esslingen - But the squashfs image remained corrupt. To prove my suspicion i've finally copied the file from Netboot.iso into our local mirror and voilà - finally the installation works as expected. Just wanted to let you know - it might save man people from many hours of trouble ... Please check - and keep up the great work :-) Cheers Andreas Well, what would be good is to give the checksum of your local file before claiming it's corrupt everywhere :-) The sha1sum from that squashfs image on the master mirror and on the DVD iso is the same : 693a52b00ac5a6d2e6e2a645352a3c2649578c5f squashfs.img So probably you got it corrupted during you transfer. I guess also that you have not it anymore, but this hasn't changed on the centos controlled mirrors. Cheers, ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS Digest, Vol 114, Issue 28
hi friends, i am getting error for kvm virtualization as below , kindly share any if solutions Mount unknown file system type’DM_snapshot_cow’ kernel panic -not syncing :attempt to kill init thanks and regards, dina On Mon, Jul 28, 2014 at 1:00 PM, centos-requ...@centos.org wrote: Send CentOS mailing list submissions to centos@centos.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos or, via email, send a message with subject or body 'help' to centos-requ...@centos.org You can reach the person managing the list at centos-ow...@centos.org When replying, please edit your Subject line so it is more specific than Re: Contents of CentOS digest... Today's Topics: 1. Re: success with Z97-based boards? (Edward M) 2. wireless inteface configure as bridge (Benjamin Fernandis) 3. Re: wireless inteface configure as bridge (Alexander Dalloz) 4. How to Stop the Image URL in apache (Shital Sakhare) 5. How can I connect CentOS7 via xdmcp? (Kosuke Yagi) 6. Re: How to Stop the Image URL in apache (Peter) 7. Re: How to Stop the Image URL in apache (Gopu Krishnan) 8. Re: How to Stop the Image URL in apache (Shital Sakhare) -- Message: 1 Date: Sun, 27 Jul 2014 21:41:26 -0700 From: Edward M edwardm5...@gmail.com Subject: Re: [CentOS] success with Z97-based boards? To: centos@centos.org Message-ID: 53d5d476.5090...@gmail.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 07/26/14 09:11, Devin Reade wrote: Has anyone had success running CentOS on Z97-based motherboards? The plan is to use CentOS 7 on this system. Devin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Centos 7 benchmarks were done on a Z97-HD3 motherboard. http://www.phoronix.com/scan.php?page=article; item=centos_scientific_70num=1 -- Message: 2 Date: Mon, 28 Jul 2014 14:49:39 +1200 From: Benjamin Fernandis benjo11...@gmail.com Subject: [CentOS] wireless inteface configure as bridge To: CentOS mailing list centos@centos.org Message-ID: caarrgqxdu6vem+ztuoqx_bkcb_eefzn1aarr4ecfo6q_btn...@mail.gmail.com Content-Type: text/plain; charset=UTF-8 Hi, I m using centos 7 in laptop and kvm as virtualization to run windows guest vm.Currently i m using NAT as default setting for guest vm, my internet is fine but can't resolve some domains and sites. So want to come on bridge. As per my understanding bridge can not work while device is managed by NetworkManager. Is there any utility or tool to use to scan wireless device in network and connect them as i want to stop to use Networkmanager to use laptop wireless interface as bridge for my guest vm. Thx Ben -- Message: 3 Date: Mon, 28 Jul 2014 10:08:24 +0200 From: Alexander Dalloz ad+li...@uni-x.org Subject: Re: [CentOS] wireless inteface configure as bridge To: CentOS mailing list centos@centos.org Message-ID: 53d604f8.9000...@uni-x.org Content-Type: text/plain; charset=windows-1252; format=flowed Am 28.07.2014 um 04:49 schrieb Benjamin Fernandis: Hi, I m using centos 7 in laptop and kvm as virtualization to run windows guest vm.Currently i m using NAT as default setting for guest vm, my internet is fine but can't resolve some domains and sites. So want to come on bridge. As per my understanding bridge can not work while device is managed by NetworkManager. How did you come to this conclusion? Based on which reading? https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/ Is there any utility or tool to use to scan wireless device in network and connect them as i want to stop to use Networkmanager to use laptop wireless interface as bridge for my guest vm. You cannot do what you want https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/ch-Configure_Network_Bridging.html Note that a bridge cannot be established over Wi-Fi networks operating in Ad-Hoc or Infrastructure modes. This is due to the IEEE 802.11 standard that specifies the use of 3-address frames in Wi-Fi for the efficient use of airtime. Thx Ben Alexander -- Message: 4 Date: Mon, 28 Jul 2014 13:38:42 +0530 From: Shital Sakhare shital.sakha...@gmail.com Subject: [CentOS] How to Stop the Image URL in apache To: centos@centos.org Message-ID: can9yr_kxekaugr0yr_mey9+yyobvbg_djyoz-stnezk5bqa...@mail.gmail.com Content-Type: text/plain; charset=UTF-8 Hi, While clicking on the image it opens into the browser. I dont want to allow client to open the image in browser as separate url. I have blocked the /image/ directory from
Re: [CentOS] wireless inteface configure as bridge
On Mon, Jul 28, 2014 at 4:08 AM, Alexander Dalloz ad+li...@uni-x.org wrote: Am 28.07.2014 um 04:49 schrieb Benjamin Fernandis: Hi, I m using centos 7 in laptop and kvm as virtualization to run windows guest vm.Currently i m using NAT as default setting for guest vm, my internet is fine but can't resolve some domains and sites. So want to come on bridge. As per my understanding bridge can not work while device is managed by NetworkManager. How did you come to this conclusion? Based on which reading? https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/ Is there any utility or tool to use to scan wireless device in network and connect them as i want to stop to use Networkmanager to use laptop wireless interface as bridge for my guest vm. You cannot do what you want https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/ch-Configure_Network_Bridging.html Note that a bridge cannot be established over Wi-Fi networks operating in Ad-Hoc or Infrastructure modes. This is due to the IEEE 802.11 standard that specifies the use of 3-address frames in Wi-Fi for the efficient use of airtime. +1 Alexander is correct. It is not possible to bridge a wireless network to a wired network and have it function properly. You can NAT MASQUERADE though. (And that's probably your [only?] other alternative.) -- ---~~.~~--- Mike // SilverTip257 // ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] wireless inteface configure as bridge
On 28-07-14 04:49, Benjamin Fernandis wrote: Hi, I m using centos 7 in laptop and kvm as virtualization to run windows guest vm.Currently i m using NAT as default setting for guest vm, my internet is fine but can't resolve some domains and sites. So want to come on bridge. As per my understanding bridge can not work while device is managed by NetworkManager. Is there any utility or tool to use to scan wireless device in network and connect them as i want to stop to use Networkmanager to use laptop wireless interface as bridge for my guest vm. According to the Red Hat RHEL7 Networking Guide you can't bridge wireless interfaces. IIRC there's a reason mentioned in that guide and here's another one (answer 1): https://superuser.com/questions/597834/bridging-wifi-to-ethernet-on-ubuntu-not-working However there's a debian wiki entry that says it's possible using ebtables: https://wiki.debian.org/BridgeNetworkConnections#Bridging_with_a_wireless_NIC HTH, Patrick ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] How to install minimal KDE
Hi, I want to install minimal KDE on minimal CentOS 7 installation. How can I do this? Gabor ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Freenx/x2go on CentOS7?
On Fri, Jul 11, 2014 at 11:25 AM, SilverTip257 silvertip...@gmail.com wrote: Can anyone comment on the best remote GUI approach for C7 yet? X2goserver is in epel but when I tried it on the RHEL beta it only worked with a KDE desktop due to the 3d requirement of Gnome3. I toyed around with FreeNX on a Fedora (17 maybe?) system some time ago. I had to modify a few settings so GNOME3 would default to classic/fallback mode. -- set COMMAND_START_GNOME to /usr/bin/gnome-session --session=gnome There is also a bug [0] where the session didn't get set properly and the display mode. -- use Ctrl-Alt-R to get into desktop resize mode -- in my case I had to hit that key sequence twice [0] https://bugzilla.redhat.com/show_bug.cgi?id=838028 Maybe a few of these bugs(?) will get resolved now that GNOME3 is the default for EL7 along with FreeNX... Please give these suggestions a shot and report back! I haven't pursued this further due to lack of time and shell access is all I really need. ;-) Gnome3 still doesn't work with the default configuration but MATE desktop is now in EPEL and seems to work nicely (just like gnome2). -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Freenx/x2go on CentOS7?
On Mon, Jul 28, 2014 at 11:10 AM, Les Mikesell lesmikes...@gmail.com wrote: On Fri, Jul 11, 2014 at 11:25 AM, SilverTip257 silvertip...@gmail.com wrote: Can anyone comment on the best remote GUI approach for C7 yet? X2goserver is in epel but when I tried it on the RHEL beta it only worked with a KDE desktop due to the 3d requirement of Gnome3. I toyed around with FreeNX on a Fedora (17 maybe?) system some time ago. I had to modify a few settings so GNOME3 would default to classic/fallback mode. -- set COMMAND_START_GNOME to /usr/bin/gnome-session --session=gnome There is also a bug [0] where the session didn't get set properly and the display mode. -- use Ctrl-Alt-R to get into desktop resize mode -- in my case I had to hit that key sequence twice [0] https://bugzilla.redhat.com/show_bug.cgi?id=838028 Maybe a few of these bugs(?) will get resolved now that GNOME3 is the default for EL7 along with FreeNX... Please give these suggestions a shot and report back! I haven't pursued this further due to lack of time and shell access is all I really need. ;-) Gnome3 still doesn't work with the default configuration but MATE desktop is now in EPEL and seems to work nicely (just like gnome2). -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos +1 I have x2go working with mate and xfce, xfce had a dependency issue but has since been corrected and works also. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Convert bare partition to RAID1 / mdadm?
How about something like this: Use find to process each file with a script that does something like this: if foo not soft link : if foo open for output (lsof?) : add foo to todo list else : make foo read-only if foo open for output : add foo to todo list restore foo's permissions else : copy foo to raid replace original with a soft link into raid give copy correct permissions move the todo list to where it will not be written the script process the todo list files with the same script making a new todo list rinse and repeat until the todo list is empty for the endgame, make the entire source read-only run find again, this time there is no need for most of the tests: if foo not soft link : copy foo to raid replace original with a soft link into raid give copy correct permissions after the last copy, make the entire source unreadable and unwriteable wait for last user to close file rename the old files' top directory rename the raid's top directory let users back in -- Michael henne...@web.cs.ndsu.nodak.edu SCSI is NOT magic. There are *fundamental technical reasons* why it is necessary to sacrifice a young goat to your SCSI chain now and then. -- John Woods ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Cron
Do you need cron installed for the files in /etc/cron.daily/ to execute? Did a Centos 6.x minimal openvz install and noticed cron is not installed by default and after installing mlocate cant help but wander if it will be updated without it. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] In Place Upgrade Tool, CentOS 6 to CentOS 7
Upgrade Tool Docs: http://wiki.centos.org/TipsAndTricks/CentOSUpgradeTool Make sure you listen to the tool if it tells you that you have Medium, High, or Extreme issues and mitigate them before trying to upgrade. You can not upgrade if you have a GNOME or KDE desktop, for example. Let's give this a try and hopefully we can move this out of testing and into Extras next week. Thanks, Johnny Hughes signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cron
Hello Matt, On Mon, 28 Jul 2014 14:14:53 -0500 Matt matt.mailingli...@gmail.com wrote: Do you need cron installed for the files in /etc/cron.daily/ to execute? Did a Centos 6.x minimal openvz install and noticed cron is not installed by default and after installing mlocate cant help but wander if it will be updated without it. For this you need cronie (the cron daemon) and crontabs (user bindings, including root), see `yum info`: Installed Packages Name: cronie Arch: x86_64 Version : 1.4.4 Release : 12.el6 Size: 174 k Repo: installed From repo : base Summary : Cron daemon for executing programs at set times URL : https://fedorahosted.org/cronie License : MIT and BSD and ISC and GPLv2 Description : Cronie contains the standard UNIX daemon crond that runs specified programs at : scheduled times and related tools. It is a fork of the original vixie-cron and : has security and configuration enhancements like the ability to use pam and : SELinux. Name: crontabs Arch: noarch Version : 1.10 Release : 33.el6 Size: 2.4 k Repo: installed From repo : anaconda-CentOS-201303020151.x86_64 Summary : Root crontab files used to schedule the execution of programs License : Public Domain and GPLv2 Description : The crontabs package contains root crontab files and directories. : You will need to install cron daemon to run the jobs from the crontabs. : The cron daemon such as cronie or fcron checks the crontab files to : see when particular commands are scheduled to be executed. If commands : are scheduled, it executes them. : : Crontabs handles a basic system function, so it should be installed on : your system. Regards, -- wwp signature.asc Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] In Place Upgrade Tool, CentOS 6 to CentOS 7
On 07/28/2014 03:18 PM, Johnny Hughes wrote: Upgrade Tool Docs: http://wiki.centos.org/TipsAndTricks/CentOSUpgradeTool Make sure you listen to the tool if it tells you that you have Medium, High, or Extreme issues and mitigate them before trying to upgrade. You can not upgrade if you have a GNOME or KDE desktop, for example. Let's give this a try and hopefully we can move this out of testing and into Extras next week. And for those of you not on the CentOS-Devel mailing list, the CentOS team would like to thank profusely the community contributor who made this tool available, Manuel Mausz. Manuel submitted a huge bunch of patches to make this happen and he help immensely with the initial testing of the tool as well as helping us get the python-rhsm package out of the requirements, etc. We very much appreciate the effort, time and knowledge that Manuel has given to the project and want to make sure everyone knows it. Thanks, Johnny Hughes signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] attempting to create directory /root/perl5
Nobody seemed to answer, so I will answer it myself. If you have package perl-homedir installed, it adds its stuff to /etc/profile.d, and upon user login an existence of ~/perl5 will be checked and this directory will be created if it doesn't exist. It looks like perl-homedir appears in one of the package groups on CentOS 7. If (like me) you don't like this, you can add to your kickstart file line that will make this package excluded. Here are two lines I have at the end of %packages group in my kickstart file: %packages ... -perl-local-lib -perl-homedir %end Thanks. Valeri On Fri, July 25, 2014 2:11 pm, Valeri Galtsev wrote: Dear All, Could someone give me some pointers. I never had it on CentOS 4,5,6. On freshly installed CentOS 7 (development workstation installation type with several extra things) when I log in as root in console I get this message: attempting to create directory /root/perl5 and indeed empty directory /root/perl5 is being created. (And my understanding is that that is done for every user at login). Can anyone point to what does it and what is the rationale behind that. Not that I no not like perl in particular, but I do not like any tweaking of anything happening as a user logs in. Thanks for all your help. And my apologies for being this ignorant person who likely doesn't know some trivial thing... Sincerely yours, Valeri Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] attempting to create directory /root/perl5
I'm not seeing that on my system. Assuming that your bash rpm verifies (meaning that nothing has modified the bash startup scripts), my best guess would be that some package has dropped a file into /etc/profile.d that creates the directory. Finding that file would be a first step on figuring out what it's trying to do. Ali On Fri, Jul 25, 2014 at 12:11 PM, Valeri Galtsev galt...@kicp.uchicago.edu wrote: Dear All, Could someone give me some pointers. I never had it on CentOS 4,5,6. On freshly installed CentOS 7 (development workstation installation type with several extra things) when I log in as root in console I get this message: attempting to create directory /root/perl5 and indeed empty directory /root/perl5 is being created. (And my understanding is that that is done for every user at login). Can anyone point to what does it and what is the rationale behind that. Not that I no not like perl in particular, but I do not like any tweaking of anything happening as a user logs in. Thanks for all your help. And my apologies for being this ignorant person who likely doesn't know some trivial thing... Sincerely yours, Valeri Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ___ 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] attempting to create directory /root/perl5
Hi Ali, Thanks for answering. I did figure it out, and kind of answered my own question. As it probably didn't come through mail list correctly (I blame myself ;-) I'm just pasting it below: Nobody seemed to answer, so I will answer it myself. If you have package perl-homedir installed, it adds its stuff to /etc/profile.d, and upon user login an existence of ~/perl5 will be checked and this directory will be created if it doesn't exist. It looks like perl-homedir appears in one of the package groups on CentOS 7. If (like me) you don't like this, you can add to your kickstart file line that will make this package excluded. Here are two lines I have at the end of %packages group in my kickstart file: %packages ... -perl-local-lib -perl-homedir %end Thanks. Valeri On Mon, July 28, 2014 4:56 pm, Ali Corbin wrote: I'm not seeing that on my system. Assuming that your bash rpm verifies (meaning that nothing has modified the bash startup scripts), my best guess would be that some package has dropped a file into /etc/profile.d that creates the directory. Finding that file would be a first step on figuring out what it's trying to do. Ali On Fri, Jul 25, 2014 at 12:11 PM, Valeri Galtsev galt...@kicp.uchicago.edu wrote: Dear All, Could someone give me some pointers. I never had it on CentOS 4,5,6. On freshly installed CentOS 7 (development workstation installation type with several extra things) when I log in as root in console I get this message: attempting to create directory /root/perl5 and indeed empty directory /root/perl5 is being created. (And my understanding is that that is done for every user at login). Can anyone point to what does it and what is the rationale behind that. Not that I no not like perl in particular, but I do not like any tweaking of anything happening as a user logs in. Thanks for all your help. And my apologies for being this ignorant person who likely doesn't know some trivial thing... Sincerely yours, Valeri Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ___ 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 Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS Digest, Vol 114, Issue 28
On 07/28/2014 10:25 AM, Dinakar M wrote: hi friends, i am getting error for kvm virtualization as below , kindly share any if solutions Mount unknown file system type’DM_snapshot_cow’ kernel panic -not syncing :attempt to kill init thanks and regards, dina just how does your question relate to the 8 included post that you included? chop out the dead wood and increase your chances for a helpful reply. thank you very much. -- peace out. in a world with out fences, who needs gates. tc.hago. g . ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Convert bare partition to RAID1 / mdadm?
On 07/25/2014 12:32 PM, Benjamin Smith wrote: On 07/25/2014 06:56 AM, Robert Nichols wrote: Unless you can figure out some way to move the start of the partition back to make room for the RAID superblock ahead of the existing filesystem, the answer is, No. The version 1.2 superblock is located 4KB from the start of the device (partition) and is typically 1024 bytes long. https://raid.wiki.kernel.org/index.php/RAID_superblock_formats Sadly, this is probably the authoritative answer I was hoping not to get. It would seem technically quite feasible to reshuffle the partition a bit to make this happen with a special tool (perhaps offline for a bit - you'd only have to manage something less than a single MB of data) but I'm guessing nobody has felt the itch to make such a tool. In thinking about this some more, I had an idea that (a) I'm not totally sure would work, and (b) strikes me as dangerous. 1. Use dmsetup to create a logical device that consists of an 8 KiB prefix followed by your existing partition with the ext4 filesystem. 2. Create your RAID1 array using the above logical device as the first member and with the second member missing. 3. Unmount the current filesystem and mount the RAID device in its place. 4. Add a new device to the (currently degraded) RAID array, and let the RAID system spend the next couple of days recovering data onto the new device. Eventually, you would remove the dmsetup device from the RAID array and add a new device in its place. I have a feeling you will not want to risk your data to the above procedure. ;-) Trying to reboot a system with that cobbled together RAID member might prove an interesting exercise. -- Bob Nichols NOSPAM is really part of my email address. Do NOT delete it. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Convert bare partition to RAID1 / mdadm?
rsync breaks silently or sometimes noisily on big directory/file structures. It depends on how the OP's files are distributed. We organised our files in a client/year/month/day and run a number of rsyncs on separate parts of the hierarchy. Older stuff doesn't need to be rsynced but gets backed up every so often. But it depends whether or not the OP's data is arranged so that he could do something like that. Cheers, Cliff On Tue, Jul 29, 2014 at 1:25 AM, John Doe jd...@yahoo.com wrote: From: Benjamin Smith li...@benjamindsmith.com Thanks for your feedback - it's advice I would have given myself just a few years ago. We have *literally* in the range of one hundred million small PDF documents. The simple command find /path/to/data /dev/null takes between 1 and 2 days, system load depending. We had to give up on rsync for backups in this context a while ago - we just couldn't get a daily backup more often then about 2x per week. What about: 1. Setup inotify (no idea how it would behave with your millions of files) 2. One big rsync 3. Bring it down and copy the few modified files reported by inotify. Or lsyncd? JD ___ 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] Convert bare partition to RAID1 / mdadm?
On Tue, Jul 29, 2014 at 1:25 AM, John Doe jd...@yahoo.com wrote: From: Benjamin Smith li...@benjamindsmith.com Thanks for your feedback - it's advice I would have given myself just a few years ago. We have *literally* in the range of one hundred million small PDF documents. The simple command find /path/to/data /dev/null takes between 1 and 2 days, system load depending. We had to give up on rsync for backups in this context a while ago - we just couldn't get a daily backup more often then about 2x per week. What about: 1. Setup inotify (no idea how it would behave with your millions of files) 2. One big rsync 3. Bring it down and copy the few modified files reported by inotify. Or lsyncd? On Tue, Jul 29, 2014 at 12:02 PM, Cliff Pratt enkiduonthe...@gmail.com wrote: rsync breaks silently or sometimes noisily on big directory/file structures. It depends on how the OP's files are distributed. We organised our files in a client/year/month/day and run a number of rsyncs on separate parts of the hierarchy. Older stuff doesn't need to be rsynced but gets backed up every so often. But it depends whether or not the OP's data is arranged so that he could do something like that. Cheers, Cliff ___ 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] How can I connect CentOS7 via xdmcp?
Thank you Les, I will try it. Kosuke Yagi 2014/07/28 23:43、Les Mikesell lesmikes...@gmail.com : On Mon, Jul 28, 2014 at 3:33 AM, Kosuke Yagi kos...@wake.org wrote: Does any one success to connect CentOS7 via xdmcp? I've tried, but not yet succeeded. 1) CentOS7 with Development and Creative workstation 2) Disabled SELinux by editing /etc/selinux/config 3) Disabled firewalld by systemctl disable firewalld 4) Enabled xdmcp by editing /etc/gdm/custom.conf Adding Enable=true in [xdmcp] section 5) reboot 7) connect from windows7 PC with Xming-6.9.0.31 One window mode with xdmcp connection - This is not working. How I can do next step? Additional information, I can open single Xterm window through Xming Multiple windows mode, but I can't open gnome-terminal with same way. I guessed this means thomething wrong in gnome or gdm working witn remote X or xdmcp. But I have no idea to resolve it. I can't help with xdmcp, but if you are connecting from something capable of running the x2go client (linux/windows/mac) you can use that instead ([packages in EPEL). It doesn't work with the stock gnome3 desktop due to the 3d requirements, but KDE or the MATE desktop from EPEL work fine. (MATE is a fork of gnome2 and has a very familiar feeling...). X2go has the advantage of being able to disconnect/reconnect sessions and will have better performance than native remote X on networks with latency. -- Les Mikesell lesmikes...@gmail.com ___ 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