[CentOS] Can I force yum to only use http.

2015-10-19 Thread Styma, Robert E (Robert)
Our outsourced IT department has decided to use white listing on the firewalls 
for outbound ftp.  I was given a list of sites our lab had accessed via ftp and 
eventually tracked them down to Linux machines running yum.  They are all 
CentOS 5 or 6 with a smattering of 7.  It is impractical to list all the 
possibilities since they change on a regular basis.  Also any 3rd party repos 
we need are another ball of wax.



Various Google searches and the manual page have not shown me how to avoid 
using ftp mirrors.  I have considered taking out the ftp-proxy information so 
that the ftp cannot get out, but I suspect it will just hang waiting for a 
response.



Does anyone have any suggestions on ways to tell yum not to use ftp as the 
download mechanism?



Thank you in advance.



Bob

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


Re: [CentOS] Can I force yum to only use http.

2015-10-19 Thread Styma, Robert E (Robert)

> 
> FWIW, my Centos 7 install doesn't have ftp installed and yum has no
> apparent issues.
> 
> I also, mainly, use Fedora (22 currently) and it hasn't had ftp
> installed for a long time.  Of course it uses dnf now, not yum.
> 

If I understand you correctly, if I uninstall the ftp client, yum will not use 
it as it cannot.  Is this the case?  I had assumed that the code underlying yum 
had its own stack for dealing with ftp://... urls.

I will try this on a couple of machines.

Thank you,
Bob
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Unresolved references in libnetsnmpagent.so

2013-10-06 Thread Styma, Robert E (Robert)
Hi,
   I am running an up to date centos5.9 system.
The package,
net-snmp-devel-5.3.2.2-20.el5

Contains among oteher things:
/usr/lib/libnetsnmpagent.so

When I link with this library (-lnetsnmpagent), I get a bunch of unresolved 
references.:
My Google searches has not given me hints to where the C to Perl library exists.
I would guess that yum would have  loaded the correct package as a dependency:

Could someone point me to the correct library?
Thank you.

