Re: I need to add something to my global PATH
I usually use /etc/profile.d/ my self Original Message From: ToddAndMargo Sent: Friday, January 13, 2017 21:20 To: scientific-linux-users@fnal.gov Subject: Re: I need to add something to my global PATH On 01/13/2017 06:13 PM, jdow wrote: > On 2017-01-13 17:42, ToddAndMargo wrote: >> Hi All, >> >> Google is failing me here. All I get is how to alter the path locally. >> >> I want to add something to the PATH so the EVERYONE see it. > > Edit /etc/profile > >> And one I make the changes, how do I reload the thing without having >> to reboot? > > That's easy, logout and log back in. > > So far as I know you can't do this without the logout. /etc/profile is > read on login. Changing an existing bash instance seems to require > manually fiddling with the PATH environment setting inside the running > bash instance. > > {^_^} Thank you! I used pathmunge inside profile -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~
Re: Perl 6 just hit
By the way I know for a fact that on their big deployment contracts Cisco does not use their own products to manage their switches. They actually use Perl scripts. Original Message From: Steven Haigh Sent: Friday, December 30, 2016 04:11 To: scientific-linux-users@fnal.gov Subject: Re: Perl 6 just hit On 30/12/16 20:04, prmari...@gmail.com wrote: > What you will here is Perl is dead, but the truth is most people use it on a > daily basis and don't know it. Perl is still the swiss army chainsaw of > scripting languages. If you do an online transaction - somewhere between you and your bank, you hit a perl script. It's been said that the next financial crisis will be triggered by a perl bug. Even more seriously, stuff that absolutely must work, all the time, every time and for more than a year at a time is written in perl. Billion of dollars a month get moved around with perl scripts - and that won't change anytime soon... -- Steven Haigh Email: net...@crc.id.au Web: https://www.crc.id.au Phone: (03) 9001 6090 - 0412 935 897
Re: Perl 6 just hit
By the way. If you would like I can happily send you a brief reading list if you want to get started with Perl 5. I just need to know if you already know any other languages so I can send you the right list. For example if you are already a C++ programmer you only need to read 1 very short book and a couple of pages on the Perl web site to update what's changed since it was published. If you don't have programing experience then the list gets longer Original Message From: prmari...@gmail.com Sent: Friday, December 30, 2016 04:04 To: Maarten; SCIENTIFIC-LINUX-USERS@fnal.gov Subject: Re: Perl 6 just hit Ok well I will try to be unbiased but full disclosure I am a real hard core Perl programmer and I admittedly am not a huge Python fan. Both have their good and bad points. The python philosophy is to enforce good programing practices by enforcing indentation. The Perl philosophy it there are many ways to do it. A little bit of a primer one of the biggest motivation of the original writer of Python was he hated how sloppy Perl programmers were and wanted to create a language that enforced what he thought were good coding practices. By the way any one who disagrees a quick google search for linux journal articles circa 2001 can back me up with his own words. The truth is I've seen good and bad code in both languages. An enforcing indentation doesn't help especially when the the interpreter can't tell the difference between a tab and the equivalent number of spaces on that platform. Perl got an image Problem thanks to a 2002 April fools joke by Larry Wall the writer of the language which oddly back fired on him. He announced Perl 6 was the new Perl engine which would also be able to run code in a VM in any other language. He also created a code repo for it. A couple of days later he was shocked to find working code in the repo. So he rolled with it and started to put together extremely ambitious specs for Perl 6. Now Perl should have gone through several major releases since then but because of the lofty goals of Perl 6 it didn't. That's not to say the language has been static. No Perl 5 program I've written in the last 10 years will not run on a version of Perl 5 from 2002 or even in most cases a version from 2005. To People who know the language well what we are calling Perl 6 should probably be called Perl 9. As for Python it's become popular and definitely Red Hat's favorite scripting language. It's got a great following and is used for many things. As for modules Perl 5 still has more but many of the are dated, Python is catching up and it has the benefit of youth and popularity. For example Amazon AWS has a Python API, but not a Perl API. I've been debating about writing one my self and in the Perl tradition there are 2 ways I can do it build on LWP (lib WWW Perl) to create a native Perl module, or take the lazy route by create an "XS" module which wraps the C API. The advantage of the XS method is I can run a script and have a clumsy but working module in seconds, then spend a couple of hours to make it easy to use. What you will here is Perl is dead, but the truth is most people use it on a daily basis and don't know it. Perl is still the swiss army chainsaw of scripting languages. Honestly for support on learning Python is easier. With Perl if you can get to the point where you really understand the power of anonymous references, it's still a very fast and flexible language. In conclusion Either one is good. Learn them both at least superficially. Tinker and play with them and see which one is right for you. Original Message From: Maarten Sent: Friday, December 30, 2016 03:00 To: SCIENTIFIC-LINUX-USERS@fnal.gov Subject: Re: Perl 6 just hit Hello, Saw this discussion and found it interesting, got a somewhat half on topic question. I've been trying to decide on a language to learn, python and perl both stood out. There seems to be various discussions of why one is better than the other, and the pro's and con's of both. From what I've seen perl has been around longer than python and there are plenty of places to ask for help and lots of perl modules to use in your code. Python on the other hand seems newer, also has modules(probably less than perl), and has quite bit of community around too. However lately I've been seeing that there are more python projects than perl, making me think python might be the better one to go for. So I am more wondering what peoples opinions on this mailing list are when it comes to python or perl, that way I can consider the opinion of people who have been programming for a while before I make a decision to what I am going to do ;) On 2016-12-30 02:03, prmari...@gmail.com wrote: > I couldn't agree more, usually when I go to an open source event if > the crowd is a good one they wind up going some where else after the > event is over and chat for hours. > Thanks for the links, I'll look into them
Re: Perl 6 just hit
Ok well I will try to be unbiased but full disclosure I am a real hard core Perl programmer and I admittedly am not a huge Python fan. Both have their good and bad points. The python philosophy is to enforce good programing practices by enforcing indentation. The Perl philosophy it there are many ways to do it. A little bit of a primer one of the biggest motivation of the original writer of Python was he hated how sloppy Perl programmers were and wanted to create a language that enforced what he thought were good coding practices. By the way any one who disagrees a quick google search for linux journal articles circa 2001 can back me up with his own words. The truth is I've seen good and bad code in both languages. An enforcing indentation doesn't help especially when the the interpreter can't tell the difference between a tab and the equivalent number of spaces on that platform. Perl got an image Problem thanks to a 2002 April fools joke by Larry Wall the writer of the language which oddly back fired on him. He announced Perl 6 was the new Perl engine which would also be able to run code in a VM in any other language. He also created a code repo for it. A couple of days later he was shocked to find working code in the repo. So he rolled with it and started to put together extremely ambitious specs for Perl 6. Now Perl should have gone through several major releases since then but because of the lofty goals of Perl 6 it didn't. That's not to say the language has been static. No Perl 5 program I've written in the last 10 years will not run on a version of Perl 5 from 2002 or even in most cases a version from 2005. To People who know the language well what we are calling Perl 6 should probably be called Perl 9. As for Python it's become popular and definitely Red Hat's favorite scripting language. It's got a great following and is used for many things. As for modules Perl 5 still has more but many of the are dated, Python is catching up and it has the benefit of youth and popularity. For example Amazon AWS has a Python API, but not a Perl API. I've been debating about writing one my self and in the Perl tradition there are 2 ways I can do it build on LWP (lib WWW Perl) to create a native Perl module, or take the lazy route by create an "XS" module which wraps the C API. The advantage of the XS method is I can run a script and have a clumsy but working module in seconds, then spend a couple of hours to make it easy to use. What you will here is Perl is dead, but the truth is most people use it on a daily basis and don't know it. Perl is still the swiss army chainsaw of scripting languages. Honestly for support on learning Python is easier. With Perl if you can get to the point where you really understand the power of anonymous references, it's still a very fast and flexible language. In conclusion Either one is good. Learn them both at least superficially. Tinker and play with them and see which one is right for you. Original Message From: Maarten Sent: Friday, December 30, 2016 03:00 To: SCIENTIFIC-LINUX-USERS@fnal.gov Subject: Re: Perl 6 just hit Hello, Saw this discussion and found it interesting, got a somewhat half on topic question. I've been trying to decide on a language to learn, python and perl both stood out. There seems to be various discussions of why one is better than the other, and the pro's and con's of both. From what I've seen perl has been around longer than python and there are plenty of places to ask for help and lots of perl modules to use in your code. Python on the other hand seems newer, also has modules(probably less than perl), and has quite bit of community around too. However lately I've been seeing that there are more python projects than perl, making me think python might be the better one to go for. So I am more wondering what peoples opinions on this mailing list are when it comes to python or perl, that way I can consider the opinion of people who have been programming for a while before I make a decision to what I am going to do ;) On 2016-12-30 02:03, prmari...@gmail.com wrote: > I couldn't agree more, usually when I go to an open source event if > the crowd is a good one they wind up going some where else after the > event is over and chat for hours. > Thanks for the links, I'll look into them even though I'm on too many > mailing lists already :). > > Original Message > From: ToddAndMargo > Sent: Thursday, December 29, 2016 18:24 > To: Paul Robert Marino > Cc: scientific-linux-users@fnal.gov > Subject: Re: Perl 6 just hit > > On 12/28/2016 01:09 PM, Paul Robert Marino wrote: >> there is one for active Perl 6 >> projects but they don't want any one who doesn't already have an >> active Perl 6 project to attend. I asked them very politely for a >> clarification on their policy and didn't not get a response. I didn't >> get a reply but I know other Perl 5 programmers who showed up looking >> to
Re: Perl 6 just hit
I couldn't agree more, usually when I go to an open source event if the crowd is a good one they wind up going some where else after the event is over and chat for hours. Thanks for the links, I'll look into them even though I'm on too many mailing lists already :). Original Message From: ToddAndMargo Sent: Thursday, December 29, 2016 18:24 To: Paul Robert Marino Cc: scientific-linux-users@fnal.gov Subject: Re: Perl 6 just hit On 12/28/2016 01:09 PM, Paul Robert Marino wrote: > there is one for active Perl 6 > projects but they don't want any one who doesn't already have an > active Perl 6 project to attend. I asked them very politely for a > clarification on their policy and didn't not get a response. I didn't > get a reply but I know other Perl 5 programmers who showed up looking > to get porting tips, and were asked to leave because they weren't > currently Perl 6 programmers, which is a very poor approach to take if > you really want to rebuild the Perl community. I have found in all my years in this biz that when so called "experts" get arrogant and condescending, it is usually because they don't know what they are doing. The real experts love to talk and talk about what they have learned. Sort of like letting the air out of a compressed air container. There is a Perl 6 mailing list with a bunch of great guys over at http://lists.perl.org/list/perl6-users.html -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~
Re: Regarding latest Linux level 3 rootkits
Jdow, Why are you looking at that for root kit prevention? It's a very old fashion approach, I would use the RPM's verify command or one of the many filesystem check sum tools available for that instead. Either one can tell you if any critical binaries or libraries have been compromised very easily and there are even tools built around them to do it on a network wide level. Further more if you really want to make your systems resistant to root kits, readonly mount of / and /usr is still your best bet, even Red Hat products like RHEV use that method on appliances. Original Message From: jdow Sent: Wednesday, September 7, 2016 19:09 To: scientific-linux-users@fnal.gov Subject: Re: Re: Regarding latest Linux level 3 rootkits Thanks Vladimir, I suppose I could pull the necessary files from busybox as a means of keeping a more generic Linux system in security trim. This might be a useful tool set to suggest upstream. A statically linked less would allow a quick check for the hidden user. A statically linked chkrootkit would find the bad file size for the affected glib libraries. {^_^} Joanne On 2016-09-07 03:36, Vladimir Mosgalin wrote: > Hi jdow! > > On 2016.09.06 at 23:15:04 -0700, jdow wrote next: > >> Is there any source for a VI, VIM, or even EMACS that has all libraries >> compiled into it statically? That would make monitoring for the rootkit much >> easier. The same could be said for utilities such as chkrootkit. With >> compiled in static libraries these level three (user space) rootkits can't >> edit the results you get, as easily. (Any file system components in user >> space would also have to be statically linked.) > > Busybox would work. It's usually build statically (either that, or it's > easy to make that kind of build) and includes vi clone. Very poor man's > vi, just like other busybox utilities, but nevertheless. Current version > supports some neat stuff like autoindent and undo. >
Re: No installation without dhcp active?
You need to define static IP's in darcut format on the kernel boot command line now since 7. Look at the kickstart instructions for fedora for details. Right or wrong the idea behind it is that with IPv6 coming in the future every one should be using DHCP every where. Original Message From: Lamar Owen Sent: Friday, August 26, 2016 18:20 To: Peter Boy; scientific-linux-us...@listserv.fnal.gov Subject: Re: No installation without dhcp active? Peter, Did you solve your problem? I'm going to be doing an http install of CentOS 7 tomorrow on a subnet with no DHCP server, and I'll see where configuring the static IP is in the installer (I'm pretty sure I know where it is; there is a configure button on the Network & Hostname page of the installer, and configuring a static IP is done there). On 08/14/2016 07:42 AM, Peter Boy wrote: > Hi, > > I just tried to install a new Scientific 7 virtual host on my server using > virtlib remote and installing using html remote installation method. > > Everything went fine, the necessary files were loaded from the mirror server, > kernel booted, dracut started, but aborted because it didn’t receive a dhcp > offer (according to log). There is no dhcp available in that environment > (Hetzner root server in Germany). With previous installation I remember the > installation started nevertheless and I could configure a static IP > configuration as part of the installation process. Unfortunately, I didn’t > found any opportunity to define a static IP prior to the installation process > aborting. > > > How can I install ScientificLinux? > > > Or is there another RedHat alike which lets me configure a static IP (CentOS > doesn’t either, by the way). > > > Thanks > Peter > > > > > > — > Dr. Peter Boy > Universität Bremen > Mary-Sommerville-Str. 5 > 28359 Bremen > Germany > > p...@zes.uni-bremen.de > www.zes.uni-bremen.de > > > > Are you looking for a web content management system for scientific research > organizations? > Have a look at http://www.scientificcms.org > -- Lamar Owen Chief Information Officer Pisgah Astronomical Research Institute 1 PARI Drive Rosman, NC 28772 828-862-5554 www.pari.edu
Re: Updates of samba4 ?
By the way if you have any support licenses with RedHat create a matching case with them too. The developers give higher priority to cases created by paid customers. Original Message From: Rupert Kolb Sent: Monday, June 6, 2016 17:27 To: scientific-linux-users@fnal.gov Subject: Re: Updates of samba4 ? Thanks for clarifying. I was not aware of this. For the short term I downgraded to an older version of samba4 (to get my system running again). (And yes, there is an entry in bugzilla for "my" problem. And a link to an upstream patch ) In the medium term I'm looking for an other distribution: It doesn't make sense to have about 10 years of support (in theory), but updates just every half year. Then I prefer a system -- where I have to do upgrades to the next major versions more frequently, -- because of merely about 3 years of update support, ++ but with a more current update policy ++ and an overall more recent software. Rupert Stephen John Smoogen schrieb: > On 6 June 2016 at 13:00, Rupert Kolbwrote: >> Hi, >> >> are there any updates for samba4 ? >> At the moment in the repo is: >> samba4-4.2.10-6.el6_7.x86_64 from 13th of april. >> >> At download.samba.org is a updated version samba-4.2.12 from 2016-05-02 (one >> month ago!) >> >> As there are some bugs in 4.2.10, which seem to be solved in 4.2.12 (for >> instance: 'wbinfo -u' returns no users), I'm really interested in the >> updated version !!! >> > You seem unfamiliar with how Scientific Linux ships software which is > causing you some confusion. Scientific Linux (SL) is built from the > git source code that Red Hat puts out for its Enterprise Linux (RHEL). > Red Hat does periodic updates to its software on a scale of 1 to 2 > times a year but these upgrades may only backport fixes to the current > release number or may do a complete upgrade. [When a RHEL release > moves from various production stages which RHEL-6 just did, they only > backport major fixes.] > > So if you need SL to ship samba4-4.2.12 then you need to check to see > if there are existing bugs on the issues you need fixed in > http://bugzilla.redhat.com and also test out whenever RHEL-6.9beta > comes out to see if the bug was backported to it. Otherwise you may > need to look at Scientific Linux 7 and if it is fixed/updated in SL7.3 > > >> Rupert
Re: What is this xfadump error?
It always uses the catalog, even though you are doing full dumps it updates the catalog so you can do incremental in the future. It also knows where the backups were stored and where to restore them by default. Original Message From: ToddAndMargo Sent: Sunday, May 15, 2016 04:16 To: scientific-linux-users@fnal.gov Subject: Re: What is this xfadump error? >> Original Message >> From: ToddAndMargo >> Sent: Saturday, May 14, 2016 20:37 >> To: scientific-linux-users@fnal.gov >> Subject: What is this xfadump error? >> >> Hi All, >> >> $ rpm -qa \*xfsdump\* >> xfsdump-3.1.4-1.el7.x86_64 >> >> What is the meaning of this xfsdump error. There is >> no /dev/sda on this system at the moment. >> >> # /usr/sbin/xfsdump -v verbose -M 1 -L 1 -l 0 -f >> /lin-bak/2016-05-14_15-49-55_homeXfsDump /home >> >> /usr/sbin/xfsdump: dumping non-directory files >> WARNING: Your hard drive is failing >> Device: /dev/sda [SAT], unable to open device >> /usr/sbin/xfsdump: ending media file >> /usr/sbin/xfsdump: media file size 453262590208 bytes >> /usr/sbin/xfsdump: dump size (non-dir files) : 453181559704 bytes >> /usr/sbin/xfsdump: dump complete: 5404 seconds elapsed >> /usr/sbin/xfsdump: Dump Summary: >> /usr/sbin/xfsdump: stream 0 /lin-bak/2016-05-14_15-49-55_homeXfsDump >> OK (success) >> /usr/sbin/xfsdump: Dump Status: SUCCESS >> >> >> And it succeeded! >> >> /home is on /dev/sdb3 >> /lin-bak is /dev/sdc1 >> >> Really! >> >> # fdisk -l /dev/sda >> fdisk: cannot open /dev/sda: No such file or directory >> >> Any idea? >> >> Many thanks, >> -T On 05/14/2016 09:58 PM, prmari...@gmail.com wrote: > Sounds like your hard drive or the controller are having issues. > By any chance is/var on sda. XFSdump keeps a catalog in /var/lib/xfs which > is used for incremental backups. > I know this because about 3 or 4 years ago I had to file a bug ticket with > Red Hat for RHEL 6 about improper selinux contexts on that directory. > > Hi Rrmarino, It is not an incremental dump. But It is two removable backups in a row. Due to this bug https://bugzilla.redhat.com/show_bug.cgi?id=1257018 The backup drive mounts on /dev/sda the first time, gets removed and the second drive mounts on /dev/sdc. This error occurred on the second drive. Maybe it is using this catalog? -T -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~
Re: What is this xfadump error?
Sounds like your hard drive or the controller are having issues. By any chance is/var on sda. XFSdump keeps a catalog in /var/lib/xfs which is used for incremental backups. I know this because about 3 or 4 years ago I had to file a bug ticket with Red Hat for RHEL 6 about improper selinux contexts on that directory. Original Message From: ToddAndMargo Sent: Saturday, May 14, 2016 20:37 To: scientific-linux-users@fnal.gov Subject: What is this xfadump error? Hi All, $ rpm -qa \*xfsdump\* xfsdump-3.1.4-1.el7.x86_64 What is the meaning of this xfsdump error. There is no /dev/sda on this system at the moment. # /usr/sbin/xfsdump -v verbose -M 1 -L 1 -l 0 -f /lin-bak/2016-05-14_15-49-55_homeXfsDump /home /usr/sbin/xfsdump: dumping non-directory files WARNING: Your hard drive is failing Device: /dev/sda [SAT], unable to open device /usr/sbin/xfsdump: ending media file /usr/sbin/xfsdump: media file size 453262590208 bytes /usr/sbin/xfsdump: dump size (non-dir files) : 453181559704 bytes /usr/sbin/xfsdump: dump complete: 5404 seconds elapsed /usr/sbin/xfsdump: Dump Summary: /usr/sbin/xfsdump: stream 0 /lin-bak/2016-05-14_15-49-55_homeXfsDump OK (success) /usr/sbin/xfsdump: Dump Status: SUCCESS And it succeeded! /home is on /dev/sdb3 /lin-bak is /dev/sdc1 Really! # fdisk -l /dev/sda fdisk: cannot open /dev/sda: No such file or directory Any idea? Many thanks, -T -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~
Re: Anyone know of a bootable USB3 PCI or PCIe card?
Yes that is most likely your issue. In theory I may have a work around for you. Although I have never tried it for this purpose. This depends on your card a bit if you have a higher end USB3 PCI card then it will have an individual root hub for each port. In that case each one will show up in lspci. If that is the case then you can try mapping the PCI address to the VM that might make it bootable for the VM with some low lever tinkering directly in the config. The other thing is are you using a GUI to manage the config, if so you may find that this is an arbitrary limitation in the GUI and not in KVM it self. In that case you may be able to get it to work via the config file. Original Message From: Konstantin Olchanski Sent: Tuesday, May 10, 2016 20:41 To: ToddAndMargo Cc: scientific-linux-users@fnal.gov Subject: Re: Anyone know of a bootable USB3 PCI or PCIe card? On Tue, May 10, 2016 at 05:29:13PM -0700, ToddAndMargo wrote: > > Any of you guys know of a bootable PCIe USB adapter > that is bootable? > Never seen such a thing. Had similar problem with non-bootable PCI SATA and GigE interfaces. Not bootable because machine BIOS is too old and does not have a "driver" for the newer chip on your board. So in order to be bootable, the PCI card would have to have an EPROM/flash chip that contains the required BIOS bits. This makes a bootable USB interface should be easy to identify by photograph - in addition to the PCI<->USB bridge chip, it will have one more chip for the BIOS. -- Konstantin Olchanski Data Acquisition Systems: The Bytes Must Flow! Email: olchansk-at-triumf-dot-ca Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada
Re: Perl window question
By window I assume you mean X11 In that case look at Perl/TK there are several great modules that can help you, that's the classic method although most people just do web interfaces now. Also if you would like I could suggest some books to read that would help you a lot. I'm a pretty heavy Perl programmer my self and am always happy to help any one who wants to learn Perl. One thing I will advise it seems pretty abstract at first but learn how anonymous references work in Perl because they are really the key to unlocking the true power of the whole language, I always consider it as the key piece of knowledge that separates Perl scripters from a Perl programmer. Original Message From: ToddAndMargo Sent: Sunday, November 22, 2015 23:00 To: scientific-linux-users@fnal.gov Subject: Perl window question Hi All, I am trying to teach myself Perl. I am also trying to get away from Zenity. Any of you guys have a favorite method of creating a windows from Perl that is SL7 friendly (meaning the modules are available)? Many thanks, -T -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~
Re: VMware
If you have slow video performance on KVM look into spice. Which is not included with SL but it's not hard to add. Bridged networks are not hard to add to any of these solutions, unreliable WiFi can be though under all of them. If you want to make it more tolerant of such issues you have two options 1 open vswitch 2 create the bridge manually in /etc/sysconfig/network-scripts and attach the wifi interface too it. Note that means that the dhcp client has to be attached to the bridge, and I don't know if Network Manager will work well for that configuration. Your best bet with WiFi is to do NAT. Original Message From: Francesco M. Taurino Sent: Wednesday, October 28, 2015 03:54 To: SCIENTIFIC-LINUX-USERS@fnal.gov Subject: Re: VMware hi yasha, kvm windows 7/8/10 guests can be a bit slow in graphic applications, but quite usable if you need cpu/memory raw power. you can use virtualbox, and bridge the virtual lan card of your guest to a physical lan or a wifi adapter. the wifi adapter must be fully connected on your linux host. ftaurino Il 27/10/2015 10:31, Karel Lang AFD ha scritto: > Hi, > just q. (i surely missed it in earlier conv.) - why can't you use KVM > as a virtualization layer? > > I use KVM on servers, workstations, laptops and i find it has all i need. > > I just missed thing like 'shared folder' between host/guest like eg. > vbox has, but this can be remedied by compiling/turning on the 9pFS in > kernel, if the 10Gbps of the NATed internal networking with virtio > driver is not enough. > >
Re: SL 7.2
The reason for the small /boot is since the introduction of dracut you can now use a shockingly small kernel because the initrd is now customized to your box and less modules need to be compiled in too. That said that is a bit small but you can override it it just takes a lot of clicks. As for gnome it's always been Red Hats favorite because they have had a heavy hand in developing it. It's never been easy to override. That said I've done it with XFCE on rhel 7 and fedora so it's not impossible. Further more if you are doing a lot of deploys you should be using kickstarts which give you far more control over the installation and guarantee consistency. What it comes down to is 7 is a new beast with a big learning curve. You need to play with it and not worry about messing it up the first few time because it will happen. Original Message From: Konstantin Olchanski Sent: Friday, July 3, 2015 22:10 To: Larry Linder Cc: scientific-linux-users@fnal.gov Subject: Re: SL 7.2 On Fri, Jul 03, 2015 at 10:43:52AM -0400, Larry Linder wrote: Dear Sir: 6. We (everyone in the shop) unanimously hates the GENOME desk top. There does not appear to be able to select an alternate. Pretty cool! All my bases are belong to you! What did you use to generate this gibberish? -- Konstantin Olchanski Data Acquisition Systems: The Bytes Must Flow! Email: olchansk-at-triumf-dot-ca Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada
Re: nfsv4 and rpcidmapd
If your using kerberos then there may be some other issues.1) make sure that the default realm is set correctly in /etc/krb5.conf on all servers.2) make sure that all the processes have access to keytab files readable by the user the service is running as, and that it contains the key for the principal for that service. If not then user key forwarding for the users pricipal won't work correctly.From: Patrick J. LoPrestiSent: Tuesday, June 30, 2015 17:17To: Orion PoplawskiCc: Eve V. E. Kovacs; SCIENTIFIC-LINUX-USERS@fnal.govSubject: Re: nfsv4 and rpcidmapdPossibly related:https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/526302Assuming you are using FQDNs and the host's domain matches the Kerberos domain, it sounds like you can simply comment out the "Domain = " line in idmapd.conf.(I vaguely recall "localdomain" having special meaning in this context and therefore being a bad idea. I always set it to something else. But I am unable to find a reference, so maybe my memory is playing tricks on me.)- PatOn Tue, Jun 30, 2015 at 1:47 PM, Orion Poplawski or...@cora.nwra.com wrote:On 06/30/2015 02:39 PM, Eve V. E. Kovacs wrote: Yes, kereberos is used for password authentication; account information is supplied by our ldap server. Passwords are not served via ldap. Eve Perhaps something in that configuration is forcing the full domain to get sent. Not sure. idmap issues always give me headaches. On Tue, 30 Jun 2015, Orion Poplawski wrote: Date: Tue, 30 Jun 2015 15:30:41 -0500 From: Orion Poplawski or...@cora.nwra.com To: Eve V. E. Kovacs kov...@anl.gov, scientific-linux-users@fnal.gov Subject: Re: nfsv4 and rpcidmapd On 06/30/2015 01:46 PM, Eve V. E. Kovacs wrote: We have an SL6 nfsv4 file server and a number of SL6 clients. We were careful to configure idmapd.conf on both the clients and the server to have the same domain name as follows: # The following should be set to the local NFSv4 domain name # The default is the host's DNS domain name. #Domain = local.domain.edu Domain = localdomain All of this worked until recently. Now, when I try to change the ownership of my file 'test' on one of the clients, I get an error: chown: changing ownership of test : Invalid argument On the server, I see errors in the log file: rpc.idmapd[6092]: nss_getpwnam: name 'kov...@hep.anl.gov' does not map into domain 'localdomain' This problem has various solutions posted on the internet. Some solutions claim that all that is required is to have the same domain name on the client and server. We already have this, but still have a problem. Another solution suggests changing the local NFSv4 domain name to match the DNS domain name (which looks promising, given the error message above). Has anyone else had this problem and/or know the fix? I would definitely recommend using the real domain name, but it does seem like the client is sending the "hep.anl.gov" domain name rather than "localdomain", and I'm not sure why that would be if it is configured as you described. Either way *should* work. Is kerberos involved at all? -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane or...@nwra.com Boulder, CO 80301 http://www.nwra.com *** Eve Kovacs Argonne National Laboratory, Room L-177, Bldg. 360, HEP 9700 S. Cass Ave. Argonne, IL 60439 USA Phone: (630)-252-6208 Fax: (630)-252-5047 email: kov...@anl.gov *** -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane or...@nwra.com Boulder, CO 80301 http://www.nwra.com
Re: how to add packages that are not in the repo?
Put them all in the same directory and yum should figure it out. If not then I think there was an option called --assist or --aid for the rpm command which will do it but it's been a while. Also remember to check /etc/cron.daily there is a yum autoupdate package that installs by default on 6 and bellow that runs a cronjob to run yum update -y every day you will want to either disable it or install the yum blacklist extension rpm and configure it to prevent it from updating those packages. Sent from my BlackBerry 10 smartphone. Original Message From: Tini Sent: Friday, May 29, 2015 20:00 To: ToddAndMargo; SCIENTIFIC-LINUX-USERS@FNAL.GOV Subject: Re: how to add packages that are not in the repo? i forgot to ask, how do i get around the 'file dependency' problem? should i just add all of the libraries? :-D --- Original Message --- From: ToddAndMargo toddandma...@zoho.com To: t...@telekon.org, SCIENTIFIC-LINUX-USERS@FNAL.GOV Subject: Re: how to add packages that are not in the repo? Date: Fri, 29 May 2015 On 05/29/2015 02:31 PM, t...@telekon.org wrote: how can i add packages that aren't in the repo? Hi Trin, Go to pbone.net, find the package (rpm) you want to install. Download the package. switch to root and install the package rpm -ivh package.rpm If you can't find the package for SL on phone, then it gets interesting. What did you have in mind? -T
Re: flash alternatives?
Why don't you complain to websites still using flash. Send them emails saying they shouldn't use it any more. There are plenty of HTML 5 alternatives and as much as I hate to say it moonlight works very well for any silverlight content without DRM. Sent from my BlackBerry 10 smartphone. Original Message From: ToddAndMargo Sent: Tuesday, May 5, 2015 19:30 To: scientific-linux-users@fnal.gov Subject: Re: flash alternatives? On 05/05/2015 03:10 PM, ~Stack~ wrote: On 05/05/2015 03:29 PM, Jim Campbell wrote: On Tue, May 5, 2015, at 01:02 AM, ToddAndMargo wrote: [snip] Any other ways around Adobe's outdated flash plugin? If you want to watch Flash videos, though, probably the safest bet is to install Google Chrome, which embeds a Pepper flash-compatible plugin [0]. There is a internal website at my job that /requires/ flash and that I need to access. I tried all kinds of things from installing from random repos to rolling my own build for all kinds of alternatives. Chrome was the only thing that worked for me. Then Google ditched RHEL6 support and I had people angry at me for running an outdated browser. That is when I stumbled on this: http://chrome.richardlloyd.org.uk/ I know it has gotten both praise and hate on this list, but it works really well for me and it keeps my Chrome up to date. I loath Adobe, I prefer Firefox, and I can count all the sites I visit w/ Chrome on one hand...but for those few sites I gotta have flash. :-/ Hopefully it works just as well for you. Hi Stack, So far, it is only annoying. Eventually I hope everyone switches over to HTML5. But, if I have to install Chrome, I guess I will sometime in the future Thank you for helping me with this. -T -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~
Re: KVM and OSx
You might want to look at what people do to create a hackintosh Essentially there are two things that will cause you problems. First is the Bios. Mac's use openfirmware which is directly related to the the firmware used sparc (SUN/Oracle) and power series (IBM AIX/LINUX) boxes. I don't believe QEMU will pass the native BIOS interface to the VM so you may need a bootloader to emulate it. Your next hurdle is the drivers. Essentially if you can get Open Darwin to boot in a QEMU hosted VM then you are 90% there. OSX restricts what hardware it supports via a white list in what's known as plist fies. Plist files are XML files which include as the value of a tag plain text, base 64 text, and even an other base 64 encoded plist file. Editing them is kind of like pealing an onion and occasionally you peal one layer and find more onions inside. With a little research it should be doable but it probably won't be easy unless someone has already written a tool to do it for you. Sent from my BlackBerry 10 smartphone. Original Message From: ToddAndMargo Sent: Friday, March 20, 2015 17:43 To: scientific-linux-users@fnal.gov Subject: Re: KVM and OSx On 03/19/2015 12:45 PM, ToddAndMargo wrote: Hi All, Anyone get OSx working in KVM? -T Looking over at: http://www.contrib.andrew.cmu.edu/~somlo/OSXKVM/ Legal Disclaimer: I am not a lawyer, and this is not legal advice. Taking into account that OS X is now officially supported on commercial virtualization solutions such as VMWare Fusion and Parallels, and after a careful reading of Apple's OS X EULA (which states that [...] you are granted a [...] license to install, use and run one (1) copy of the Apple Software on a single Apple-Branded computer at any one time), it is my belief that it's OK to run Mac OS X as a QEMU guest, provided the host hardware is a genuine, Apple-manufactured Mac computer, running an arbitrary (e.g. Linux) host OS. This happens to be how I'm using it, but YMMV. Yikes! -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~
Re: Successful configuration for openssh 6.x and kerberos
By the way I've been using this method successfully on Linux since 1999 and never had a compatibility issue. Sent from my BlackBerry 10 smartphone. Original Message From: prmari...@gmail.com Sent: Wednesday, March 11, 2015 10:21 To: Steven Timm; scientific-linux-users@fnal.gov Subject: Re: Successful configuration for openssh 6.x and kerberos Use pam_krb5 instead of the built in GSSAPI support. The only reason that option is there is for UNIX platforms that don't support PAM such as AIX Sent from my BlackBerry 10 smartphone. Original Message From: Steven Timm Sent: Wednesday, March 11, 2015 09:58 To: scientific-linux-users@fnal.gov Subject: Successful configuration for openssh 6.x and kerberos Does anyone have a successful ssh client side configuration for scientific linux 7 (which uses openssh 6.4) such that it can ssh into older machines at Fermilab using Kerberos authentication? I am needing this for a remote site which is running openssh 6. It appears that the GSSAPIKeyExchange method which is the preferred method in openssh 5.x clients may not be available in openssh 6, at least not in the version the remote site has compiled for themselves. Steve Timm -- Steven C. Timm, Ph.D (630) 840-8525 t...@fnal.gov http://home.fnal.gov/~timm/ Office: Wilson Hall room 804 Fermilab Scientific Computing Division, Scientific Computing Facilities Quadrant., Experimental Computing Facilities Dept., Project Lead for Virtual Facility Project.
Re: Docker
Sent from my BlackBerry 10 smartphone. Original Message From: Tom H Sent: Sunday, February 15, 2015 09:08 To: SL Users Subject: Re: Docker On Tue, Feb 3, 2015 at 10:06 PM, Nico Kadel-Garcia nka...@gmail.com wrote: On Tue, Feb 3, 2015 at 12:17 PM, Tom H tomh0...@gmail.com wrote: 1) RH doesn't license RHEL; it provides subscriptions to RHEL. The individual have licenses... I think you meant individual components have licenses, It's cool. Indeed, thanks. 2) What might be the rationale for RH to release SRPMs (as SRPMs previously and as a git tree now) that are different from the SRPMs from which it builds RHEL?! The most likely real reason would be accidental error. `Some SuSE 9 SRPM's for example, sometimes included different components form the source tree in the SRPM depending on build options. Fedora and RHEL have been very good about including *all* compnents, even if only used for particular OS version or builds. I applaud them for consistency. Of course errors can happen. I'd expect RH to fix them quickly because it's in its interest for RHEL rebuilders to publish a distro as similar to RHEL as possible. How so? Red Hat wants people to buy the support exact duplicate distros give people an excuse not to buy the support. So how is that in Red Hats best interest? The other *potential* source of such a discrepancy would be a manipulative weasel hiding hacks or concealing features incompatible with patent or copyright law. I'm not saying this is *likely*, our favorite upstream vendor has been really good about this, and I've met enough of their employees in the Boston area to have some confidence in them to not pull this sort of stunt. and if they got caught it would be disastrous for public confidence and for their business Again, this isn't in RH's interest and an RH employee would destroy his/her career.
Re: what port does theyum visual frontend use?
What visual front end are you referring to? There are a few of them to choose from. They usually just call the yum python libraries and or command. No additional ports required. In general yum only requires ports 80, and 443 for 90% of public repos; however yum supports using other methods like rsync too. Also port numbers my vary. For example I've seen publicly posted yum repos hosted on odd ports like HTTPS on port 8443 so you need to look at the repos you are using to determine if any of them are using odd port numbers and or protocols Sent from my BlackBerry 10 smartphone. Original Message From: hansel Sent: Monday, February 9, 2015 09:57 To: scientific-linux-users@fnal.gov Subject: what port does theyum visual frontend use? From the command line, yum info any valid search produces output, while the visual frontend always reports no results were found (annoying passive voice). The visual tool does provide repository listings. It appears the reason is that yesterday (Sun 2/8) I closed a port at the router used by this tool. 80, 8080, and 443 (as well as 992) are open and I thought that was sufficient. Yum docs claim 443 and 80 are sufficient, at least as I read them. This is a Motorola router integrated with a cable modem (SBG6580) -- that has worked mostly flawlessly for about a year. FWIW, this change reduced root breakin attempts from thousands to 1 in 24 hours, so it may be a reasonable trade-off. Thank you, Mark Hansel
Re: Docker
Ok for clarification the subscription is a subscription for support not the software per the terms of the GPL license. In no way is Red Hat required to provide BINARY RPM's SRPM's or even the spec files to generate RPM, however in the past they did. Now they still provide the patches and spec files but they don package them for you because that is part of the support you get with the subscription and the GPL and the GNU manifesto clearly states that they are not only allowed to do this but in fact this was a recommended business model for free speech software since long before the Linux kernel was created. Red hat is doing nothing wrong and reality has a long standing history of going above and beyond what they are required to do for the community. By the way the Pre RHEL version of Red Hat still exists they just renamed it Fedora and stopped charging for box sets because once people started getting DSL lines and CD/DVD burners it didn't make sence to still attempt to put it in a pretty box in a retail store and charge $90 for a bunch of CD's you could have downloaded over your 28.8k modem if you were willing to tie up a phone line for a few days. Sent from my BlackBerry 10 smartphone. Original Message From: Tom H Sent: Tuesday, February 3, 2015 12:18 To: SL Users Subject: Re: Docker On Mon, Feb 2, 2015 at 6:25 PM, Yasha Karant ykar...@csusb.edu wrote: On 02/02/2015 11:35 AM, Connie Sieh wrote: On Fri, 30 Jan 2015, Yasha Karant wrote: Presumably, any application that will run under CentOS, in particular, CentOS 7 that is the RHEL source release for other ports, such as SL 7, should be able to run under SL. My understanding is that SL 7 is not built from the actual RHEL 7 source that is used to build RHEL 7 that is licensed for fee, but from the RHEL packaged CentOS source (CentOS now effectively being a unit of Red Hat, a for-profit corporation) that is used to build CentOS 7 (that, as with SL 7, is licensed for free as a binary installable executable system that requires no building from source per se). SL is built from the source that Red Hat has provided. It is built from the same source that all rebuilds can build from. There is no such thing as RHEL packaged CentOS source . Please correct me if I am in error. RHEL, binary licensed for fee, is built from a source that RH does not seem to release. Rather, RH releases, through the RH subsidiary CentOS and a GIT mechanism, a source for all rebuilds, supposedly including CentOS. Thus, SL and CentOS are built from the same source, but the actual RHEL source may or not may in fact (claims to the contrary notwithstanding) be the same, as no one outside of RH or a RH licensee actually sees the source for RHEL. If RHEL also is built through a GIT mechanism, I am assuming that the Internet path to the RHEL GIT is not the same as that to the public rebuildable CentOS GIT. In the event that Fermilab or CERN has licensed the actual RHEL 7 source as a RHEL licensee, would personnel at either non-RH entity be allowed to comment if in fact there were non-trivial differences between the actual RHEL 7 source and the rebuildable CentOS 7 source? Trivial differences would be the presence of RH logos and splash screens, each of which is replaced by whatever the rebuilder is using (SL for the SL rebuild) -- but all of the internal intellectual property references in the source code still (presumably) mentions RH in both the actual RHEL 7 source and the CentOS 7 rebuildable source. 1) RH doesn't license RHEL; it provides subscriptions to RHEL. The individual have licenses... 2) What might be the rationale for RH to release SRPMs (as SRPMs previously and as a git tree now) that are different from the SRPMs from which it builds RHEL?! 3) The RPMs that are distributed by SL and CentOS are sometimes different from the RPMs that are distributed by RH because, for example, RH might use brpackage-x.y-1.el7 to satisfy package-i.j-k.el7's BuildRequires but might only release brpackage-x.y-2.el7. So SL and CentOS have to use the latter to build package-i.j-k.el7's.
Re: SL 7.0 and WINS name resolution
Wins is now considered obsolete along with netbios even by Microsoft. In modern environments every thing should use DNS. XP was the last version of windows which shipped with netbios turned on by default and without netbios wins doesn't work either. Sent from my BlackBerry 10 smartphone. From: Ed AgoffSent: Wednesday, January 28, 2015 15:55To: scientific-linux-users@fnal.govSubject: SL 7.0 and WINS name resolutionIn SL 7.0, adding "wins" to end of hosts line in /etc/nsswitch.conf no longer gives me the WINS name resolution I had in earlier versions, i.e. I could ping NetBIOS names from SL 6.x command line. I've added and enabled various other services in a blind effort to get it working, to no effect: nscd, samba, and samba-winbindWhat's missing in SL 7.0 that was present and allowed this in SL 6.x?
Re: clonezilla or equivalent
In the past I use to use a utility called mkcdrec which has a successor project called relax and recover (rear for short) I haven't used the new version but it should work well. That said if you can package every thing in rpms you could use spacewalk or katello to create identical builds including copying config files. As a long term solution I like this option because it allows you to quickly rebuild after a catastrophic failure in a very clean precise way. It also allows for quick expansion of an existing environment. In my environment the typical spacewalk build takes 20 minutes and in most cases includes every thing needed to bring the box up immediately aside from state data such as database content and my normal database recovery scripts handle that and in many cases spacewalk even automatically executes them after the install is complete. Sent from my BlackBerry 10 smartphone. Original Message From: Yasha Karant Sent: Wednesday, January 28, 2015 20:09 To: scientific-linux-users@fnal.gov Subject: clonezilla or equivalent We are in the process of migrating one of our compute engines (a CUDA Nvidia GPU close coupled multichassis unit using Infiniband for the compute fabric) to SL7 from SL6. I have a fully operational SL 7 installation on my workstation that also has a CUDA Nvidia GPU. We will first migrate the head node of the compute engine to SL 7 and then continue with the rest of the nodes (the head node has the 802.3 connection to the LAN and then Internet/WAN). We plan to clone the SL7 boot harddrive from my workstation rather than go through a full install from media -- we have done this before and find cloning and then readjusting partitions to be the fastest method in our circumstances. In the past, we have physically removed drives and used an external cloning device -- easy to do on the primary servers as these all have drives in externally removable carriers -- but this would require me to open up and tear down my workstation. I have mounted a new drive -- upon which we shall be putting SL7 for the compute engine -- in an external USB3 interface. My workstation detects the drive; under SL7, it is /dev/sdj . However, a dd does not work -- it seems not to want to clone beyond 4 GBytes, rather than the full drive (the destination hard drive has sufficient capacity to hold the entire image of the source hard drive). My workstation has multiple bootable harddrives -- I am booting from a different drive than the one from which I am cloning and the clone source and target drives are not mounted during the cloning (obviously, still visible in /dev ). My next approach -- before disassembly -- will be to try clonezilla or the equivalent. As I understand clonezilla, I boot from the clonezilla dvd and then clone from source to target. Does clonezilla permit cloning over a USB3 interface, or only a USB 2 (that I also can use)? We are using ext4 partitions. Does anyone have a preferred utility over clonezilla? Any advice would be appreciated. Yasha Karant