/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libnetsnmpagent.so: undefined 
reference to `perl_free'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libnetsnmpagent.so: undefined 
reference to `perl_parse'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libnetsnmpagent.so: undefined 
reference to `Perl_eval_pv'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libnetsnmpagent.so: undefined 
reference to `perl_run'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libnetsnmpagent.so: undefined 
reference to `perl_alloc'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libnetsnmpagent.so: undefined 
reference to `make_tempfile'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libnetsnmpagent.so: undefined 
reference to `boot_DynaLoader'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libnetsnmpagent.so: undefined 
reference to `perl_construct'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libnetsnmpagent.so: undefined 
reference to `perl_destruct'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libnetsnmpagent.so: undefined 
reference to `hosts_ctl'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libnetsnmpagent.so: undefined 
reference to `Perl_newXS'

Bob Styma
Phoenix, AZ

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


Re: [CentOS] Unresolved references in libnetsnmpagent.so

2013-10-07 Thread Styma, Robert E (Robert)
> 
> http://www.mail-archive.com/net-snmp-users@lists.sourceforge.net/msg14531.html

Thank you.  The command 

net-snmp-config --agent-libs

referenced in the above message did the trick.  
This is definitely worth writing down as it is not
"obvious to the casual observer"  (to quote an old professor)

Thanks again.

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


Re: [CentOS] Strange Samba Issue

2014-02-17 Thread Styma, Robert E (Robert)
Another possibility is selinux.  I just build a CentOS 6 machine.
When I tried mapping a drive, I kept getting permission denied.
When I got into the /tmp directory, I was able to create files
from Windows via Samba and see those files but ones created on
the folder either did not show up or were inaccessible.  
Listing the extended attributes showed that the selinux part of
the attributes was different.

Researching showed that there are a number of little selinux flags
to set to get samba to work.  I went into /etc/selinux/config and
turned off selinux to test and rebooted.  The problems went away.
Now I just have to figure out what to configure, so I can turn 
selinux back on.

Bob S

> -Original Message-
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
> Behalf Of Jeff Allison
> Sent: Sunday, February 09, 2014 7:47 PM
> To: CentOS mailing list
> Subject: [CentOS] Strange Samba Issue
> 
> Ok so I built the microserver as a centos box and now I have a strange
> one
> 
> I built a Centos 6.5 box with a 3.6 raid ext4 data drive on it, shared
>  with samba.
> 
> Now when I browse these folders on the console I can see the files. when
> I
> sftp on the command line from another box I can see these files.
> 
> But when I browse via samba or using a gui sftp client quite a lot of
> these
> files are missing...
> 
> Any ideas?
> ___
> 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


[CentOS] Dug myself into a hole

2014-02-17 Thread Styma, Robert E (Robert)
I just build a CentOS 6 machine to replace my old machine which
broke to where I could not fix it.  In attempting to get the applications
running which had worked on the old machine, I did updates from several
repos such as rpmforge, atrpms, livna, epel,  etc.
Some of the attempts ended going down blind alleys.

Now I have a mix of rpm's from various sites that I do not need, but they
are listed as dependencies of other rpm's.  

The rpmforge rpm's are marked with "rf".
Is there a process to check which of these rpm's are also in the
base libraries and force them back in?

I really do not want to go back to square 1 and reload the system
from scratch.

Bob S


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


Re: [CentOS] Dug myself into a hole

2014-02-20 Thread Styma, Robert E (Robert)
> Subject: Re: [CentOS] Dug myself into a hole
> 
> > Bob S
> Disable the offending repositories and then run
> yum distro-sync
> 
> Louis
> 
One more relevant note on this thread.

The "yum distro-sync' works well.  I discovered
the priorities plug-in in the CentOS wiki.
(wiki.centos.org/PackageManagement/Yum/Priorities)
You can make sure a third party rpm never replaces
a base rpm.  Of course if not replacing the base rpm
means the application does not work... Well you
have to decide what you want to do.

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


[CentOS] Upgrading to CentOS 6

2014-02-25 Thread Styma, Robert E (Robert)
I recently built a CentOS 6 system as my main machine at home.
With a bit of help from members of this list, it is now working
better than the machine it replaced (RIP).
The new machine works so well, that I would like to convert some
CentOS 5 machines to CentOS6.

I did some research on the web and the new install is still considered
the proper way to upgrade CentOS.  Same as Fedora and RHEL.
The question becomes, "What makes the Ubuntu developers so
clever that they can do major upgrades through their apt based
update system?"

There must be some sort of gotcha or tradeoff involved in allowing this.

Does anyone have any insights on why they can get away with this
while CentOS cannot?


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


Re: [CentOS] Upgrading to CentOS 6

2014-02-26 Thread Styma, Robert E (Robert)

> 
> First, CentOS does exactly what RHEL does, so this is not really a
> CentOS question.
> 
> The tradeoff is that Ubuntu doesn't go to the effort to ensure that
> for 7+ years you can do updates and not have anything that was
> previously working break because a change from the update.
> RHEL/CentOS may not be perfect at this, but breakage  is very, very
> rare because the updates are mostly backported security/bug fixes that
> don't change behavior.Ubuntu does more frequent updates of the
> included package versions (even with their LTS version) and if a
> package changes behavior that is left as your problem.   By the time
> RHEL does it's next major release, you have a many-year jump in the
> underlying package versions with enough changes that even if you could
> do an automated update it would probably be a bad idea (there may be
> things as drastic as new filesytem choices, etc.).   A fresh install
> of CentOS isn't difficult and you should have a plan to backup/restore
> your own data anyway, so once you get used to the timing it works out
> pretty well to match up major releases with  replacing hardware and/or
> general cleaning up of your own applications and data.
> 

First, thank you to Les and the others for the information.  You answered
my questions clearly and concisely.

My replacement of the machine at home went from Fedora Core 6 to CentOS 6.
Both 6's right :-).  The old box had the power supply smoke (literally) and
took out something on the main board so it would no longer see disks.  The
boot disk failed as well.

I kept Firefox and Thunderbird up to date manually with packages downloaded
from the Mozilla site.  Right at the end, I got to where they would not load
because of shared object incompatibilities.  

Why would someone wait that long to upgrade?  

The machine at home is very different
than the machines at work.  At work, new project, new machine, new OS install.
Get the latest version of RHEL and that is where that project stays.
At home there is a lot more customization.  I transferred my CD's to MP3 format
and now buy MP3's from Amazon.  As you know, I need a third party repo to get
MP3 decoders.  My machine now ties into my stereo and that is how I listen to
music.  Same sort of stuff goes for playing movies.  Lots of other 
customizations
as well.  Projects come and projects go.  I could not get xmms (with mp3) 
running on my
CentOS machine.  Eventually found "Audacious" which fills in nicely. And on and 
on.

The priorities yum plug-in does a real nice job of protecting my machine from 
being
mutilated by third party repositories.  Cudo's to those guys.

Bottom line, rebuilding a home machine is a lot more trouble than setting up a
new machine at work.

Thanks again for the insights into the upgrade process.

Bob S.

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


Re: [CentOS] Does anyone use tcp wrappers (hosts.allow/hosts.deny) anymore?

2014-04-22 Thread Styma, Robert E (Robert)

> >>  And, would you care strongly if it went away (or would you just
> >> migrate to something else)?
> >>
I would care strongly as I use it at home to limit inbound ssh to just the
IP addresses of my work machine.  Setting up IPtables is more complicated
which can be read as "easier to get it wrong".   

The question become, "Why get rid of it?"  It is small works well and works
the same across many flavors of UNIX.  I have not looked recently, but I
would guess that the source code does not change very often.

Just my 2cents.

Bob - Phoenix, AZ
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Why are hplip and hpijs always so back dated?

2014-04-30 Thread Styma, Robert E (Robert)
My fully patched CentOS 6.5 system uses:
hplip-common-3.12.4-4.el6_4.1.i686
hpijs-3.12.4-4.el6_4.1.i686
hplip-libs-3.12.4-4.el6_4.1.i686

My wife's printer becomes supported at 3.13.somethingOrOther
and the current release is 3.14.something.

Why are we so far behind?

I realize that I can download the latest, uninstall the RPM versions
and compile and build and install the source copy.  If I was going
to follow that route, I would prefer to build an rpm and install
it normally.  I have been looking on the Internet and not found
anything to turn the release from HP into a binary RPM.
(That does not mean it is not there.)

I know it must be doable since there are rpm's in the repositories.
My skill with RPM's is somewhat limited, but does anyone know
of a set of instructions and a spec file that could be used to 
get started on this process?

Thanks in Advance

Bob, Phoenix, AZ, 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Checking badblocks using KS

2007-07-18 Thread Styma, Robert E (Robert)
 > 
> Hi All,
>Is there a way to check the harddisk health before CentOS 
> installation.?
> 
> One way I used to do was by using --badblocks check in ks.cfg 
> file while
> using RH 7.2.
> 
> This is not working (atleast not with the same syntax as 
> in RH 7.2) in
> CentOS.
> Is there an alternate (correct) syntax or is there a new 
> (better) way
> to check harddisk health before CentOS installation?
> 
If you boot in rescue mode, you can run "fsck -c -c /dev/..."
on any partitions.  If the partitions look good, you should
be safe to install.

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


RE: [CentOS] A quick question about ./configure

2007-09-27 Thread Styma, Robert E (Robert)
 > 
> ./configure
> -bash: ./configure: No such file or directory
> 
One cause for this sort of misleading error can be
found in the first line of the configure script.  It
will normally be #!  where  is the path to 
some interpreter.  Often /bin/bash.  If the target
of that path is not found, you will get the above
message. 

Another possibility is if the execute bit is not
set on ./configure. 

Bob Styma
Phoenix, Az
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos