[CentOS] Where can I find centos-release-8.1-1.1911.0.9.el8.src.rpm

2020-05-29 Thread me

Hi,

I am looking for centos-release-8.1-1.1911.0.9.el8.src.rpm.
Does anyone know where to find it. The only thing I see in vault is
centos-release-8.1-1.1911.0.8.el8.src.rpm.

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Accounting package recommendations

2020-06-10 Thread me

On Wed, 10 Jun 2020, Gianluca Cecchi wrote:


On Tue, Jun 9, 2020 at 7:22 PM Rudi Ahlers  wrote:


Hi,

I am looking for an offline accounting package recommendation, please.
I enjoyed using Xero accounting, but need something that's offline,
and where the data remains my property. Having used Quickbooks on
Windows in the past, I am looking for something similar.

Any recommendations?

--
Kind Regards
Rudi Ahlers
Website: http://www.rudiahlers.co.za



In the past (more than 10 years ago...) I had to work with Sql Ledger and
in its forum/mailing list often Quickbooks was cited.
I enjoyed it because of being GPL, using perl and PostgreSQL as a
background database.
It seems a still developed piece of software. Here the home page:
https://www.sql-ledger.com/


There also was ledgersmb which is/was a fork of sql-ledger. Both got the job
done at the time but ledger smb had some enhancements that at the time Dieter
refused to add.

Keep in mind, I have not looked at either one in about 4 years and have
no idea what the current status is. My business needs changed so I moved on.

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] smb protocol version

2020-06-16 Thread me

On Mon, 15 Jun 2020, Christopher Wensink wrote:


I don't have any lines in my configuration file for any of the servers,
how can I tell what the default protocols are?

Are the defaults controlled by samba or the kernel?


samba controls this via smb.conf

See "man smb.conf" for details. The min protocols vary depending on the version
of samba you are running.

Regards,

--
Tom m...@tdiehl.org



Chris

On 6/15/2020 2:13 PM, Fred Smith wrote:

On Mon, Jun 15, 2020 at 11:23:54AM -0500, Christopher Wensink wrote:

I have a handful of Linux Servers, running Centos 6.10, and 6.8 with the
main host running openvz w/ Centos 6.10 as the main OS.? Two of the
guests are running samba, sharing directories out to windows clients.

I'm in the process of migrating servers over to vmware, using Centos
7.8.? How can I determine what smb protocol version is being used in the
shares for each server?? I don't see the protocol specified anywhere in
smb.conf?

Chris

in my Centos-7 box, /etc/samba/smb.conf contains:

server min protocol = SMB3_11
client max protocol = SMB3_11
client min protocol = SMB3_11


Some non-current windows versions don't support that version, you
may need to try different values til you find one that works.
Whatever you do, you don't want to use version 1.

I'm forcing version 3.1.1 only because all the devices I have
that support SMB also support 3.1.1, so if someone comes along with,
e.g., an old laptop with XP, it won't be able to insecurely talk
to my lan/wan. (and that's a feature, not a bug! ;=) )

Also, you may wish to peruse this page:

https://docs.microsoft.com/en-us/windows-server/storage/file-server/troubleshoot/detect-enable-and-disable-smbv1-v2-v3





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


[CentOS] Mock config error

2020-08-23 Thread me

Hi,

I am trying to create a mock configuration file that points to my local dnf 
repo.
I have the following in the mock config template:

[local-repo]
name=my-Local
baseurl=http://yumrepo.example.com/yum-repository/local/centos/8/x86_64/ 
failovermethod=priority

skip_if_unavailable=False

When I try to run mock I get the following error:

(vgeppetto3 pts18) $ mock -v -r epel-8-x86_64 
/home/mock/rpmbuild/SRPMS/centos-release-8.2-2.2004.0.1.el8.1.src.rpm

  File "", line 238

baseurl=http://yumrepo.example.com/yum-repository/local/centos/8/x86_64/

^
SyntaxError: invalid syntax

ERROR: Error in configuration
(vgeppetto3 pts18) $

I copied the url out of a yum repo file I am using that works with dnf on a 
centos 8 machine.

Can someone tell me what I am doing wrong?

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mock config error

2020-08-24 Thread me

Hi Jonathan,

On Sun, 23 Aug 2020, Jonathan Billings wrote:


On Aug 23, 2020, at 12:07, m...@tdiehl.org wrote:


Hi,

I am trying to create a mock configuration file that points to my local dnf 
repo.
I have the following in the mock config template:

[local-repo]
name=my-Local
baseurl=http://yumrepo.example.com/yum-repository/local/centos/8/x86_64/ 
failovermethod=priority
skip_if_unavailable=False

When I try to run mock I get the following error:

(vgeppetto3 pts18) $ mock -v -r epel-8-x86_64 
/home/mock/rpmbuild/SRPMS/centos-release-8.2-2.2004.0.1.el8.1.src.rpm

 File "", line 238

   baseurl=http://yumrepo.example.com/yum-repository/local/centos/8/x86_64/

   ^
SyntaxError: invalid syntax

ERROR: Error in configuration
(vgeppetto3 pts18) $

I copied the url out of a yum repo file I am using that works with dnf on a 
centos 8 machine.

Can someone tell me what I am doing wrong?


I assume you added the yum repo after a line that looks like this:


That was what I was missing. Fixing that and changing the order of the template
lines in epel-8-x86_64.cfg resolved the issue. Thanks for that!!



config_opts['dnf.conf'] += """


And before a line that looks like this:


Also, I am trying to add a dist tag to rpms that I build in mock.
In the epel-7 configs I do something like the following:
config_opts['macros']['%dist'] = '.el7.tnt' to get a dist tag on the
rpms. In epel/centos 8 this does not work.

If I run "mock --debug-config epel-8-x86_64"
I see '%dist': '.el8.tnt'} in the output but the rpm name 
does not have the el8.tnt tag in the name.


Below is what I actually get:
(vgeppetto3 pts19) $ ll /var/lib/mock/epel-8-x86_64/result/centos-release-8.2-2.2004.0.1.el8.1.x86_64.rpm 
-rw-r--r--. 1 mock mock 20404 Aug 24 13:32 /var/lib/mock/epel-8-x86_64/result/centos-release-8.2-2.2004.0.1.el8.1.x86_64.rpm

(vgeppetto3 pts19)

I have the following in the spec file:
Release:%{centos_rel}.0.1%{?dist}.1

Does anyone know how to apply a dist tag in the epel-8 mock configs?

Is mock documented anywhere besides the src code? I cannot find any
documentation that explains what actually needs to be in a mock
configuration file or in this case how to specify my own dist tag.

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mock config error

2020-08-25 Thread me

On Tue, 25 Aug 2020, Peter wrote:


On 25/08/20 11:27 am, Jonathan Billings wrote:

 On Aug 24, 2020, at 16:48, m...@tdiehl.org wrote:


 Also, I am trying to add a dist tag to rpms that I build in mock.
 In the epel-7 configs I do something like the following:
 config_opts['macros']['%dist'] = '.el7.tnt' to get a dist tag on the
 rpms. In epel/centos 8 this does not work.

 Does anyone know how to apply a dist tag in the epel-8 mock configs?


config_opts['macros']['%dist'] = '.gf.el8'

...works for me without any further changes:
http://mirror.ghettoforge.org/distributions/gf/el/8/gf/x86_64/


 Is mock documented anywhere besides the src code? I cannot find any
 documentation that explains what actually needs to be in a mock
 configuration file or in this case how to specify my own dist tag.


/etc/mock/site-defaults.cfg documents all of the possible config settings, 
then there is:


https://github.com/rpm-software-management/mock/wiki


 It seems that the OpenSUSE mock configs[1] use the same syntax.  I wonder
 if you need to invoke mock in a specific way to not override the macro?


Not that I have been able to tell.  Setting the dist macro has always just 
worked for me.


In looking at the centos-release.spec I found the following:
%define dist .el%{dist_release_version}
Apparently this overrides the dist tag set in mock. At least that explains why
the dist tag macro was working for me in el7 but not el8. Commenting out that
line in the spec file fixed the problem.

Thanks for the help.

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] "Not using downloaded epel/repomd.xml"

2020-09-13 Thread me

On Sun, 13 Sep 2020, Nicolas Kovacs wrote:


Hi,

I'm regularly getting spammed by my own servers, with the following message:

/etc/cron.hourly/0yum-hourly.cron:

Not using downloaded epel/repomd.xml because it is older than what we have:
 Current   : Sat Sep 12 19:05:04 2020
 Downloaded: Thu Sep 10 19:12:19 2020

How can I make this nonsense stop?


I too see this regularly. yum clean metadata stops it for a while. I am not
sure if it is a problem with the way epel metadata is generated or just out
of date mirrors. I occasionally see it with other repos but it happens with
epel far more frequently. I have considered adding cron jobs to clean the
metadata every so often but so far I just put up with it.

You might want to ask on the epel list.

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS Stream from bottom works, what is this?

2020-12-10 Thread me

On Wed, 9 Dec 2020, Johnny Hughes wrote:


On 12/9/20 8:54 AM, Bernstein, Noam CIV USN NRL (6393) Washington DC
(USA) via CentOS wrote:

On Dec 9, 2020, at 9:45 AM, Johnny Hughes 
mailto:joh...@centos.org>> wrote:

CentOS Stream is built from the currently released RHEL Source Code + 0.1

So if RHEL 8.3 is released .. Stream is the Source Code (built) that
will become 8.4 in a few months.

If this statement is exactly correct, then I think a lot of the issues in this 
thread may be easy to address.  However, the question is whether it is really
"That will become"
or actually
"That might become, if it turns out to be stable enough,"

I.e., to me the critical question is how often (in practice) will updates that 
have problems, and will not actually make it into RHEL, end up in CentOS 
Stream.  Presumably all such updates will be superseded in Stream by corrected 
ones, before they're in RHEL.

In fact, would it be possible, to list the final versions of each package's 
update at the moment of the RHEL release, and only do the CentOS Stream update 
based on that list?



There is one source for the source code that will be used.  While in
stream it will iterative (the push a bunch of changes today .. the build
those change today).  Those go through a CI process and get released
into stream.

When it comes time to build rhel 8.4 it will come from the same source code.


So if I understand this correctly, centos8 + will basically be a rolling release
and we will never know what we are really running. Is this correct?

To put it another way all of the stability we are used to will be gone and in
order to stay up to date with stream I could potentially need to reboot machines
daily depending on what packages $REDHAT developer decides to work on that day.

Am I missing something?

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Transition test report going from CentOS8 to Debian 10.

2021-02-05 Thread me

Hi,


On Thu, 4 Feb 2021, Warren Young wrote:


On Feb 4, 2021, at 8:39 AM, Lamar Owen  wrote:


I posted a pretty complete rundown on the scientific linux users mailing
list, so I won't recap it all here.


Link?


the transition was not any more difficult, really, than moving from CentOS 7
to CentOS 8.


That's not my experience.

I keep several of my packages running on CentOS and Debian (and more) and I
keep running into several common problems:

1. The package names are often different, and not always differing by an
obvious translation rule.  For instance, it's openldap-devel on
CentOS but libldap2-dev on Debian, where the normal rule would make
it libopenldap-dev. Why the difference? Dunno, but I have to track
such things down when setting up scripts that do cross-distro builds. If I
automate that translation, now I'm setting myself up for a future breakage
when the package names change again.  (libldap3-dev?)


Yep!! It is a pita when trying to get things running for the first time.
I started this journey on a couple samba DC's before the Red Hat announcement.
Libraries are almost always different names but even common packages like dhcp
and bind have different names, configuration files and commands to do the same
thing. Most of it is not that hard to figure out but it does take time to 
do it and it is a lot more work than going from CentOS 7 to CentOS 8.



2. Some packages simply won't??t be available.  Most often this happens in
the Debian -> CentOS direction, but I've run into cases going the other
way.  Just for one, I currently have to install NPM from source on Debian
because the platform version won't work properly with the platform version
of Node, last time I tested it.  Why?  Same answer as above.

3. Debian adopted systemd, but it didn't adopt the rest of the Red Hat
userland tooling.  For instance, it's firewalld on CentOS, UFW on Ubuntu,
and raw kernel firewall manipulation on Debian unless you install one of those
two.  And then, which?


Their systemd implementation is my biggest problem with Debian based systems.
Debian moved to systemd but only partially. Apparently Debian decided to only
kind of move to systemd. Tab completion on systemd commands does not work.
If you look in /etc/init.d there are a bunch of sysv init scripts. Converting to
systemd is a big enough pita without having a system that is half sysv and half
systemd. It would be nice if they would make up their minds. Either bite the
bullet and convert everything to systemd or stay with sysv :-(

Before somebody brings it up, yes, I know there is Devuan. I do not wish to go
even further back in time.



4. Network configuration is almost entirely different unless you turn off all
the automation on all platforms, in which case you might as well switch to
macOS or FreeBSD for all the good your muscle memory and training will do you.


+1 It is a whole different process. It takes me back about 15 years.



I'm not saying don't do it, but to say it's as smooth as
from CentOS 7 to 8?  Hard sell.


Agreed!!

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Recommendations for webmail client on EL8

2021-03-01 Thread me

On Mon, 1 Mar 2021, Gordon Messmer wrote:


On 3/1/21 5:57 AM, Simon Matter wrote:

 Is there anybody running webmail on EL8? Can you make a recommendation on
 a certain tool?



I've had good success with SOGo, and I publish scripts for building the free 
release as rpm packages:


https://github.com/gordonmessmer/build-sogo

If you decide to pay for a license, the vendor publishes their own rpm (yum) 
repository.


Or you could try https://packages.inverse.ca/SOGo/nightly/5/rhel/8/x86_64/
That is a link to their yum repo.

I have not used SOGo on C-8 but I find them to be quite stable on C-7 and there
is nothing that says you have to update every day.

In addition, SOGo provides active sync which works really well on smart phones.
It makes the phone think it is connected to an exchange server which makes for
simple configuration and it "just works".

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] R730xd & SD card identfication

2021-03-08 Thread me

On Mon, 8 Mar 2021, Gregory P. Ennis wrote:



On Sun, 7 Mar 2021 at 18:39, Pete Biggs  wrote:


On Sun, 2021-03-07 at 11:17 -0600, Gregory P. Ennis wrote:

Everyone,

We have migrated a platform to a Centos 8 host using kvm guest
machines

Recently I tried to copy one of the guests to the external SD card
on
the back of the Dell R730xd, but I have not been able to get the
Centos
8 host to recognize the SD card.

I can use DRAC interface of the R730xd to see that the SD card is
being
recognized and the status of the external SD slot is turned from
inactive to active when the card is inserted.



I have a nagging feeling at the back of my mind that that slot is
associated with the iDrac system and not the main board.

In any case doesn't that need a vFlash card not a standard SD/SDHC
card? From Wikipedia:




I think the SD card on the back of the IDRAC7 systems on the Dell 730xd
are
similar to this. They are accessible by the IDrac and dell software and
are
primarily there for emergency install of the hardware from known good
media. I believe that vmware has a module which talks to the card so
you
can install software in vm's from said known good media.

---

Simeon,

You have anticipated what I am trying to do.  I have been using Centos
8 as a host on a 730xd machine, for some Centos 7 guests. With the end
of life of Centos 8 only 9 months away I decided to try to migrate
everything to vmware.  I purchased a sister 730xd to use as a lab
computer, and am working on the skill sets necessary  to migrate
everything to vmware. I have really grown to like kvm and am still
disappointed RedHat/IBM is backing away from Centos.

I certainly have not been able to get Centos 8 to recognize the SD
card, and have also not been able to get vmware on the sister machine
to recognize either the SD card in the back slot or even when I have it
plugged into a usb converter.  The vmware problem is more likely
related to my lack of experience with vmware; this is my first time to
use it.


As was said above, the sd card on the back of the machine is ONLY for use
by the iDRAC. If you have iDRAC enterprise, it is not necessary to use it
to install vmware esxi or for that matter any OS. All you need to do is mount
the iso as a virtual disk using the iDRAC console. I do this all the time to
both upgrade/install esxi and install centos/Windows/whatever vm's.

Just do not try to mount the iso on a machine on a low bandwidth connection.
It will take forever. :-(

If you want to install vmware esxi on an sd card you need a isdm module.
Something like:
https://www.ebay.com/itm/PMR79-Dell-PowerEdge-R630-R730-R730xd-Dual-SD-Flash-Card-Reader-Module/233572427053?epid=1739290890&hash=item366200652d:g:YNQAAOSwBYhc3HPQ
Keep in mind that Dell recommends that you do not install esxi newer than
6.7 on an sd card. They stopped offering the isdm modules on 14th gen servers
with esxi 7.0 installed. They claim they see too many failures of the sd cards
with 7.0.

HTH,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] FYI, Chrome no longer supported on Centos7.

2021-10-22 Thread me

Hi,

FYI, it looks like Google has decided to drop support for Chrome on Centos 7.

(tigger pts9) # yum install google-chrome-stable
Loaded plugins: changelog, fastestmirror, langpacks, nvidia, priorities
Loading mirror speeds from cached hostfile
 * elrepo: mirror.pit.teraswitch.com
10 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package google-chrome-stable.x86_64 0:95.0.4638.54-1 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.18)(64bit) for package: 
google-chrome-stable-95.0.4638.54-1.x86_64
--> Finished Dependency Resolution
Error: Package: google-chrome-stable-95.0.4638.54-1.x86_64 (google-chrome)
   Requires: libc.so.6(GLIBC_2.18)(64bit)
 You could try using --skip-broken to work around the problem
(tigger pts9) #

Anyone know where to get previous rpm versions of chrome?

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] FYI, Chrome no longer supported on Centos7.

2021-10-22 Thread me

On Fri, 22 Oct 2021, Zube wrote:


On Fri Oct 22 01:25:33 PM, m...@tdiehl.org wrote:


Hi,

FYI, it looks like Google has decided to drop support for Chrome on Centos 7.

(tigger pts9) # yum install google-chrome-stable
Loaded plugins: changelog, fastestmirror, langpacks, nvidia, priorities
Loading mirror speeds from cached hostfile
 * elrepo: mirror.pit.teraswitch.com
10 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package google-chrome-stable.x86_64 0:95.0.4638.54-1 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.18)(64bit) for package: 
google-chrome-stable-95.0.4638.54-1.x86_64
--> Finished Dependency Resolution
Error: Package: google-chrome-stable-95.0.4638.54-1.x86_64 (google-chrome)
   Requires: libc.so.6(GLIBC_2.18)(64bit)
 You could try using --skip-broken to work around the problem
(tigger pts9) #


Looks like they are working on it:

https://bugs.chromium.org/p/chromium/issues/detail?id=1261617


Thanks for the info. I missed that when I was googling for a solution.
Hopefully it will not take to long to fix.

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] FYI, Chrome no longer supported on Centos7.

2021-10-22 Thread me

On Fri, 22 Oct 2021, Jonathan Billings wrote:


On Fri, Oct 22, 2021 at 04:29:56PM -0400, m...@tdiehl.org wrote:

On Fri, 22 Oct 2021, Zube wrote:


On Fri Oct 22 01:25:33 PM, m...@tdiehl.org wrote:
https://bugs.chromium.org/p/chromium/issues/detail?id=1261617


Thanks for the info. I missed that when I was googling for a solution.
Hopefully it will not take to long to fix.


Don't hold your breath.  If it doesn't make money for Google, they're
not likely to make any effort.  And Google is the king of killing
products.


Agreed, but at least they re-opened the bug and claim to be looking into it.

I am still hopeful but also looking in upgrading to something newer. :-)

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos Firewall - router with virtual IP

2011-11-03 Thread me

On Thu, 3 Nov 2011, Lorenzo Martínez Rodríguez wrote:


El 03/11/11 11:16, News escribió:

Hi all,
I haven't found anything in Google about this.

I'm creating a firewall router with Centos with few virtual IP using iptables.

May I ask for your experience?
Is there any pitfall or bad side of using virtual IP for this purpose?
I'm using few virtual IP to accommodate few subnets that go through
this firewall/router.


I would not know why there would be a problem. My external interface on my 
iptables
firewall has 30 ip addresses on it. Been running it that way for 8 or 10 years.


I use Firewall Builder http://www.fwbuilder.org to manage the ruleset
and I am very happy with it.



+1 for fwbuilder. I have been using it since it was version 1.x. It is now 5.x 
and you would be hard pressed to pry it out of my cold dead hands. :-)


Besides the fact that the program does a very good job of managing iptables 
firewalls, the devs are very responsive to bug fixes and feature enhancements.


Regards,

--
Tom m...@tdiehl.org Spamtrap address    
me...@tdiehl.org___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos Firewall - router with virtual IP

2011-11-05 Thread me

On Fri, 4 Nov 2011, Fajar Priyanto wrote:


On Fri, Nov 4, 2011 at 10:15 AM, KevinO  wrote:

anyways, whatever, yes, you can do it with iptables, but not all off the
shelf firewall script generators will support multiple LAN subnets.   I
usually write my own iptables rulesets.


I can say first hand that fwbuilder easily handles managing scripts for multiple
subnets and aliased addressing on NIC's. I use separate interface cards for each
subnet, however. (5 NIC's, 4 internal subnets, 3 public IP's on the one external
facing NIC)


Hi Kevin,
Expanding my original question.
I have a need to open and close iptables rules based on particular
time, say 1 week later, 1 month later, etc.
Currently I have a simple script to do that:
- Create the rules.
- Create atd job to delete the rule based on the defined time.
- Log it.
It works, but not elegant :)

Does fwbuilder have that function?


Fwbuilder does indeed have time objects in it, although I have never used them.

The docs at http://fwbuilder.org are pretty extensive and the devs hang out on
the mailing lists and regularly answer questions or provide pointers to the
relevant docs.

Hope this helps.

--
Tom m...@tdiehl.org Spamtrap address    
me...@tdiehl.org___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 smb authentication?

2011-11-17 Thread me
On Thu, 17 Nov 2011, Ron Young wrote:

> I just installed win 7 pro @home in order to be more compatible with
> my new @work environment.  I am likewise having a problem with samba
> shares.  The samba shares are on a C5.7 server and were readily
> available from the same machine running XP for the last couple of
> years.
>
> The new w7pro install is on the same network as the previous XP
> install on that machine and in fact has the same IP address as the
> former XP os.
>
> Now with the fresh install of w7pro I cannot see any of the samba
> shares from the w7pro machine.  All of the googled solutions I have
> found so far have not worked.  I have added a couple of entries to the
> smb.conf that were suggested and restarted smb but no joy.
>
> Anyone have pointers that may get me going again?

Have you seen this: http://wiki.samba.org/index.php/Windows7

In particular the registry on w7 needs modification in order to join.

I have numerous w7 machines in a couple of smb domains working as advertised.

Hope this helps.

-- 
Tom m...@tdiehl.org     Spamtrap address
me...@tdiehl.org

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


Re: [CentOS] Monitoring services

2011-11-29 Thread me
On Tue, 29 Nov 2011, Rajagopal Swaminathan wrote:

> Greetings,
>
> On Tue, Nov 29, 2011 at 12:05 AM, Paul Heinlein  wrote:
>> On Sun, 27 Nov 2011, Kenneth Porter wrote:
>>
>>> What's available to remotely monitor services?
>
> I have deployed Zabbix successfully to remotely monitor about 240+
> geographically distributed locations connected by ADSSL links (IOW, no
> fixed IP) for the second largest public transport corporations (next
> only to Germany) in India successfully.
>
> Perhaps, you may consider that.

Another possibility is http://sourceforge.net/projects/xymon/

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] sshd: listen on ip1:port1 and ip2:port2

2012-01-24 Thread me
On Tue, 24 Jan 2012, Peter Eckel wrote:

> On 24.01.2012, at 13:23, Alexander Farber wrote:
>
>> I'd like SSHd to keep listening at the_old_ip:22 but also at the_new_ip:443.
>
> # man sshd_config:
>
> ListenAddress
> Specifies the local addresses sshd should listen on.  The 
> following forms may be used:
>
>   ListenAddress host|IPv4_addr|IPv6_addr
>   ListenAddress host|IPv4_addr:port
>   ListenAddress [host|IPv6_addr]:port
>
> If port is not specified, sshd will listen on the address and all 
> prior Port options specified.  The
> default is to listen on all local addresses.  Multiple 
> ListenAddress options are permitted.  Addition-
> ally, any Port options must precede this option for non port 
> qualified addresses.
>
> # grep ListenAddress /etc/sshd/sshd_config:
>
> ListenAddress 127.0.0.1:443
> ListenAddress 192.168.42.182:22
>
> # netstat -antup | grep sshd
>
> tcp0  0 192.168.42.182:22   0.0.0.0:*   LISTEN  31585/sshd
> tcp0  0 127.0.0.1:443   0.0.0.0:*   LISTEN  31585/sshd

Don't forget to tell selinux about the new port sshd is supposed to be 
listening on.
Something like "semanage port -a -t ssh_port_t -p tcp 443" should do it.

To verify what you have set something like "semanage port -l | grep ssh_port_t"
should tell you.

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Create Virtual Machine via HTTP or FTP

2012-02-08 Thread me
On Wed, 8 Feb 2012, cbul...@gmail.com wrote:

> Hi,
>
> I'm trying to create a Virtual Machine using Network Install mode (I
> tried HTTP and FTP).
> The HTTP/FTP server where the installation files are located is the Host
> Machine.
> The URL that I'm using is: http://192.168.1.104/inst and the Automatic
> detect option detects the OS without problem.
> When the installation starts I got an error:
>Unable to retrieve http://192.168.1.104/inst/images/install.img

If you point a browser @ http://192.168.1.104/inst/images/install.img does that
work?

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Pam problems

2012-02-23 Thread me
On Thu, 23 Feb 2012, Les Mikesell wrote:

> On Thu, Feb 23, 2012 at 9:54 AM, Steve Campbell  wrote:
>>
>> Seems I've found that dovecot is handling the auth for smtp, and it
>> doesn't like sendmail very much since their documentation avoids
>> sendmail like the plague.

The Dovecot developer is a smart dude. :-)

> None of that makes any sense.  Dovecot should have nothing to do with
> smtp, so of course it doesn't have anything about sendmail in its
> documentation other than adding its local delivery agent which should
> be their only interaction and you probably don't even need to use
> that.

Actually it might. Dovecot can do the sasl auth part. I have not touched
sendmail in at least 10 years, so I do not know anything about the current
default sendmail config but I know dovecot sasl auth is easier to config
for postfix (5 lines in the postfix main.cf IIRC).

I suppose it is possible that RH switched sendmail to user dovecot sasl
in their default config.

HTH,

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] pam and radius config problem

2012-03-02 Thread me
Hi,

I am trying to configure ssh/pam to use freeradius as one of the authentication
sources on a C6 box.

I have freeradius running on a separate box with 2 factor authentication.
Using the radtest utility, I can successfully authenticate. My problem is that
I do not understand how to configure pam to use radius as an auth source and
be sure I am not opening a security hole in my systems.

While googling, I have found several howto's that talk about how to do this
using the pam_radius utility but the examples do not match what is found in
/etc/pam.d/sshd.

What I would like to accomplish is the following:

1. Allow logins using ssh keys.

2. If that fails, Allow login via radius.

3. if not on the local network disallow login via a regular user name and 
passwd.

I think 3 might be able to be accomplished via a match statement in sshd.conf 
but
I am not sure.

Does anyone know how to do this in a secure way?

If I start modifying the pam.d configuration files, how can I be sure I am not
opening up a security hole?

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
        me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] cr repository when running your own mirror

2011-08-17 Thread me
On Wed, 17 Aug 2011, Karanbir Singh wrote:

> On 08/17/2011 09:31 AM, Kai Schaetzl wrote:
>>> You wont need to remove anything. As
>>> long as you do not edit that file it will be managed by
>>> centos-release-5-7 and centos-release-cr-5-7 etc.
>>
>> Well, surely those people using their own mirrors will have to do
>> something ...
>
> Sure, but then if someone is going to hardwire urls to point at specific
> content, its reasonable to expect them to manage that content locally.
>
> the /cr/ repo isnt going to go away, the content from inside it will, so
> depending on how you rehash the baseurl, leave the $releasever tag in,
> and things should be fine. As long as you mirror the entire repo
> structure from centos.org

So to be clear, all you are going to do is empty the cr repo and have an empty
set of repodata in its place so that yum does not throw errors. Is this
correct?

If this is true, is it your plan to NOT update the centos-release-cr-5* rpm
with each point release?

Regards,

-- 
Tom     m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rsync CR upgrade

2011-08-23 Thread me
On Tue, 23 Aug 2011, Ned Slider wrote:

> On 23/08/11 12:35, Michael Simpson wrote:
>> Hello
>>
>> Is anyone else having problems on 5.6 using the new rsync from the CR repo
>> I have only managed to get rsync (called from the cli) working again
>> after downgrading it to the previous 2.x release as the newer version
>> was just spitting out the ssh usage information and failing.
>> This server is stock i386 with just the CR as an extra repo.
>>
>> regards
>>
>> mike
>
> Known issue I'm guessing:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=724041
>
> which was fixed nearly a month ago.

So instead of saying nearly a month ago how about we we say it was only
released 20 days ago. BZ says it was released 03 Aug 11.

>
> If this is your issue, try appending username@host like so:
>
> rsync user@host:/
>
> as a workaround, but I'm not sure why CentOS is still shipping an old
> broken version?

Umm, maybe because upstream shipped rsync-3.0.6-4.el5.i386.rpm with 5.7 and 
the rsync-3.0.6-4.el5_7.1.i386.rpm has not made it to CentOS yet.

Remember that bug for bug compatibility thing. :-)

Patience is a virtue.

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] TIP for broken ARIN whois

2011-09-10 Thread me
On Sat, 10 Sep 2011, Always Learning wrote:

> This works for me on Centos 5.6. It may assist newcomers to the Linux
> world of Centos.
>
>   whois 51.51.51.51
>
> produces a normal and conventional display of data.
>
> However since ARIN, the North American registrar of IP addresses,
> "modernised" its WHOIS processing, a query to
>
>   whois 64.64.64.64
>
> will produce a one line summary of possible matches, which always
> includes ARIN, but omits the details we used to receive before ARIN
> implemented its much criticized "improved" service.
>
> A one line script solves it for me (but only for ARIN network entries).
>
>   #!/bin/bash
>   whois -h whois.arin.net n + $1

Where is this syntax documented? I see the -h option in the man page but
the n + part is not there and I would like to understand where that comes from.

Regards,

-- 
Tom     m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] TIP for broken ARIN whois

2011-09-11 Thread me
On Sat, 10 Sep 2011, Always Learning wrote:

>
> On Sat, 2011-09-10 at 11:23 -0400, m...@tdiehl.org wrote:
>
>> Where is this syntax documented? I see the -h option in the man page
>> but the n + part is not there and I would like to understand where
>> that comes from.
>
>   whois -h whois.arin.net ?
>
> The ' n + ' are parameters (arguments) introduced by ARIN. They are not
> part of the standard WHOIS.

Thanks. That is what I was looking for.

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] centos-release 5.7 srpm where?

2011-09-15 Thread me
Hi,

Is the centos-release srpm for 5.7 available anywhere. I have looked at several
mirrors but no srpms are to be found.

I realize everyone is busy but it would be nice to have at least the srpms
that were specific to the centos project with the release.

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos-release 5.7 srpm where?

2011-09-18 Thread me
On Sat, 17 Sep 2011, Karanbir Singh wrote:

> On 09/15/2011 01:17 PM, m...@tdiehl.org wrote:
>> I realize everyone is busy but it would be nice to have at least the srpms
>> that were specific to the centos project with the release.
>
> Are you able to find what you are looking for in Vault/5.7 ?

Yes, Thank You.

>
> ( more details on what the thinking behind this is, coming shortly )

Never thought to look there but I think I see what you are doing. :-)

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [CentOS-announce] Release for CentOS Linux 7 (1503 ) on x86_64

2015-04-01 Thread me

On Wed, 1 Apr 2015, Karanbir Singh wrote:


On 04/01/2015 11:45 AM, Александр Кириллов wrote:

This was discussed on the CentOS-Devel mailing list and approved by the
CentOS Board. It is what we are using in the future.  I suggest you
become familiar with it.


Obviously naming conventions should provide for an easy upstream vendor
version reference?


does /etc/centos-release-upstream provide you with that ?


/etc/centos-release-upstream is not useful when looking at an iso name.

With 7.0 the iso name was CentOS-7.0-1406-x86_64-DVD.iso. With 7.1 the
iso name is CentOS-7-x86_64-DVD-1503-01.iso. Since you dropped the minor
version in the iso name and assuming that you are not going to put it
back in the future, going forward I will need a chart to figure out what
upstream version an iso corresponds to.

How is that better?

Regards,

--
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Turning off wifi in CentOS 7

2015-05-19 Thread me

On Mon, 18 May 2015, James Hogarth wrote:


On 18 May 2015 at 20:10,   wrote:

Someone else got the 7 pxe install going, and one thing that's annoying is
that NetworkMangler appears to be regularly trying to fire up the wifi.

On a workstation, in a wired environment. I just want to tell NM to knock
it offIt's Monday, and my searching isn't going too well. Clues for
the poor?




nmcli radio wifi off


Or if you want a bigger hammer:

systemctl disable NetworkManager.service
systemctl enable network.service
systemctl stop NetworkManager.service
systemctl start network.service

The above will disable NetworkMangler and return control of the network to
the scripts in /etc/sysconfig/network-scripts just like previous versions.

Regards,

--
Tom m...@tdiehl.org Spamtrap address    
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Samba Enterprise from Sernet no longer free

2015-09-26 Thread me

On Mon, 21 Sep 2015, Robert Moskowitz wrote:


http://www.samba.plus/

Currently this, other than rolling your own, this appears the only way to 
have a Samba AD on Centos.


For the time being you can still get samba 4.2 packages and run Samba AD on
Centos @ https://portal.enterprisesamba.com.

The paid service is only for 4.3+ so you should be good for a while.

HTH,

Regards,

--
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Firefox 45.1.0 stability

2016-05-07 Thread me

On Fri, 6 May 2016, Valeri Galtsev wrote:



On Fri, May 6, 2016 1:54 pm, Jeff Layton wrote:

Good afternoon,

Apologies if this topic has come up before but I've found
that the Firefox 45.1.0 stability to be somewhat lacking.



I've found that about Firefox in general some 5 years ago. Or rather
"releases" that seem never have been debugged before the release. But I
still have not found decent replacements for it. I've tried, trust me ;-(



After years of FF changing things in not good ways (the current way the back
button behaves was the last straw), I was finally able to switch to chrome on
C-6 using the directions found @ http://chrome.richardlloyd.org.uk/ (thanks to
Richard Lloyd for figuring this out)

It works so well I have not looked back. Is Chrome perfect, not at all BUT it
is way more stable then FireFox has been for years now.

Just my $.02

Regards,

--
Tom m...@tdiehl.org Spamtrap address    
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] adb Samsubg note 2 and centos6

2012-12-06 Thread me
Hi,

Has anyone figured out how to mount a Samsung note 2 on Centos 6? When I plug
it in to the usb port it is detected and the get the following in the log:

Dec  6 08:02:23 tigger kernel: usb 1-5: new high speed USB device number 35 
using ehci_hcd
Dec  6 08:02:23 tigger kernel: usb 1-5: New USB device found, idVendor=04e8, 
idProduct=6860
Dec  6 08:02:23 tigger kernel: usb 1-5: New USB device strings: Mfr=2, 
Product=3, SerialNumber=4
Dec  6 08:02:23 tigger kernel: usb 1-5: Product: SAMSUNG_Android 
Dec  6 08:02:23 tigger kernel: usb 1-5: Manufacturer: SAMSUNG 
Dec  6 08:02:23 tigger kernel: usb 1-5: SerialNumber: 42f7ad039a3d8f3b 
Dec  6 08:02:23 tigger kernel: usb 1-5: configuration #1 chosen from 2 choices

lsusb shows:
Bus 001 Device 035: ID 04e8:6860 Samsung Electronics Co., Ltd GT-I9100 Phone 
[Galaxy S II], GT-P7500 [Galaxy Tab 10.1]

>From there I cannot figure out how to mount it.

>From goggling it would appear that I need adb and some udev rules.

Does anyone know how to get this to mount?

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
    me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] adb Samsubg note 2 and centos6

2012-12-06 Thread me
On Thu, 6 Dec 2012, Craig White wrote:

>
> On Dec 6, 2012, at 6:08 AM, m...@tdiehl.org wrote:
>
>> Hi,
>>
>> Has anyone figured out how to mount a Samsung note 2 on Centos 6? When I plug
>> it in to the usb port it is detected and the get the following in the log:
>>
>> Dec  6 08:02:23 tigger kernel: usb 1-5: new high speed USB device number 35 
>> using ehci_hcd
>> Dec  6 08:02:23 tigger kernel: usb 1-5: New USB device found, idVendor=04e8, 
>> idProduct=6860
>> Dec  6 08:02:23 tigger kernel: usb 1-5: New USB device strings: Mfr=2, 
>> Product=3, SerialNumber=4
>> Dec  6 08:02:23 tigger kernel: usb 1-5: Product: SAMSUNG_Android
>> Dec  6 08:02:23 tigger kernel: usb 1-5: Manufacturer: SAMSUNG
>> Dec  6 08:02:23 tigger kernel: usb 1-5: SerialNumber: 42f7ad039a3d8f3b
>> Dec  6 08:02:23 tigger kernel: usb 1-5: configuration #1 chosen from 2 
>> choices
>>
>> lsusb shows:
>> Bus 001 Device 035: ID 04e8:6860 Samsung Electronics Co., Ltd GT-I9100 Phone 
>> [Galaxy S II], GT-P7500 [Galaxy Tab 10.1]
>>
>>> From there I cannot figure out how to mount it.
>>
>>> From goggling it would appear that I need adb and some udev rules.
>>
>> Does anyone know how to get this to mount?
>
> 
> I don't but the bigger problem is that if you try to attach to the built-in
> storage, that would require MTP, support for which on Linux is meager to
> non-existent but the Galaxy Note 2 does have an SD slot and any SD cards
> should be obvious via USB Storage.

I have a friend with a Galaxy Note that somehow got his to mount both his 
SD card and the built-in storage using adb. The problem is he cannot remember
what he did. That fone also uses MTP. I was hoping that I can find the magic
incantation to be able to do the same thing with my Note 2.

> The easier/best solution would likely be to use an Android program called
> WiFi Explorer (I paid the guy $2 I think for the pro version) and it's
> really, really nice and easy. Also, I found SSHDroid to be relatively easy
> to use (requires using 'scp' or rsync via ssh to copy files to/from.

Thanks for the suggestions. I had not thought of going that way. The more I
think about this, the better I like it. I have some automated scripts I use
to back up some of my data via rsync. The SSHDroid seems like it would work
for that and maybe allow me to run my scripts via a cron job and not have to
worry about being connected to a wire. WiFi Explorer looks good also.
Hard to go wrong for $.99. :-)

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Postfinger

2012-12-23 Thread me
On Sun, 23 Dec 2012, Robert Moskowitz wrote:

> This is a utility for Postfix; a bit old, but in a couple of threads
> over on the postfix list on researching issues with my postfix questions
> it was suggested that I give postfinger a try.
>
> Does anyone have an rpm for it for Centos 6.3?

It is a simple but useful shell script. IIRC it was written by Simon Mudd.
He used to maintain various postfix rpms and included it with his rpms.

I do not think he is maintaining them any longer but according to Google,
postfinger is available at http://ftp.wl0.org/SOURCES/postfinger.

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address    
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Experience with postfixadmin with mysql?

2012-12-26 Thread me
On Wed, 26 Dec 2012, Robert Moskowitz wrote:

> My first time with this.  I got postfix, mysql, and postfixadmin setup,
> generally following
>
> http://www.campworld.net/thewiki/pmwiki.php/LinuxServersCentOS/Cent6VirtMailServer
>
> I used postfixadmin to create my domain then added my first user and got
> an error:
>
> Send Welcome mail: yes
>
> Unable to send email!
> The mailbox has been added to the mailbox table, but none (or only some)
> of the predefined sub-folders could be created (fa...@test.htt-consult.com)
>
>
> There is nothing under /home/vmail (in postfix/main.cf:
> virtual_mailbox_base = /home/vmail)
>
> Advise on where to start troubleshooting?

The logs, clues if not the actual solution will most likely be found there.

> Perhaps a password or permissions not right?

Maybe maybe not. There is no way to tell from the information you provide.
You have to help yourself before anyone here can help you.

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Experience with postfixadmin with mysql?

2012-12-26 Thread me
On Wed, 26 Dec 2012, Robert Moskowitz wrote:

>
> On 12/26/2012 10:41 AM, m...@tdiehl.org wrote:
>> On Wed, 26 Dec 2012, Robert Moskowitz wrote:
>> 
>>> My first time with this.  I got postfix, mysql, and postfixadmin setup,
>>> generally following
>>> 
>>> http://www.campworld.net/thewiki/pmwiki.php/LinuxServersCentOS/Cent6VirtMailServer
>>> 
>>> I used postfixadmin to create my domain then added my first user and got
>>> an error:
>>> 
>>> Send Welcome mail: yes
>>> 
>>> Unable to send email!
>>> The mailbox has been added to the mailbox table, but none (or only some)
>>> of the predefined sub-folders could be created 
>>> (fa...@test.htt-consult.com)
>>> 
>>> 
>>> There is nothing under /home/vmail (in postfix/main.cf:
>>> virtual_mailbox_base = /home/vmail)
>>> 
>>> Advise on where to start troubleshooting?
>> The logs, clues if not the actual solution will most likely be found there.
>
> nothing in /var/log/messages.  Nothing in that directory updated at the time 
> of the attempted add.  Where else do I look for logs used by postfixadmin and 
> the other related apps?
>
>> 
>>> Perhaps a password or permissions not right?
>> Maybe maybe not. There is no way to tell from the information you provide.
>> You have to help yourself before anyone here can help you.
>
> I did not find anything informative.  No logs that I saw being updated.  Thus 
> the ask for help where to troubleshoot.
>
> I suspect that some common log that is not where I would think to look for 
> was what I need to see.

Nope, no common log!! Just mysql, postfix, http. dovecot and amavis-new logs.
Turn up logging. Most likely the answer is there. (hint none of what I
suggested logs to /var/log/messages). Keep in mind all pfa is, is a web app.
When configured correctly, it knows how to talk to all of the associated
components but logging is still to the native logs of each of the respective
components.

When I am setting up a new instance of pfa I generally turn mysql, dovecot
and amavisd-new logging up so that I can see any errors. Running something like
tail -F /var/log{messages,maillog,mysqld.log,httpd/*,maillog} should get you
enough information for you to be able to see what is going on.

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.3 as Firewall/Router

2013-01-05 Thread me
On Fri, 4 Jan 2013, Steve Campbell wrote:

>
> On 1/4/2013 12:21 PM, Tim Evans wrote:
>> On 01/04/2013 12:01 PM, Tim Evans wrote:
>>> I'm replacing an ancient Solaris 'ipf' firewall/router with a brand new
>>> CentOS 6.3 system.  In the olden days, I successfully used the attached
>>> iptables script (as /etc/rc.local) on Red Hat 5.x systems, but this
>>> doesn't seem to be quite working on the new system.
>>>
>>> Specifically, while it seems to be routing ok, you cannot connect to
>>> anything on the inside net (e.g., with ssh or a browser) and cannot
>>> connect to the system with ssh or anything else from elsewhere on the
>>> inside net. Yet arp shows this system active.
>>>
>>> Is there obsolete stuff here, and/or anything missing that would cause
>>> this?
>>
>> Nevermind...  Temporary IP address in the script was wrong; corrected
>> and now working.  Will be glad to see comments, though.
>>
>>
> Use Firewall Builder. It makes things so much easier. And it's free.
>
> http://www.fwbuilder.org/

+1000 for fwbuilder.

Raw iptables commands are not only error prone but will make your brain hurt.

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.3 as Firewall/Router

2013-01-06 Thread me
On Sat, 5 Jan 2013, Tim Evans wrote:

> On 01/05/2013 10:13 AM, m...@tdiehl.org wrote:
>> On Fri, 4 Jan 2013, Steve Campbell wrote:
>>
>>>
>>> On 1/4/2013 12:21 PM, Tim Evans wrote:
>>>> On 01/04/2013 12:01 PM, Tim Evans wrote:
>>>>> I'm replacing an ancient Solaris 'ipf' firewall/router with a brand new
>>>>> CentOS 6.3 system.  In the olden days, I successfully used the attached
>>>>> iptables script (as /etc/rc.local) on Red Hat 5.x systems, but this
>>>>> doesn't seem to be quite working on the new system.
>>>>>
>>>>> Specifically, while it seems to be routing ok, you cannot connect to
>>>>> anything on the inside net (e.g., with ssh or a browser) and cannot
>>>>> connect to the system with ssh or anything else from elsewhere on the
>>>>> inside net. Yet arp shows this system active.
>>>>>
>>>>> Is there obsolete stuff here, and/or anything missing that would cause
>>>>> this?
>>>>
>>>> Nevermind...  Temporary IP address in the script was wrong; corrected
>>>> and now working.  Will be glad to see comments, though.
>>>>
>>>>
>>> Use Firewall Builder. It makes things so much easier. And it's free.
>>>
>>> http://www.fwbuilder.org/
>>
>> +1000 for fwbuilder.
>>
>> Raw iptables commands are not only error prone but will make your brain hurt.
>
> As the original poster, I welcome these suggestions, but point out my
> ruleset was already written and working.  Last I looked (a long time
> ago, I admit), fwbuilder could not import an existing set of rules and
> turn it into the necessary fwbuilder abstractions, which meant I'd have
> to re-invent the working wheel, just to get it into fwbuilder.

That is no longer true. fwb has a tool to import existing rules although I
have never used it.

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] More on Re: Really changing the hostname

2013-02-15 Thread me
On Fri, 15 Feb 2013, m.r...@5-cent.us wrote:

> Robert Moskowitz wrote:
>>
>> On 02/15/2013 01:35 PM, Les Mikesell wrote:
>>> On Fri, Feb 15, 2013 at 12:26 PM, Robert Moskowitz 
>>> wrote:
>>>> And when you edit ifcfg-eth0 what command restarts the interface?
>>> ifdown eth0
>>> ifup eth0
>>>
>>> If you are changing related routes or the MAC address, do the down
>>> before the change so the right values are seen.  If you change
>>> something that doesn't affect the address you can usually stay
>>> connected if you put both commands on one line with a ; separator.
>>
>> Shows how long it has been.  A dah moment when I saw your response.
>
> Oh, and if you're changing the MAC, don't forget, as of CentOS 6, to edit
> /etc/udev/rules.d/70-persistent-net.rules. If you don't, you're hosed.

That has not been my experience? We have a bunch of mini-itx machines with
realtek cards in them that have a high failure rate. I have been swapping
them for intel cards. I have never messed with the udev rules. All I do is
edit the HWADDR line in /etc/sysconfig/network-scripts/ifcfg-eth* to show the
new MAC. I then shutdown the machine, replace the NIC and restart.

These are headless C-6 machines built from a ks.cfg file. Metworkmangler
never gets installed.

What is messing with udev rules supposed to be necessary?

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Editing udev rules Was: More on Re: Really changing the hostname

2013-02-15 Thread me
On Fri, 15 Feb 2013, Les Mikesell wrote:

> On Fri, Feb 15, 2013 at 2:09 PM,   wrote:
>>>
>>> Oh, and if you're changing the MAC, don't forget, as of CentOS 6, to edit
>>> /etc/udev/rules.d/70-persistent-net.rules. If you don't, you're hosed.
>>
>> That has not been my experience? We have a bunch of mini-itx machines with
>> realtek cards in them that have a high failure rate. I have been swapping
>> them for intel cards. I have never messed with the udev rules. All I do is
>> edit the HWADDR line in /etc/sysconfig/network-scripts/ifcfg-eth* to show the
>> new MAC. I then shutdown the machine, replace the NIC and restart.
>>
>> These are headless C-6 machines built from a ks.cfg file. Metworkmangler
>> never gets installed.
>>
>> What is messing with udev rules supposed to be necessary?
>
> You should have a line in /etc/udev/rules.d/70-persistent-net.rules
> that associates the MAC address with the eth? name for each of your
> NICs.   Certain things (like removing the file, and maybe some
> hardware changes) will make it be reconstructed during boot and if you
> only have one NIC you wouldn't have much chance of it being wrong.
> But, if the name set there doesn't match the name of the
> /etc/sysconfig/network-scripts/ifcfg-eth* file with the correct MAC
> address, that interface should not start.

Empirical evidence seems to suggest that if the correct udev entry is missing
udev will create the entry on its own.

FWIW, the cards I am changing out have 3 ports on them
and again after doing 15 of these, I have never messed with udev.

I did not even know about this "problem" until I read about it on this list.

Interestingly enough, I just looked at the udev file and it contains not only
the new mac addresses but also the old ones.

For example the entries for eth1 looks like the following:

# PCI device 0x10ec:0x8167 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR{address}=="00:30:18:a9:e4:ad", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# PCI device 0x8086:0x1076 (e1000) (custom name provided by external tool)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR{address}=="00:30:18:a4:eb:d0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

I did not put any of these entries in there and I wonder what
"external tool" is providing the "custom name"?

Is there anyone here who actually knows how this is supposed to work?

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Editing udev rules Was: More on Re: Really changing the hostname

2013-02-16 Thread me
On Fri, 15 Feb 2013, Les Mikesell wrote:

> On Fri, Feb 15, 2013 at 10:16 PM,   wrote:
>>>>
>>>> What is messing with udev rules supposed to be necessary?
>>>
>>> You should have a line in /etc/udev/rules.d/70-persistent-net.rules
>>> that associates the MAC address with the eth? name for each of your
>>> NICs.   Certain things (like removing the file, and maybe some
>>> hardware changes) will make it be reconstructed during boot and if you
>>> only have one NIC you wouldn't have much chance of it being wrong.
>>> But, if the name set there doesn't match the name of the
>>> /etc/sysconfig/network-scripts/ifcfg-eth* file with the correct MAC
>>> address, that interface should not start.
>>
>> Empirical evidence seems to suggest that if the correct udev entry is missing
>> udev will create the entry on its own.
>>
>> FWIW, the cards I am changing out have 3 ports on them
>> and again after doing 15 of these, I have never messed with udev.
>>
>> I did not even know about this "problem" until I read about it on this list.
>
>> From what I've seen, the ports on a single card will be detected in
> the same order every time.   The issue is that if you have some
> motherboard NICs and one or more  pci cards, the  order of detection
> of the groups will be a matter of chance.   Our servers mostly have
> some Broadcomm's on the MB plus a few multi-port Intel cards.   If you
> remove the udev rules,  there is no way to know whether the MB NICs or
> the add-ons will be eth0 and eth1.

Agreed, I have seen that behavior but I was talking about what happens if you
change a card, put the new MAC address in ifcfg-eth* and do nothing with the
udev rules.

I always use ks to build the machines and the interfaces are pre-defined in the
ks setup.

>
>> Interestingly enough, I just looked at the udev file and it contains not only
>> the new mac addresses but also the old ones.
>>
>> For example the entries for eth1 looks like the following:
>>
>> # PCI device 0x10ec:0x8167 (r8169)
>> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
>> ATTR{address}=="00:30:18:a9:e4:ad", ATTR{type}=="1", KERNEL=="eth*", 
>> NAME="eth1"
>>
>> # PCI device 0x8086:0x1076 (e1000) (custom name provided by external tool)
>> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
>> ATTR{address}=="00:30:18:a4:eb:d0", ATTR{type}=="1", KERNEL=="eth*", 
>> NAME="eth1"
>>
>> I did not put any of these entries in there and I wonder what
>> "external tool" is providing the "custom name"?
>
> Don't know about the tool, but note that this would come out
> differently if you added the new card, booted, then shut down and
> removed the old card.
>
>> Is there anyone here who actually knows how this is supposed to work?
>
> Randomly, I guess...

I am beginning to believe that. I guess some more research is in order.

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] 6.4 SRPMS

2013-03-11 Thread me
Hi,

Can someone tell me when the 6.4 srpms are going to appear in vault?

I am looking for the centos-release srpm.

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: A lightweight monitor software

2013-03-15 Thread me
On Fri, 15 Mar 2013, C. L. Martinez wrote:

> Hi all,
>
> I have a test lab installed over an ESXi 5.1 host that contains 5
> CentOS vm guests. I would like to monitor CPU, RAM and Network for
> these vm and ESXi host. Zabbix and Nagios are too to accomplish this
> task. Does anyone know any lightweight openosurce soft to do this??

You might want to look at xymon it is available @ 
http://xymon.sourceforge.net/

Rpms for it are available @ http://terabithia.org/rpms/xymon/

HTH

-- 
Tom m...@tdiehl.org Spamtrap address        
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] (Al)pine on CentOS 6

2013-03-26 Thread me
On Tue, 26 Mar 2013, Max Pyziur wrote:

>
> Greetings,
>
> The alpine mail rpm indicates that it comes packaged with configuration
> files (/etc/pine*conf*). However, they aren't there.  Possible?
>
> Also, how did you get rid of the annoying alpine bug: a message that keeps
> flashing - [Folder vulnerable - directory /var/spool/mail must have 1777
> protection]?

There is no alpine rpm in Centos 6. Where did you get that? Suggest you
ask for help on the correct mailing.

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DIMM problem

2013-04-24 Thread me
On Wed, 24 Apr 2013, m.r...@5-cent.us wrote:

> Hey, folks,
>
>   I've got an HP Proliant DL580 G5 throwing ECC errors. This is annoying,
> since a) it's all new as of a few months ago, and b) it's *fully*
> populated. The two things I need to figure out are a) *which* DIMM it
> is, and b) is it mirrored; if so, which *other* DIMM needs to come out
> until we get replacements from the OEM.
>
> Here's one of many, all identical, from dmesg:
> EDAC MC0: CE row 12, channel 1, label "": Corrected error (Branch=0,
> Channel 1),  DRAM-Bank=2 RD RAS=8218 CAS=500, CE Err=0x1,
> Syndrome=0x6cad8e02(Correctable Patrol Data ECC))
>
> I see the Bank=2, so I assume that's the first riser board on the left;
> but I can't identify which of the four (?) DIMMs on it is the problem.
>
> I've been googling, and skimming useless manuals, and have just been
> trying to look under /sys/devices/system/edac/mc/mc0/. I see ce_count
> there showing thousands; but all of the ce_count files under csrow[0-7]
> show zero.
>
> Clues, anyone?

Is there anything in the iml log on ILO? Also did you try just re-seating
the memory or moving it into other slots to see if you can track it down that
way??

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dell R320 server

2013-05-26 Thread me
On Fri, 24 May 2013, Bazy wrote:

> On 05/24/2013 12:18 AM, Eero Volotinen wrote:
>> How about installing dell omsa and using check_openmanage with nagios?
>>
>>
>> 2013/5/24 Jerry Geis 
>>
>>> Is there a way on Dell R320 (two power supplies and hardware RAID-1) on
>>> centos
>>> to get a message that a power supply is failing or that one of the
>>> hardware RAID disks is failing?
>>> Sure there is the front panel - but no-one is there ...
>>>
>>> Is that reported to linux/centos some way?
>>> This is my first R320.
>>>
>>> Thanks,
>>>
>>> Jerry
>>> ___
>>>
> Please don't top post.
>
> You can find the OMSA here
> http://downloads.dell.com/Pages/Drivers/poweredge-r320.html at
> Systems Management - Application.

Or better yet

http://linux.dell.com/wiki/index.php/Repository/OMSA

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Yum errors

2013-07-01 Thread me
Hi,

I have a machine that recently had some file system corruption. fsck was able
repair the file system but I am getting the following error when I try to
do yum update:

[Errno 21] Is a directory: 
'/var/lib/yum/yumdb/e/2f883c08e3b596b66fcc19c6b4d73b11c9aaa43e-e2fsprogs-1.41.12-14.el6_4.2-x86_64/checksum_type'

In searching Google, some suggested renaming the yumdb but that just results
in a traceback when I run yum.

There are some files in lost+found but I am not sure what the above file
should look like and inode numbers are not useful to me.

Anyone have an idea how to fix this without reloading the machine?

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address    
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum errors

2013-07-01 Thread me
On Mon, 1 Jul 2013, Reindl Harald wrote:

>
>
> Am 01.07.2013 15:36, schrieb m...@tdiehl.org:
>> I have a c6.4 machine that recently had some file system corruption. fsck 
>> was able
>> repair the file system but I am getting the following error when I try to
>> do yum update:
>>
>> [Errno 21] Is a directory: 
>> '/var/lib/yum/yumdb/e/2f883c08e3b596b66fcc19c6b4d73b11c9aaa43e-e2fsprogs-1.41.12-14.el6_4.2-x86_64/checksum_type'
>>
>> In searching Google, some suggested renaming the yumdb but that just results
>> in a traceback when I run yum
>
> you can do *without any issue*
>
> rm -rf /var/lib/yum/yumdb/*
> rm -rf /var/lib/yum/history/*
>
> and after *twice* "yum history new" there are no longer tracebacks
> been there, done that on a *lot* of machines multiple times to
> get rid of this tons of old metadata with no benefit

Ok, I am still getting a traceback, obviously, the first traceback is expected
but the last one os not. Below is what I did:

(router pts4) # cd /var/lib/yum/
(router pts4) # rm -r history/ yumdb/
(router pts4) # ll
total 12
drwxr-xr-x. 3 root root 4096 May  6 11:31 repos
drwxr-xr-x. 3 root root 4096 Jun 29 14:14 rpmdb-indexes
-rw-r--r--. 1 root root   36 May  6 11:31 uuid
(router pts4) # yum history new
Loaded plugins: downloadonly, fastestmirror, security
Traceback (most recent call last):
   File "/usr/bin/yum", line 29, in 
 yummain.user_main(sys.argv[1:], exit_code=True)
   File "/usr/share/yum-cli/yummain.py", line 285, in user_main
 errcode = main(args)
   File "/usr/share/yum-cli/yummain.py", line 136, in main
 result, resultmsgs = base.doCommands()
   File "/usr/share/yum-cli/cli.py", line 438, in doCommands
 return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, 
self.extcmds)
   File "/usr/share/yum-cli/yumcommands.py", line 1503, in doCommand
 ret = self._hcmd_new(base, extcmds)
   File "/usr/share/yum-cli/yumcommands.py", line 1423, in _hcmd_new
 base.history._create_db_file()
   File "/usr/lib/python2.6/site-packages/yum/history.py", line 1645, in 
_create_db_file
 cur.execute(op)
sqlite3.OperationalError: table trans_beg already exists
(router pts4) # yum history new
Loaded plugins: downloadonly, fastestmirror, security
history new
(router pts4) # yum update
Loaded plugins: downloadonly, fastestmirror, security
Loading mirror speeds from cached hostfile
  * elrepo: elrepo.org
Setting up Update Process
Traceback (most recent call last):
   File "/usr/bin/yum", line 29, in 
 yummain.user_main(sys.argv[1:], exit_code=True)
   File "/usr/share/yum-cli/yummain.py", line 285, in user_main
 errcode = main(args)
   File "/usr/share/yum-cli/yummain.py", line 136, in main
 result, resultmsgs = base.doCommands()
   File "/usr/share/yum-cli/cli.py", line 438, in doCommands
 return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, 
self.extcmds)
File "/usr/share/yum-cli/yumcommands.py", line 232, in doCommand
 return base.updatePkgs(extcmds, update_to=(basecmd == 'update-to'))
   File "/usr/share/yum-cli/cli.py", line 725, in updatePkgs
 self.update()
   File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 3735, in update
 updates = self.up.getUpdatesTuples()
   File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 906, in 

 up = property(fget=lambda self: self._getUpdates(),
   File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 726, in 
_getUpdates
 self._up = rpmUtils.updates.Updates(self.rpmdb.simplePkgList(), 
self.pkgSack.simplePkgList())
   File "/usr/lib/python2.6/site-packages/yum/rpmsack.py", line 502, in 
simplePkgList
 return self.pkglist
   File "/usr/lib/python2.6/site-packages/yum/rpmsack.py", line 232, in 
_get_pkglist
 csumpkgtups = self.preloadPackageChecksums(load_packages=False)
   File "/usr/lib/python2.6/site-packages/yum/rpmsack.py", line 979, in 
preloadPackageChecksums
 rpmdbv = self.simpleVersion(main_only=True)[0]
   File "/usr/lib/python2.6/site-packages/yum/rpmsack.py", line 1163, in 
simpleVersion
 self._put_cached_simpleVersion_main(main)
   File "/usr/lib/python2.6/site-packages/yum/rpmsack.py", line 1112, in 
_put_cached_simpleVersion_main
 os.rename(rpmdbvfname + ".tmp", rpmdbvfname)
OSError: [Errno 21] Is a directory
(router pts4) #

As you can see, I am still getting the traceback.

I also ran the following to be sure I was not missing something else:
(router pts4) # rpm -qf /var/lib/yum
yum-3.2.29-40.el6.centos.noarch
(router pts4) # rpm -V yum
(router pts4) #

Any ideas what I am missing?

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum errors

2013-07-01 Thread me
On Mon, 1 Jul 2013, Reindl Harald wrote:

>
>
> Am 01.07.2013 15:36, schrieb m...@tdiehl.org:
>> I have a machine that recently had some file system corruption. fsck was able
>> repair the file system but I am getting the following error when I try to
>> do yum update:
>>
>> [Errno 21] Is a directory: 
>> '/var/lib/yum/yumdb/e/2f883c08e3b596b66fcc19c6b4d73b11c9aaa43e-e2fsprogs-1.41.12-14.el6_4.2-x86_64/checksum_type'
>>
>> In searching Google, some suggested renaming the yumdb but that just results
>> in a traceback when I run yum
>
> you can do *without any issue*
>
> rm -rf /var/lib/yum/yumdb/*
> rm -rf /var/lib/yum/history/*
>
> and after *twice* "yum history new" there are no longer tracebacks
> been there, done that on a *lot* of machines mutiple times to
> get rid of this tons of old metadata with no benefit
>
>

After doing a little more poking around, I moved /var/lib/yum/rpmdb-indexes
out of the way and the issue seems to be solved. Yum seems to have recreated
that directory and appears happy now.

Does anyone know of a downside to doing this?

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum errors

2013-07-01 Thread me
On Mon, 1 Jul 2013, Eero Volotinen wrote:

> try yum clean all ?

Yum clean all did not help. That was one of the first things I tried.
Removing away /var/lib/yum/rpmdb-indexes resolved the issue.

Thanks, to all who responded.

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
    me...@tdiehl.org

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


Re: [CentOS] dell poweredge 2950

2013-10-17 Thread me
On Thu, 17 Oct 2013, Michel Donais wrote:

> Do somebody have experience wiit a Dell Poweredge 2950 Xeon quad 2.5 with
> Centos 6.4

I still have 3 2950 gen 3's running. They "just work" however keep in mind
that they are getting old. On the plus side they are cheap enough that you
can keep a spare machine around for parts. Having said that I will not touch
any of them that are not gen 3. They are just too old.

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address    
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] - monitoring software

2013-10-19 Thread me
On Sat, 19 Oct 2013, John Horne wrote:

> On Fri, 2013-10-18 at 14:49 +0200, Paolo De Michele wrote:
>> hi,
>>
>> I have a dedicated server with several services running: ssh, ftp, httpd
>> (with several sites andactive domains), the mail server (dovecot,
>> postfix), dns.
>>
>> I'd like to monitor all of these services in a graphical, easy, setting
>> of thresholds and alerts via email.
>> I would also like that if a customer wanted to see the graphs I could
>> create codes read-only.
>>
> Hello,
>
> We use 'Xymon' (http://sourceforge.net/projects/xymon/)
> http://www.xymon.com/ will show you what it looks like.
> It will monitor what you want, and produce graphs (see the 'trends'
> column). I gather it does alerts, but we do not use them ourselves. As
> you can see it has a graphical frontend.
> We use it to monitor our Centos and RHEL servers, and some Debian and
> Fedora devices.

+1 for xymon. It is easy to setup and maintain and there are Centos rpms
available at http://terabithia.org/rpms/xymon/.

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] C5.10 SRPMS

2013-10-22 Thread me
Hi,

Any ETA when the SRPMS for C5.10 will be available? In particualr I am looking
for the Centos-release srpm.

http://vault.centos.org/5.10/os/SRPMS/ is empty.

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] I want to make own pbx server

2013-10-29 Thread me
On Mon, 28 Oct 2013, John R Pierce wrote:

> On 10/28/2013 11:35 PM, Chandran Manikandan wrote:
>>   So
>> how to make it.
>
> www.asterisk.org
>
> its very complicated, every system is different, read, and learn, and
> put together the pieces you need.

While it can be complicated, it does not need to be. Others have done the hard
part. See the articles @ http://nerdvittles.com/

His stuff is Asterisk based and has saved me a lot of time and headaches over
the years.

> or hire someone who does that stuff.

That is always a possibility also.

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] I want to make own pbx server

2013-10-29 Thread me
On Tue, 29 Oct 2013, Gopu Krishnan wrote:

> anyone checked elastix ?

Without getting into a long off topic discussion about one Asterisk distro over
another, the only thing I will say is that I prefer the nerdvittles stuff over
elastix, freepbx, AsteriskNOW, etc. because Ward Mundy (The guy behind
nerdvittles) and friends have done an enormous amount of the leg work required
to make this stuff "Just work".

The other Asterisk distros while they have a lot of pros and
cons do not have the large pre-configured feature set that I need.

That is not to say the Nerdvittles stuff is perfect because it is far from it.
It is just that for my usage it is the best fit I could find.

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address    
me...@tdiehl.org

>
> On 10/29/13, m...@tdiehl.org  wrote:
>> On Mon, 28 Oct 2013, John R Pierce wrote:
>>
>>> On 10/28/2013 11:35 PM, Chandran Manikandan wrote:
>>>>   So
>>>> how to make it.
>>>
>>> www.asterisk.org
>>>
>>> its very complicated, every system is different, read, and learn, and
>>> put together the pieces you need.
>>
>> While it can be complicated, it does not need to be. Others have done the
>> hard
>> part. See the articles @ http://nerdvittles.com/
>>
>> His stuff is Asterisk based and has saved me a lot of time and headaches
>> over
>> the years.
>>
>>> or hire someone who does that stuff.
>>
>> That is always a possibility also.
>>
>> Regards,
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] starting/stopping services

2013-11-01 Thread me
On Fri, 1 Nov 2013, Wes James wrote:

> I do understand that.
>
> But why can you do
>
> postfix stop/start
>
> but not
>
> sshd stop/start.  With sshd you need to use service sshd stop/start.  It
> seems inconsistent.

The standard way to start and stop services on any Red Hat based Linux system
is with service service-name stop/start/restart/whatever. Postfix is a special
case in that you can do service postfix stop/start OR you can do
postfix stop/start because the postfix author designed it that way. If you do
not like the inconsistency then always use service postfix start/stop/restart,
etc.

Postfix just has an optional way to stop and start it. It is that simple. In
addition, using service postfix whatever has more options then simply start and
stop. You can do any of the following:
{start|stop|restart|reload|abort|flush|check|status|condrestart}. Run the 
command "service postfix" without any additional arguments to see an example.

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] chkconfig question

2013-12-14 Thread me
On Fri, 13 Dec 2013, Larry Martell wrote:

> On Fri, Dec 13, 2013 at 5:21 PM,   wrote:
>> Larry Martell wrote:
>>> On Fri, Dec 13, 2013 at 5:04 PM, Reindl Harald 
>>> wrote:
>>>> Am 13.12.2013 23:00, schrieb Larry Martell:
>>>>> In the docs for chkconfig it says:
>>>>> More commonly, the service is off by default on all runlevels, which
>>>>> looks like this:
>>>>>
>>>>> # chkconfig: - 20 80
>>>>>
>>>>> But services with a chkconfig entry like that are started at boot time
>>>>> (e.g. mysql, httpd). So when do they get started?
>>>>
>>>> when they are enabled with "chkconfig  on"
>>>>
>>>> look at /etc/rc0.d/ to /etc/rc6.d
>>>> chkconfig finally creates symlinks there
>>>
>>> But at what run levels is my question.
>>>
>>> Looking at mysqd, it has:
>>>
>>> # chkconfig: - 64 36
>>>
>>> and I see a S64mysqld link in rc 2, 3, 4, and 5. Why in those 4 dirs?
>>> Will all scripts with - in the chkconfig entry be started at those 4
>>> levels? How is putting - different from putting 2345?
>>
>> Runlevel 0 is poweroff. 1 is single user/maintenance mode. 4, well, no one
>> actually uses 4. And 6 is reboot. So, once the network's up, text mode and
>> X-mode.
>
> Thanks, but what was I wondering was what is the difference between
> putting - and 2345 on the chkconfig entry.

The - means that it is not enabled. The 2345 means that it gets started in
run levels 2, 3, 4 and 5.

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] intrusive chrome [was: Re: clicking on link in Thunderbird fails to open page in Firefox]

2013-12-31 Thread me

On 12/30/2013, Johnny Hughes wrote:
> On 12/26/2013 12:03 PM, Phil Dobbin wrote:
>>
>> It's also happening now with Firefox as well (in fact, Firefox is
>> virtually unusable) so I suspect there is something happening with
>> either this machine or the OS.
>
> Are you running the proprietary NVIDIA driver?  (either the one from
> elrepo OR manually building from the NVIDIA site)
>
> If so, the recent xorg-x11-server updates require that you rebuild (or
> reinstall) the drivers as those drivers replace some xorg files and if
> you do not reinstall it can freeze the system or crash X.

Another thing you can do if you are using the NVIDIA drivers is add the
following to /etc/X11/xorg.conf:

ModulePath "/usr/lib64/xorg/modules/extensions/nvidia"
ModulePath "/usr/lib64/xorg/modules"
FontPath "/usr/share/fonts/default/Type1"

See http://elrepo.org/bugs/view.php?id=425 for more details.

By fixing the xorg.conf file, you do not have to worry about this problem
re-occurring next time xorg gets upgraded.

This issue drove me crazy for about 2 weeks until I realized that the
wrong drivers were getting loaded.

HTH

Regards,

Tom     m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] intrusive chrome [was: Re: clicking on link in Thunderbird fails to open page in Firefox]

2014-01-01 Thread me
On Tue, 31 Dec 2013, Akemi Yagi wrote:

> On Tue, Dec 31, 2013 at 5:54 AM,   wrote:
>>
>> On 12/30/2013, Johnny Hughes wrote:
>
>>> If so, the recent xorg-x11-server updates require that you rebuild (or
>>> reinstall) the drivers as those drivers replace some xorg files and if
>>> you do not reinstall it can freeze the system or crash X.
>>
>> Another thing you can do if you are using the NVIDIA drivers is add the
>> following to /etc/X11/xorg.conf:
>>
>> ModulePath "/usr/lib64/xorg/modules/extensions/nvidia"
>> ModulePath "/usr/lib64/xorg/modules"
>> FontPath "/usr/share/fonts/default/Type1"
>>
>> See http://elrepo.org/bugs/view.php?id=425 for more details.
>>
>> By fixing the xorg.conf file, you do not have to worry about this problem
>> re-occurring next time xorg gets upgraded.
>
> In case it is not obvious, I'd like to add a note here. If you are
> using ELRepo's Nvidia driver, you do _not_ have to do anything as the
> referenced issue has been taken care of in there. Quoting Phil Perry
> from that bug report (comment 3338):
>
> "You are correct that the file
> /usr/lib64/xorg/modules/extensions/libglx.so is indeed from the distro
> package xorg-x11-server-Xorg. We DO NOT replace that file as if we did
> every time the distro package xorg-x11-server-Xorg gets updated the
> NVIDIA drivers will break. This is the way the NVIDIA proprietary
> installer does it and it's the WRONG way."

I have used the EL-Repo Nvidia package since I loaded C6 on this machine in
the early days of 6.0. Are you saying that I did not have to modify the 
xorg.conf? The only way I could get it to load the Nvidia driver without
reinstalling, was to make the changes noted in the above referenced bug.

Please clarify what you mean.

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Speaking of firefox...

2014-02-12 Thread me
On Tue, 11 Feb 2014, Nux! wrote:

> On 11.02.2014 19:40, m.r...@5-cent.us wrote:
>> The latest version seems to have a bug. One of my users went to look
>> at a
>> paper in Phy Rev E, and the firefox pdf view looked fine... but what
>> printed had garbage for scales on the graphs. Then I had him use the
>> firefox print preview... and it was garbage. Looked at it on my
>> system,
>> ditto, and firefox was updated yesterday on all our systems.
>>
>> Save as (why isn't there an "open"?) a .pdf, pull it up in acroread,
>> and
>> print, and everything's fine.
>
> Firefox' built-in PDF viewer blows the hell out of my laptop's fan. I
> turned it off, Evince is so SO much better.

+1

I have had enough random problems with it I have turned it off on all systems
I admin. This includes both Linux and windoze. Too many support calls. ESR
is supposed to be stable. The pdf viewer is not.

IMO the default should be an external pdf viewer until the thing is ready
for prime time, although I guess it is hard to get it tested without making
it the default.

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] problem with centos.org whois

2014-06-18 Thread me
On Tue, 17 Jun 2014, John R Pierce wrote:

> On 6/17/2014 9:36 PM, Devin Reade wrote:
>> It looks like someone pooched a domain transfer, and the whois entry
>> for centos.org is missing its NS records.  I've sent an email to the
>> whois tech contact @redhat, but I'm sending this to the list to hopefully
>> bring it to someone else's attention, as well.
>>
>> Hopefully it gets gets out before my mailserver expires its DNS
>> cache for centos.org.
>>
>> Expect centos.org to be offline for a bit ...
>
> oh, effin' great.
>
> # host -t NS centos.org
> centos.org has no NS record

Looks OK from here. Must be fixed.

(bugs pts2) # whois centos.org
...
Tech Email:domainad...@redhat.com
Name Server:NS1.CENTOS.ORG
Name Server:NS3.CENTOS.ORG
Name Server:NS4.CENTOS.ORG
...
(bugs pts2) #

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] centos 7 iscsi saveconfig doesn't

2014-08-08 Thread me
Hi,

I am working to get iscsi running using targetcli. So far everything seems to be
working except for the fact that when I run saveconfig, exit the targetcli shell
and reboot, the iscsi configs are gone. If I run restoreconfig, the 
configuration gets reloaded and all is well.

Can someone tell me how to get the targetcli configuration to persist through
a reboot?

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LVM Configuration

2014-08-16 Thread me

Hi,

On Sat, 16 Aug 2014, Günther J. Niederwimmer wrote:


Hello,

I miss the system-config-lvm tool for CentOS 7 can I found this on a other
place?


It does not look that way. From some googling I did when I was looking for it
it seems it has no maintainer and as a result it has been dropped from the
distros. IIRC they were worried about it not doing the correct thing with newer
lvm bits.

I too liked it but it is not like the lvm cmds are all that hard to get used
to. Besides like all GUIs, there were several things that it could not do, so
you needed to resort to a cmd line anyway.

HTH,

Regards,

--
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NetworkManager

2014-08-23 Thread me
On Fri, 22 Aug 2014, Les Mikesell wrote:

> On Fri, Aug 22, 2014 at 5:18 PM, Digimer  wrote:
>>>>> More important with regards to the minimal install set it matches what
>>>> Red Hat is doing.
>>>>
>>> And most of us *still* don't like it
>>>
>>>  mark
>>
>> Time is ticking on... The longer you avoid learning what is coming, the
>> further behind your peers you will fall.
>>
> Except that wasting time re-learning a new and strange way to do
> something that already worked - or how to disable the new thing so it
> doesn't break your working setup - doesn't really put you ahead of
> anything.

I hate network mangler as much as the next guy but is it really worth all of
the whining when all it takes to disable it is:

systemctl disable NetworkManager
systemctl enable network
systemctl stop NetworkManager
systemctl start network

And now you are back to the old behavior. Red Hat even went to the trouble
of documenting it for you at
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Virtualization_Deployment_and_Administration_Guide/sect-Network_configuration-Bridged_networking_with_libvirt.html

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org

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


Re: [CentOS] Samba 4.1.6

2014-10-17 Thread me

On Fri, 17 Oct 2014, Bowie Bailey wrote:

I just installed a CentOS 7 server and ran into a problem with Samba and the 
"force user" option.  Apparently, there was a fix for some "force user" 
issues in the 4.1.6 release.


Is there any likelihood of an update from upstream?  If not, is there another 
repo that provides a more up-to-date version of Samba?


Have a look at http://www.sernet.de/en/samba/enterprisesamba/

Their rpms have the latest and greatest samba versions.

Regards,


--
Tom m...@tdiehl.org Spamtrap address    
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Samba 4.1.6

2014-10-17 Thread me

On Fri, 17 Oct 2014, Bowie Bailey wrote:


On 10/17/2014 2:56 PM, m...@tdiehl.org wrote:

 On Fri, 17 Oct 2014, Bowie Bailey wrote:

>  I just installed a CentOS 7 server and ran into a problem with Samba and 
>  the

>  "force user" option.  Apparently, there was a fix for some "force user"
>  issues in the 4.1.6 release.
> 
>  Is there any likelihood of an update from upstream?  If not, is there 
>  another

>  repo that provides a more up-to-date version of Samba?
 Have a look at http://www.sernet.de/en/samba/enterprisesamba/

 Their rpms have the latest and greatest samba versions.


That looked great until I got signed in and realized that they do not yet 
have CentOS 7 packages...


Sorry about that. I just verified that samba 4 Sernet packages only exist for
Centos 6.

Regards,

--
Tom m...@tdiehl.org     Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Unable to map more than 4 workspaces to keyboard shortcuts on C7.

2017-06-07 Thread me

Hi,

I have a new install of c7 with the gnome desktop. I run it with 12 workspaces.
Normally I create the shortcuts so that ctrl+f1 maps to workspace 1 ctrl+f2
maps to f2, etc. When I goto applications -> settings -> keyboard -> shortcuts
-> navigation, I only have the ability to define "Switch to workspace" 1
through 4. There does not appear to be a way to map keyboard shortcuts for 
"Switch to workspace" 5-12.


Does anyone know how I can add the ability to create shortcuts for workspaces
5-12?

In previous versions (c-6 and older) the number of available keyboard shortcuts
matched the available number of workspaces configured. I am thinking that there
is some file someplace that I should be able to modify to make this work but
so far I cannot find it.

Regards,

--
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] RDP for Centos 7

2017-06-21 Thread me

Hi,

Does anyone know of a good program for doing RDP to windows servers on C-7?

The "Remote desktop viewer" program that comes with C7 is not reliable for me.
I frequently have multiple long running RDP sessions and the keyboard
will stop responding. The only way I can find to get it started again is to
restart the program and login to the servers again.

In addition, I cannot find a way to make copy and paste work.

On the plus side, I like the way Remote desktop viewer displays the desktops
in tabs.

Suggestions?

Regards,

--
Tom m...@tdiehl.org Spamtrap address    
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RDP for Centos 7

2017-06-22 Thread me

On Wed, 21 Jun 2017, Mark Haney wrote:


On 06/21/2017 11:22 AM, m...@tdiehl.org wrote:

 Hi,

 Does anyone know of a good program for doing RDP to windows servers on
 C-7?



KRDC?  I'm pretty sure KRDC works fine in C7.  (Though, I never use CentOS as 
a desktop, so YMMV.)


Thanks, I will take a look at that. I was not aware of it.

Regards,

--
Tom m...@tdiehl.org Spamtrap address
        me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RDP for Centos 7

2017-06-22 Thread me

On Wed, 21 Jun 2017, Valeri Galtsev wrote:



On Wed, June 21, 2017 10:24 am, Mark Haney wrote:

On 06/21/2017 11:22 AM, m...@tdiehl.org wrote:

Hi,

Does anyone know of a good program for doing RDP to windows servers on
C-7?


I used rdesktop on CentOS and on maemo (which is clone of clone of Debian)
handheld for quite some time, and it is still available on CentOS 7 (via
either base or epel yum repository) - I just checked and it works on
CentOS 7 the same way as it did on earlier CentOS systems.


Hummm, I have epel enabled and when I try do yum install rdesktop, I get
"No package rdesktop available."

Regards,

--
Tom m...@tdiehl.org Spamtrap address    
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RDP for Centos 7

2017-06-22 Thread me

On Wed, 21 Jun 2017, Itamar Reis Peixoto wrote:


On 2017-06-21 01:12 PM, Valeri Galtsev wrote:

 On Wed, June 21, 2017 10:24 am, Mark Haney wrote:
>  On 06/21/2017 11:22 AM, m...@tdiehl.org wrote:
> >  Hi,
> > 
> >  Does anyone know of a good program for doing RDP to windows servers on

> >  C-7?


have you tried xfreerdp ?


I started playing with it yesterday but the problem I have is I cannot get
it to prompt for a password unless I start it from a terminal. That is a
non-starter for me.

I need something I can run from  and be able to connect.

Regards,

--
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RDP for Centos 7

2017-06-22 Thread me

On Wed, 21 Jun 2017, Tom Bishop wrote:


On Wed, Jun 21, 2017 at 10:29 AM, Tom Bishop  wrote:


Remmina is the one I use but I have not looked to see if Centos is
supported but I use it daily and heavily.


On Jun 21, 2017 10:22 AM,  wrote:

Hi,

Does anyone know of a good program for doing RDP to windows servers on C-7?



Looks like Remmina can be found in Nux Dextop repo's -
https://li.nux.ro/repos.html


I will have to take a look at it.

Thanks.

Regards,

--
Tom m...@tdiehl.org Spamtrap address
        me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RDP for Centos 7

2017-06-22 Thread me

On Thu, 22 Jun 2017, Itamar Reis Peixoto wrote:


 I started playing with it yesterday but the problem I have is I cannot get
 it to prompt for a password unless I start it from a terminal. That is a
 non-starter for me.

 I need something I can run from  and be able to connect.

 Regards,


have you tried something like that in 

xfreerdp /u:USER /p:PASSWORD /w:1200 /h:600 /v:SERVER-ADDRESS


Yes, I have. The problem is it leaves the unencrypted passwords in my history.
Other than that, Xfreerdp seems to work fine.

Regards,

--
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] where is samba?

2017-07-24 Thread me

On Mon, 24 Jul 2017, mad.scientist.at.la...@tutanota.com wrote:


Obnoxius, seems to be the order of the day for companies that started with
"FOSS" but don't want to comply with the licensing they were once so happy
about because it gave them a product at a very low cost. now everyone is
getting greedy. Then again money for nothing is the american dream these
days. Might be nice to change the wiki rather than frustrate new and old
users


Obnoxious, is when someone thinks there is a requirement to give away
binary rpms to a non-paying customer!!

Please get your facts straight!!

Having said that, if you do not need Samba AD support there are newer samba
rpms available for FREE with Centos. if you need something newer than
4.2.10 on c-6 or 4.4.4 on c-7 or you need Samba AD support, I would suggest you
download the src tarball from 
https://download.samba.org/pub/samba/stable/samba-4.6.6.tar.gz
and build it yourself. It is trivial to build provided you follow the
instructions @ https://wiki.samba.org/index.php/Build_Samba_from_Source.

https://wiki.samba.org provides a wealth of information for configuring samba 4

In addition, if you have problems the people on the samba mailing
go out of their way to help troubleshoot problems.

HTH,

--
Tom m...@tdiehl.org Spamtrap address    
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos and CVE-2017-1000117

2017-08-19 Thread me

On Sat, 19 Aug 2017, Lance Lassetter wrote:




On August 19, 2017 10:12:27 AM CDT, Alexander Dalloz  wrote:

Am 19.08.2017 um 14:45 schrieb Richard:

I've seen the announcement and update(s) for centos-6
(CESA-2017:2485), but I don't find anything for centos-7 yet. It
looks like RH announced them both at about the same time wednesday
and the update for centos-6 came out thursday. Is there some reason
that the update(s) for -7 haven't been pushed out?


Updates for CentOS 7 are hold back until the 7.4 update gets released.
It will start by populating the CR repo.

Alexander



I'm new to Centos.  Security updates are considered general updates?


Have a look at 
https://wiki.centos.org/FAQ/General#head-cea9337e6513cc1567c4d05afbd693f1f7038ccb

As you can see the updates will first appear in the CR Repo.

If you need updates sooner you should pay Red Hat for RHEL.

I am hoping that the CR repo gets populated soon BUT that is up to the 
Release engineering team.


Regards,

--
Tom m...@tdiehl.org Spamtrap address    
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Thunderbird update without announcement?

2017-08-25 Thread me

On Fri, 25 Aug 2017, Leonard den Ottolander wrote:


Hi,

I usually receive updates after the related announcement has hit my
inbox. But today I see a thunderbird update, but no message on
centos-announce yet, not even in the archives.


Just a guess but Johnny Hughes usually does those announcements. There is 
a large Hurricane (Harvey) headed to The Gulf coast of the US where Johnny

lives. He might be a bit busy with Non-Centos things. They are forecasting
20-25 inches of rain. :-(

Regards,

--
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Voice/Fax Modem advice

2017-10-04 Thread me

On Wed, 4 Oct 2017, Jose Maria Terry Jimenez wrote:


El 4/10/17 a las 17:45, david escribi?:


Folks

A have a PCIe modem (Conexant ChipSet, PCI id = 14f1:2f83.? It interfaces 
to my land-line (POTS) telephone line in the United States.? On Windows, I 
had a good answering machine package (Ventafax) that reported CallerID, 
recorded messages, sent/received fax, and had a scripting language that let 
me say "To leave a message for Alice, press 1; to leave a message for Bob, 
press 2", etc.


I'm trying to move this function to a Centos-based system without going to 
the expense or complexity of Asterisk (expense because of specialized 
telephony cards).


My research found a driver (at www.linuxant.com), but it required that I 
recompile the driver.? I got absolutely lost trying to follow the 
directions which seemed to be steering me towards a custom Kernel.


So, my question to the group wisdom is:

- Is there any hope in trying to find a suitable driver for this device 
without building a custom kernel?? And if a custom "module" is needed, I 
might need help compiling it.


- Is there a inexpensive modem that Centos 7 supports with the needed 
functions?? and maybe some software applications that might help?


Thanks in advance.

David

Hello

You can install an Asterisk with a "mini-gateway" like 
http://www.grandstream.com/products/gateways-and-atas/analog-telephone-adaptors/product/handytone-503 
And is not so complex write a dialplan for the functions you say. There is 
many tutorial over the HT503 and Asterisk in the wild!


I know this is not the answer you are looking for but the standalone ATA's
are not very expensive and there is http://nerdvittles.com/ to help you get
going. This guy gives you various Centos, Debian, raspberry pi based iso's and
other cookbooks to easily build your own PBX. The good news is most of it
"just works" as long as you understand the terminology.

I have had good luck with the Obihai 202 ATA. Never could get good
call quality from the grandstream stuff but maybe that is just me.

HTH,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Voice/Fax Modem advice

2017-10-05 Thread me

On Wed, 4 Oct 2017, hw wrote:


Jose Maria Terry Jimenez wrote:

El 4/10/17 a las 17:45, david escribi?:


Folks

A have a PCIe modem (Conexant ChipSet, PCI id = 14f1:2f83.  It interfaces 
to my land-line (POTS) telephone line in the United States.  On Windows, I 
had a good answering machine package (Ventafax) that reported CallerID, 
recorded messages, sent/received fax, and had a scripting language that 
let me say "To leave a message for Alice, press 1; to leave a message for 
Bob, press 2", etc.


I'm trying to move this function to a Centos-based system without going to 
the expense or complexity of Asterisk (expense because of specialized 
telephony cards).


My research found a driver (at www.linuxant.com), but it required that I 
recompile the driver.  I got absolutely lost trying to follow the 
directions which seemed to be steering me towards a custom Kernel.


So, my question to the group wisdom is:

- Is there any hope in trying to find a suitable driver for this device 
without building a custom kernel?  And if a custom "module" is needed, I 
might need help compiling it.


- Is there a inexpensive modem that Centos 7 supports with the needed 
functions?  and maybe some software applications that might help?


Thanks in advance.

David

Hello

You can install an Asterisk with a "mini-gateway" like 
http://www.grandstream.com/products/gateways-and-atas/analog-telephone-adaptors/product/handytone-503 
And is not so complex write a dialplan for the functions you say. There is 
many tutorial over the HT503 and Asterisk in the wild!


A SPA122 ATA from Cisco might be useful as a gateway, they are cheap.
You?d be using it kinda in reverse, but I don?t see why that shouldn?t
be possible.

Other than that, specialized cards have come down in prices, probably
because ppl aren?t using them anymore.  You might also want to look
into Patton gateways, but they tend to be rather pricy and are a hell
to set up unless you?re familiar with all the phone-related stuff.

If your internet connection is decent, it might be a good idea to give
up the POTS line and use a VOIP provider instead, with a asterisk
connected to it.  It would be the easiest way by far.

Asterisk isn?t too complicated for getting basic phone services to work
on which you can expand over time; you only need to overcome the few
first steps.  Since a Centos package for asterisk is missing, you may
want to compile it yourself, which is easy.  However, I had to disable
one of the drivers/features of asterisk in the build config because
there?s a bug that makes asterisk fail when that feature/driver is
enabled --- I left everything else enabled and don?t know what most of
the stuff is ...


The http://nerdvittles.com/ stuff I referenced earlier gives you the choice
of Installing on Centos 6/7, Debian 8 or Raspberry PI. They even have virtual
box VM's available.

See http://wable-repo.wardmundy.net/incrediblepbx/ for a list of all of the
choices.

HTH,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Voice/Fax Modem advice

2017-10-05 Thread me

On Thu, 5 Oct 2017, hw wrote:


m...@tdiehl.org wrote:

On Wed, 4 Oct 2017, hw wrote:


A SPA122 ATA from Cisco might be useful as a gateway, they are cheap.
You?d be using it kinda in reverse, but I don?t see why that shouldn?t
be possible.

Other than that, specialized cards have come down in prices, probably
because ppl aren?t using them anymore.  You might also want to look
into Patton gateways, but they tend to be rather pricy and are a hell
to set up unless you?re familiar with all the phone-related stuff.

If your internet connection is decent, it might be a good idea to give
up the POTS line and use a VOIP provider instead, with a asterisk
connected to it.  It would be the easiest way by far.

Asterisk isn?t too complicated for getting basic phone services to work
on which you can expand over time; you only need to overcome the few
first steps.  Since a Centos package for asterisk is missing, you may
want to compile it yourself, which is easy.  However, I had to disable
one of the drivers/features of asterisk in the build config because
there?s a bug that makes asterisk fail when that feature/driver is
enabled --- I left everything else enabled and don?t know what most of
the stuff is ...


The http://nerdvittles.com/ stuff I referenced earlier gives you the choice
of Installing on Centos 6/7, Debian 8 or Raspberry PI. They even have 
virtual

box VM's available.

See http://wable-repo.wardmundy.net/incrediblepbx/ for a list of all of the
choices.


I?m not sure what you?re trying to say; I neither have a facebook account, 
nor

a cell phone, and I don?t understand why cell phones aren?t VOIP clients that
can simply be used with asterisk.


I do not have a facebook account either. The first link above is simply a link
to Ward Mundy's semi weekly articles. If you scroll down the page you can
pick the articles that interest you. I ignore anything having to do with
facebook or self driving cars, etc.. Ward writes about many technical things
but tends to specialize in all things related to telephony.

The 2nd link allows you to pick out the type of pbx that interests you and then
points you to links to his articles that instruct you how to download and build
your choice of pbx. You just have to be care not to click on the stupid ads.

For instance http://nerdvittles.com/?p=14208 takes you to his article to build
"Introducing Incredible PBX 13 for CentOS 6 and 7"

HTH,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Samba won't start on Centos 7.3.1611

2017-10-09 Thread me

On Mon, 9 Oct 2017, Alan McKay wrote:


Hi folks,

I've been googling for an hour on this which seems to be awfully
basic.  But I cannot find anything definitive.

[root@centos-gig ~]# systemctl enable smb.service
Failed to execute operation: Access denied
[root@centos-gig ~]# setenforce 0
[root@centos-gig ~]# systemctl enable smb.service
Failed to execute operation: No such file or directory


Does /usr/lib/systemd/system/smb.service exist? It does not look like it
based on the error above.

Does "rpm -V samba" show anything useful?



Have tried things like :
chcon -t samba_share_t /home/amckay

Also took the output from:
getsebool -a | grep samba

and set all them to "on"


The selinux stuff means nothing if you have selinux set to permissive.



Stripped my config down to the most basic.

What am I missing?


# Global parameters
[global]
netbios name = centos
security = USER
idmap config * : backend = tdb


Is this a standalone server?



[homes]
comment = Home Directories
browseable = No
inherit acls = Yes
read only = No
valid users = %S %D%w%S


Does testparm show any errors?

HTH,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Mate desktop configuration question

2017-12-12 Thread me

Hi,

I am using Mate Desktop from EPEL on a C7.4 system with multiple desktops
enabled.

Does anyone know how to force alt tab to only switch between applications
on the current desktop?

Currently it seems that it picks some random app from another desktop that
I was on previously (most time the browser).

I only want it to chose from apps on the current desktop. It used to work
they way that I want but when I upgraded to 7.4 it broke.

I seem to remember when I built this machine there was a check box somewhere
to control that behavior but I cannot find it.

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] libsmbclient conflict problem

2018-02-06 Thread me

Hi,

I have a c-6 machine that I noticed the following on:

(bugs pts10) # package-cleanup --problems
Loaded plugins: fastestmirror, priorities, refresh-packagekit
Package system-config-printer-libs-1.1.16-26.el6.x86_64 requires 
libsmbclient.so.0()(64bit)
Package kdebase-runtime-libs-4.3.4-9.el6.x86_64 requires 
libsmbclient.so.0()(64bit)

So then I ran:

(bugs pts10) # yum install libsmbclient
Loaded plugins: changelog, fastestmirror, priorities, refresh-packagekit
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: yumrepo
 * extras: yumrepo
 * fasttrack: yumrepo
 * remi: mirror.team-cymru.org
 * remi-php56: mirror.team-cymru.org
 * updates: yumrepo
138 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package libsmbclient.x86_64 0:3.6.23-46el6_9 will be installed
--> Processing Dependency: samba-winbind-clients = 3.6.23-46el6_9 for package: 
libsmbclient-3.6.23-46el6_9.x86_64
--> Processing Dependency: libwbclient.so.0()(64bit) for package: 
libsmbclient-3.6.23-46el6_9.x86_64
--> Running transaction check
---> Package samba-winbind-clients.x86_64 0:3.6.23-46el6_9 will be installed
--> Processing Dependency: samba-winbind = 3.6.23-46el6_9 for package: 
samba-winbind-clients-3.6.23-46el6_9.x86_64
--> Running transaction check
---> Package samba-winbind.x86_64 0:3.6.23-46el6_9 will be installed
--> Processing Dependency: samba-common = 3.6.23-46el6_9 for package: 
samba-winbind-3.6.23-46el6_9.x86_64
--> Running transaction check
---> Package samba-common.x86_64 0:3.6.23-46el6_9 will be installed
--> Processing Conflict: samba4-common-4.2.10-12.el6_9.x86_64 conflicts 
samba-common < 3.9.9
--> Processing Conflict: samba4-winbind-4.2.10-12.el6_9.x86_64 conflicts 
samba-winbind < 3.9.9
--> Processing Conflict: samba4-winbind-clients-4.2.10-12.el6_9.x86_64 conflicts 
samba-winbind-clients < 3.9.9
--> Finished Dependency Resolution
--> Finding unneeded leftover dependencies
Found and removing 0 unneeded dependencies
Error: samba4-winbind conflicts with samba-winbind-3.6.23-46el6_9.x86_64
Error: samba4-winbind-clients conflicts with 
samba-winbind-clients-3.6.23-46el6_9.x86_64
Error: samba4-common conflicts with samba-common-3.6.23-46el6_9.x86_64
 You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
kdebase-runtime-libs-4.3.4-9.el6.x86_64 has missing requires of 
libsmbclient.so.0()(64bit)
system-config-printer-libs-1.1.16-26.el6.x86_64 has missing requires of 
libsmbclient.so.0()(64bit)
(bugs pts10) #

I have the following samba packages installed:

(bugs pts10) # rpm -qa samba4\*
samba4-winbind-clients-4.2.10-12.el6_9.x86_64
samba4-4.2.10-12.el6_9.x86_64
samba4-client-4.2.10-12.el6_9.x86_64
samba4-common-4.2.10-12.el6_9.x86_64
samba4-winbind-4.2.10-12.el6_9.x86_64
samba4-libs-4.2.10-12.el6_9.x86_64
(bugs pts10)

Can someone tell me what what I need to do to resolve the above conflicts?

There does not seem to be a later version of libsmbclient available.

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] libsmbclient conflict problem

2018-02-10 Thread me

On Sun, 11 Feb 2018, Liam O'Toole wrote:


On 2018-02-06, m...@tdiehl.org
 wrote:

Hi,

I have a c-6 machine that I noticed the following on:

(bugs pts10) # package-cleanup --problems Loaded plugins:
fastestmirror, priorities, refresh-packagekit Package
system-config-printer-libs-1.1.16-26.el6.x86_64 requires
libsmbclient.so.0()(64bit) Package
kdebase-runtime-libs-4.3.4-9.el6.x86_64 requires
libsmbclient.so.0()(64bit)

So then I ran:

(bugs pts10) # yum install libsmbclient


[...]


Error: samba4-winbind conflicts with samba-winbind-3.6.23-46el6_9.x86_64
Error: samba4-winbind-clients conflicts with 
samba-winbind-clients-3.6.23-46el6_9.x86_64
Error: samba4-common conflicts with samba-common-3.6.23-46el6_9.x86_64


[...]

The error messages above tell you what the problem is: there is a
conflict between the installed samba4 packages and the samba3 packages
you are trying to install. It looks like someone uninstalled various
samba3 packages using rpm (instead of yum), probably in order to install
samba4, but breaking dependencies of other packages in the process.


That would be me. I uninstalled the samba 3 packages because I need the
functionality of the samba4 packages and the samba 3 protocols are insecure.


I have the following samba packages installed:

(bugs pts10) # rpm -qa samba4\*
samba4-winbind-clients-4.2.10-12.el6_9.x86_64
samba4-4.2.10-12.el6_9.x86_64
samba4-client-4.2.10-12.el6_9.x86_64
samba4-common-4.2.10-12.el6_9.x86_64
samba4-winbind-4.2.10-12.el6_9.x86_64
samba4-libs-4.2.10-12.el6_9.x86_64
(bugs pts10)

Can someone tell me what what I need to do to resolve the above conflicts?


Do you need to keep the samba4 packages?


Yes.


They do not appear to be co-installable with samba3.


Agreed!!

In looking at this a little more it appears to me that there is a provides
missing from the samba4 packages.

I ran the following on another machine with the samba4 packages installed:

(cg2 pts17) # yum install kdebase
Loaded plugins: changelog, dellsysid, fastestmirror, refresh-packagekit, 
security
Setting up Install Process
[...]
Resolving Dependencies
--> Running transaction check
---> Package kdebase.x86_64 6:4.3.4-10.el6 will be installed
--> Processing Dependency: kdebase-runtime for package: 
6:kdebase-4.3.4-10.el6.x86_64
--> Processing Dependency: libkworkspace.so.4()(64bit) for package: 
6:kdebase-4.3.4-10.el6.x86_64
--> Running transaction check
---> Package kdebase-runtime.x86_64 0:4.3.4-9.el6 will be installed
--> Processing Dependency: kdebase-runtime-libs(x86-64) = 4.3.4-9.el6 for 
package: kdebase-runtime-4.3.4-9.el6.x86_64
--> Processing Dependency: libmolletnetwork.so.4()(64bit) for package: 
kdebase-runtime-4.3.4-9.el6.x86_64
--> Processing Dependency: libkwalletbackend.so.4()(64bit) for package: 
kdebase-runtime-4.3.4-9.el6.x86_64
---> Package kdebase-workspace-libs.x86_64 0:4.3.4-37.el6 will be installed
--> Processing Dependency: kdebase-workspace = 4.3.4-37.el6 for package: 
kdebase-workspace-libs-4.3.4-37.el6.x86_64
--> Running transaction check
---> Package kdebase-runtime-libs.x86_64 0:4.3.4-9.el6 will be installed
--> Processing Dependency: libsmbclient.so.0()(64bit) for package: 
kdebase-runtime-libs-4.3.4-9.el6.x86_64
---> Package kdebase-workspace.x86_64 0:4.3.4-37.el6 will be installed
--> Running transaction check
---> Package libsmbclient.x86_64 0:3.6.23-46el6_9 will be installed
--> Running transaction check
---> Package samba-winbind-clients.x86_64 0:3.6.23-46el6_9 will be installed
--> Processing Dependency: samba-winbind = 3.6.23-46el6_9 for package: 
samba-winbind-clients-3.6.23-46el6_9.x86_64
--> Running transaction check
---> Package samba-winbind.x86_64 0:3.6.23-46el6_9 will be installed
--> Processing Dependency: samba-common = 3.6.23-46el6_9 for package: 
samba-winbind-3.6.23-46el6_9.x86_64
--> Running transaction check
---> Package samba-common.x86_64 0:3.6.23-46el6_9 will be installed
--> Processing Conflict: samba4-common-4.2.10-12.el6_9.x86_64 conflicts 
samba-common < 3.9.9
--> Processing Conflict: samba4-winbind-4.2.10-12.el6_9.x86_64 conflicts 
samba-winbind < 3.9.9
--> Processing Conflict: samba4-winbind-clients-4.2.10-12.el6_9.x86_64 conflicts 
samba-winbind-clients < 3.9.9
--> Finished Dependency Resolution
Error: samba4-winbind conflicts with samba-winbind-3.6.23-46el6_9.x86_64
Error: samba4-winbind-clients conflicts with 
samba-winbind-clients-3.6.23-46el6_9.x86_64
Error: samba4-common conflicts with samba-common-3.6.23-46el6_9.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
(cg2 pts17)
--> Processing Dependency: libwbclient.so.0()(64bit) for package: 
libsmbclient-3.6.23-46el6_9.x86_64

As you can see above, the the resolver totally ignores the fact that the samba4
packages are installed and tries to pull in the samba 3 packages. This smells
like a packaging b

Re: [CentOS] libsmbclient conflict problem

2018-02-12 Thread me

On Sun, 11 Feb 2018, Liam O'Toole wrote:


On 2018-02-11, m...@tdiehl.org
 wrote:

On Sun, 11 Feb 2018, Liam O'Toole wrote:


On 2018-02-06, m...@tdiehl.org
 wrote:

Hi,

I have a c-6 machine that I noticed the following on:

(bugs pts10) # package-cleanup --problems Loaded plugins:
fastestmirror, priorities, refresh-packagekit Package
system-config-printer-libs-1.1.16-26.el6.x86_64 requires
libsmbclient.so.0()(64bit) Package
kdebase-runtime-libs-4.3.4-9.el6.x86_64 requires
libsmbclient.so.0()(64bit)

So then I ran:

(bugs pts10) # yum install libsmbclient


[...]


Error: samba4-winbind conflicts with samba-winbind-3.6.23-46el6_9.x86_64
Error: samba4-winbind-clients conflicts with 
samba-winbind-clients-3.6.23-46el6_9.x86_64
Error: samba4-common conflicts with samba-common-3.6.23-46el6_9.x86_64


[...]

The error messages above tell you what the problem is: there is a
conflict between the installed samba4 packages and the samba3 packages
you are trying to install. It looks like someone uninstalled various
samba3 packages using rpm (instead of yum), probably in order to install
samba4, but breaking dependencies of other packages in the process.


That would be me. I uninstalled the samba 3 packages because I need the
functionality of the samba4 packages and the samba 3 protocols are insecure.


I have the following samba packages installed:

(bugs pts10) # rpm -qa samba4\*
samba4-winbind-clients-4.2.10-12.el6_9.x86_64
samba4-4.2.10-12.el6_9.x86_64
samba4-client-4.2.10-12.el6_9.x86_64
samba4-common-4.2.10-12.el6_9.x86_64
samba4-winbind-4.2.10-12.el6_9.x86_64
samba4-libs-4.2.10-12.el6_9.x86_64
(bugs pts10)

Can someone tell me what what I need to do to resolve the above conflicts?


Do you need to keep the samba4 packages?


Yes.


They do not appear to be co-installable with samba3.


Agreed!!

In looking at this a little more it appears to me that there is a provides
missing from the samba4 packages.

I ran the following on another machine with the samba4 packages installed:


[...]


--> Processing Conflict: samba4-common-4.2.10-12.el6_9.x86_64 conflicts 
samba-common < 3.9.9
--> Processing Conflict: samba4-winbind-4.2.10-12.el6_9.x86_64 conflicts 
samba-winbind < 3.9.9
--> Processing Conflict: samba4-winbind-clients-4.2.10-12.el6_9.x86_64 conflicts 
samba-winbind-clients < 3.9.9
--> Finished Dependency Resolution
Error: samba4-winbind conflicts with samba-winbind-3.6.23-46el6_9.x86_64
Error: samba4-winbind-clients conflicts with 
samba-winbind-clients-3.6.23-46el6_9.x86_64
Error: samba4-common conflicts with samba-common-3.6.23-46el6_9.x86_64
  You could try using --skip-broken to work around the problem
  You could try running: rpm -Va --nofiles --nodigest
(cg2 pts17)
--> Processing Dependency: libwbclient.so.0()(64bit) for package: 
libsmbclient-3.6.23-46el6_9.x86_64

As you can see above, the the resolver totally ignores the fact that
the samba4 packages are installed and tries to pull in the samba 3
packages. This smells like a packaging bug to me but I could be wrong.

Can anyone confirm or deny this?

Regards,



I think it goes a bit deeper than a missing provides (in the packaging
sense). Only samba3 contains libwbclient.so.0:

$ yum resolvedep libwbclient.so.0
0:samba-winbind-clients-3.6.23-46el6_9.i686

That can be verified using repoquery (from the package yum-utils):

$ repoquery -l samba4-winbind-clients.x86_64 | grep wbclient
(no output)


Wrong package. it is in samba4-libs-4.2.10-12.el6_9.x86_64.

(bugs pts3) # repoquery -l samba4-libs-4.2.10-12.el6_9.x86_64 | grep wbclient
/usr/lib64/samba/libwbclient.so.0
/usr/lib64/samba/libwbclient.so.0.12
(bugs pts3) #

It looks to me like they changed the package names between samba 3 and samba4.

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Ansible repository shenanigans in EL7

2018-04-11 Thread me


On 11 Apr 2018 09:48 Fabian Arrotin wrote:


On 11/04/18 13:58, James Hogarth wrote:
> For those not aware ansible has been deprecated in RHEL7 from the extras
> repository.
> 
> In the RHEL specific world it's now in an optional "product" (basically an

> optional subscription) that is part of any RHEL subscription, but it's opt
> in.
> 
> As a result ansible is back in the EPEL7 repository for 2.5.0+ , having

> been removed for  ansible 2.4.2 when it got introduced to the  RHEL extras
> repo.
> 
> I have no idea what, if anything, the CentOS team will do with the ansible

> in the CentOS7 extras repository.

That's a good question, as "orphaning" it would be an issue for all
people now getting it directly from Extras, if they don't have epel
added (also "opt-in")

AFAICS, nothing is pushed to git.centos.org anymore for it :
https://git.centos.org/summary/rpms!ansible.git

So I guess it would be a question for the centos-devel list :
- either we orphan it (and the other pkgs required for it) from extras
- or we try to build those and continue to provide ansible


Does it really matter which repo it comes from?

I would expect the users of ansible to be smart enough to get it from epel
or extras. As long as we know how to get it I do not see this as a big deal.

It seems that since it is already being built for EPEL, that would be the path
of least resistance for the Centos devs.

Just my $.02

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Problem with cr repo.

2018-04-30 Thread me

Hi,

I am having a problem with yum update from the cr repo.
Below is the output of yum:

(vgeppetto2 pts4) # yum update
Loaded plugins: changelog, fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * epel: mirror.cogentco.com
171 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package python-urllib3.noarch 0:1.10.2-3.el7 will be updated
---> Package python-urllib3.noarch 0:1.10.2-5.el7 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

===
 Package Arch   
 Version
 Repository   Size
===
Updating:
 python-urllib3  noarch 
 1.10.2-5.el7   
 cr  102 k

Transaction Summary
===
Upgrade  1 Package

Total download size: 102 k
Is this ok [y/d/N]: y
Downloading packages:
python-urllib3-1.10.2-5.el7.noarch.rpm  | 102 kB  00:00:00 
Running transaction check

Running transaction test
Transaction test succeeded
Running transaction
  Updating   : python-urllib3-1.10.2-5.el7.noarch  1/2 
Error unpacking rpm package python-urllib3-1.10.2-5.el7.noarch

error: unpacking of archive failed on file 
/usr/lib/python2.7/site-packages/urllib3/packages/ssl_match_hostname: cpio: 
rename
  Verifying  : python-urllib3-1.10.2-5.el7.noarch  1/2 
python-urllib3-1.10.2-3.el7.noarch was supposed to be removed but is not!

  Verifying  : python-urllib3-1.10.2-3.el7.noarch   

   2/2

Failed:
  python-urllib3.noarch 0:1.10.2-3.el7  
   python-urllib3.noarch 0:1.10.2-5.el7

Complete!
(vgeppetto2 pts4) #

Can someone look at this and tell me if this is a packaging problem or
a problem with my machine and how to fix it?

I ran yum clean metadata before the yum update run but no change.

Regards,


--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with cr repo.

2018-04-30 Thread me

On Mon, 30 Apr 2018, Marek Blaha wrote:


I can achieve the same error by
removing /usr/lib/python2.7/site-packages/urllib3/packages/ssl_match_hostname
and creating the directory in the same location instead.
So solution can be just removing this directory (or just renaming it):

# mv /usr/lib/python2.7/site-packages/urllib3/packages/ssl_match_
hostname
/usr/lib/python2.7/site-packages/urllib3/packages/ssl_match_hostname.backup

# yum update python-urllib3


That worked!!

Thanks for the help.

My only remaining question is what caused it. I suspect I will never know but
the fix was simple enough.

Regards,

--
Tom m...@tdiehl.org



M.

--
Marek Blaha 

Red Hat Czech s.r.o.
Software Engineer

On Mon, Apr 30, 2018 at 3:04 PM,  wrote:


Hi,

I am having a problem with yum update from the cr repo.
Below is the output of yum:

(vgeppetto2 pts4) # yum update
Loaded plugins: changelog, fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * epel: mirror.cogentco.com
171 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package python-urllib3.noarch 0:1.10.2-3.el7 will be updated
---> Package python-urllib3.noarch 0:1.10.2-5.el7 will be an update
--> Finished Dependency Resolution

Dependencies Resolved




===
 Package Arch
  Version
   Repository   Size



===
Updating:
 python-urllib3  noarch
  1.10.2-5.el7
  cr  102 k

Transaction Summary



===
Upgrade  1 Package

Total download size: 102 k
Is this ok [y/d/N]: y
Downloading packages:
python-urllib3-1.10.2-5.el7.noarch.rpm

  | 102 kB  00:00:00 Running
transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : python-urllib3-1.10.2-5.el7.noarch

  1/2 Error
unpacking rpm package python-urllib3-1.10.2-5.el7.noarch
error: unpacking of archive failed on file /usr/lib/python2.7/site-packag
es/urllib3/packages/ssl_match_hostname: cpio: rename
  Verifying  : python-urllib3-1.10.2-5.el7.noarch

  1/2
python-urllib3-1.10.2-3.el7.noarch was supposed to be removed but is not!
  Verifying  : python-urllib3-1.10.2-3.el7.noarch

  2/2

Failed:
  python-urllib3.noarch 0:1.10.2-3.el7
 python-urllib3.noarch 0:1.10.2-5.el7

Complete!
(vgeppetto2 pts4) #

Can someone look at this and tell me if this is a packaging problem or
a problem with my machine and how to fix it?

I ran yum clean metadata before the yum update run but no change.

Regards,


--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


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


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


Re: [CentOS] Updated krb5 rpm package altered existing krb5.conf - No go

2018-06-14 Thread me

On Thu, 14 Jun 2018, Richard Grainger wrote:


On Wed, Jun 13, 2018 at 6:56 PM G?tz Reinicke
 wrote:


/etc/krb5.conf


I looked at the spec file in the source RPM for the krb5-libs package
and it it has the correct %config(noreplace) directive next to that
file in the %files section, so this is mysterious.


I too can confirm this behavior. I do not know why it gets modified but
adding the include line breaks self compiled samba DC installations because
of the difference in kerberos types used with samba and Red Hat.

I suspect that this should be filed as a bug in upstream bugzilla since
it does not look like Centos modified the krb5-libs spec file.

Presently, to work around the problem, I have ansible fix the file after
updates.

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Updated krb5 rpm package altered existing krb5.conf - No go

2018-06-18 Thread me

On Mon, 18 Jun 2018, G?tz Reinicke wrote:





Am 15.06.2018 um 01:04 schrieb Gordon Messmer :

On 06/14/2018 09:30 AM, m...@tdiehl.org wrote:

On Thu, 14 Jun 2018, Richard Grainger wrote:


I looked at the spec file in the source RPM for the krb5-libs package
and it it has the correct %config(noreplace) directive next to that
file in the %files section, so this is mysterious.


I too can confirm this behavior.


# rpm -qa krb\* --triggers
triggerun scriptlet (using /bin/sh) -- krb5-libs < 1.15.1-13
if ! grep -q 'includedir /etc/krb5.conf.d' /etc/krb5.conf ; then
sed -i '1i # Other applications require this directory to perform krb5 
configuration.\nincludedir /etc/krb5.conf.d/\n' /etc/krb5.conf
fi


Looks like that's the culprit.



Good to know, but writing a rpmnew or rpmsave file would be nice to check 
against the life used file.


Agreed! IMO this is a packaging bug. Triggers do not drop rpmsave files. I 
suspect the chances of getting
Red Hat to fix it are slim to none. Fixing it would most likely break other 
things for them.



The samba people are aware of that problem regarding the include line and are 
working on a patch ? the support at SerNet told me.


I agree they are aware of it but I suspect it is a low priority thing given
they have known about this since 2016-12-29.

I do think it would be relatively easy for SerNet to patch around in their
paid for rpms. alas I do not have the budget for them. :-(

The bug is available at https://bugzilla.samba.org/show_bug.cgi?id=12488

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Samba issues with Win 10

2018-07-03 Thread me

On Thu, 28 Jun 2018, mark wrote:


Walter H. wrote:

On 28.06.2018 16:30, mark wrote:


Just ran into a problem: someone with a new laptop, running Win 10,
version 1709, tried to map their home directory (served from a CentOS 6.9
box, and it fails, with Windows complaining that it no longer supports
SMBv1, and if you go to their site, you can install support
for that manually

The server running samba can *not* be updated to 7 - we have a lot of
stuff based off it, and most of our users use it, one way or another, so
it's a major thing when we do finally upgrade (or, more likely, replace
the server).

Has anyone run into this, and if so, any workarounds on the Linux end?



the solution is to enable SMBv1 in Win10 ... look for this in the
Knowledge-Base of Microsoft


DO not do that is you care at all about security!!



https://support.microsoft.com/en-sg/help/2696547/how-to-detect-enable-and
-disable-smbv1-smbv2-and-smbv3-in-windows-and


Our desktop support person found that, but as I said, it is apparently a
manual install for desktop support. And is it the case that, although
we've shut off the lower level of security on samba on CentOS 6, that it's
still smbv1?

Are there any updates? Is there something in, say, the SCL that might
support smbv2, or is there some way to configure the regular smb to
support v2?


You did not say what version of samba you are running but I am going to assume
it is not the samba4 rpms that come with c-6.

I would suggest that you remove the currently installed samba rpms and install
samba4-4.2.10-12.el6_9.x86_64 and friends.

I have several customers still running c-6 with the samba4 rpms using win10 and
win server 2016 that work just fine and best of all no smb_1

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Samba issues with Win 10

2018-07-04 Thread me

On Tue, 3 Jul 2018, mark wrote:


m...@tdiehl.org wrote:

On Thu, 28 Jun 2018, mark wrote:

Walter H. wrote:

On 28.06.2018 16:30, mark wrote:


Just ran into a problem: someone with a new laptop, running Win 10,
 version 1709, tried to map their home directory (served from a
CentOS 6.9
box, and it fails, with Windows complaining that it no longer
supports SMBv1, and if you go to their site, you can install support
 for that manually

The server running samba can *not* be updated to 7 - we have a lot
of stuff based off it, and most of our users use it, one way or
another, so it's a major thing when we do finally upgrade (or, more
likely, replace the server).

Has anyone run into this, and if so, any workarounds on the Linux
end?




You did not say what version of samba you are running but I am going to
assume it is not the samba4 rpms that come with c-6.


The default samba, 3.6.23-51.


I would suggest that you remove the currently installed samba rpms and
install samba4-4.2.10-12.el6_9.x86_64 and friends.

I have several customers still running c-6 with the samba4 rpms using
win10 and win server 2016 that work just fine and best of all no smb_1


The real issue, which you may have missed, is that this is *heavily* used
by the entire Office. Such an upgrade would require extensive testing
before we can roll it out. By the time we do that, we may have finally
ordered a replacement server for the system, and the new one will be C7.


I did not miss it. I seem to remember that you asked for something in SCL.
If you are willing to use SCL then why not use packages supplied in base?

If you are not willing to do the testing then your only choice is NO SECURITY.
SMB_1 is not secure and should not be used. That is why it is no longer
supported in Win 10 or samba 3.x. For once MS is doing the right thing.


This isn't a cube farm, but 30 or 50 or 60 people being out of capability
for hours or days is not something we do.


It is not an intrusive change but I agree it should be tested.

Bottom line is it is your system so you get to decide. :-)

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Where can I find the 6.10 centos-release srpm?

2018-07-04 Thread me

Hi,

Where can I find the srpm for centos-release-6-10.el6.centos.12.3.x86_64?

I looked in vault and it is not there.

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Where can I find the 6.10 centos-release srpm?

2018-07-04 Thread me

On Wed, 4 Jul 2018, Phil Wyett wrote:


On Wed, 2018-07-04 at 16:06 -0400, m...@tdiehl.org wrote:

Hi,

Where can I find the srpm for centos-release-6-10.el6.centos.12.3.x86_64?

I looked in vault and it is not there.



The 6.10 folder is in place, but we need to give the team chance to upload. I
would assume it will appear in coming days or alternatively, you could create
your own from git.centos.org.


Hi,

Yea, I know it will show up in a few days. In the past when I asked, someone
usually provides a url to it so that I can get going with what I have to do.

TBH, Pulling the sources from git.centos.org would be a great way to get the
sources if it worked as per the documentation @ https://wiki.centos.org/Sources
I thought that I had this figured out for C7 by following the above wiki page
but if I pull the sources for the c7 centos-release rpm when I look at the spec
file I see it is for 7.3.1611. If I try to do a git checkout for c6 I get the
following error:

(vgeppetto2 pts14) $ git checkout c6
error: pathspec 'c6' did not match any file(s) known to git.
(vgeppetto2 pts14) $

So at this point in time, I am lost. Can someone tell me what the magic
incantation is to actually get the latest sources?

It would also be nice if it was described how to do this
@ https://wiki.centos.org/Sources so that mear mortals like myself could
understand how to actually use it.

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Where can I find the 6.10 centos-release srpm?

2018-07-10 Thread me

On Tue, 10 Jul 2018, Andrew Colin Kissa wrote:


On 05/07/2018 13:34, Johnny Hughes wrote:

 I pushed the 3 SRPMs that are not in CR to:

 http://vault.centos.org/6.10/os/Source/SPackages/

 They should be there in a few minutes (after the master mirror syncs out
 to the rest of the vault mirrors).

 All the other new SRPMS should be available from :

 http://vault.centos.org/6.9/cr/Source/SPackages/


It seems some SRPMS are still missing in both CR and the 6.10 source
directories. An example of the missing SRPMS is anaconda.

Any timelines on when the full srpms will hit the mirrors ?


SRPMS do not get mirrored. They are in the vault. For 1804 try looking
in http://vault.centos.org/7.5.1804/os/Source/SPackages/

I see 3 anaconda SRPMS in there.

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] How do I actaully get the current sources from centos-git?

2018-08-06 Thread me

Hi,

I am trying to retrieve the srpm for the latest centos-release pacakge
from centos-git by following the instructions @ https://wiki.centos.org/Sources.

If I run the following commands:
git clone  https://git.centos.org/git/rpms/centos-release.git
cd centos-release/
git checkout c7
~/centos-git-common/get_sources.sh

Everything completes without error. The problem is that the sources that get
downloaded are not for 1804.

(vgeppetto2 pts21) $ ll SOURCES/ SPECS/
SOURCES/:
total 28
-rw-rw-r--. 1 mock mock  1584 Aug  6 08:19 1000-centos-release-cr.patch
-rw-rw-r--. 1 mock mock   264 Aug  6 08:19 85-display-manager.preset
-rw-rw-r--. 1 mock mock  2439 Aug  6 08:19 90-default.preset
-rw-rw-r--. 1 mock mock 12799 Aug  6 08:20 centos-release-7-1.1503.tar.gz

SPECS/:
total 8
-rw-rw-r--. 1 mock mock 6471 Aug  6 08:19 centos-release.spec
(vgeppetto2 pts21) $grep "define upstream_rel" SPECS/centos-release.spec 
%define upstream_rel 7.3

(vgeppetto2 pts21) $

So if I am reading things correctly, it looks like the SOURCES are for 1503 
and the spec file is for 1611.


Can someone please explain to me how to actually get the current SOURCES
and SPEC for centos-release-7-5.1804.1 from centos git?

To be clear I know I can get the srpm from vault but I would like to understand
how to work centos git.

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How do I actaully get the current sources from centos-git?

2018-08-19 Thread me

Hi Johnny,

On Wed, 15 Aug 2018 joh...@centos.org wrote:


The issue is specifically with the ability to push sources to
git.centos.org in the shadow cache.

I can't do that in the current setup, only Red Hat RCM can.  I can push
text into git, but not binary files to shadow cache.

The only package impacted is centos-release, because it is the only
package that we actually change the tarball and where I would need to
push to shadow cache.

If I push the spec changes, but not the shadow cache changes, it renders
centos-release not buildable.

We are working on an update whereby I will be able to push the changes
to git.centos.org .. when we get that in place, I will maintain
centos-release there like all the other packages.

In the mean time, we have a 'unified centos-release' here in git (for
all c7 arches):

https://github.com/CentOS/sig-core-AltArch/tree/master/centos-release

You will still need to download the SRPM to get the tarball.


Thanks for the update.

Will there be some kind of announcement when you are able to push to
git.centos.org?

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Stupid C7 firewall question

2018-10-26 Thread me

On Thu, 25 Oct 2018, Valeri Galtsev wrote:

Thanks Warren for nice quick start covering everything one needs to configure 
firewalld. There is one thing I am related to "direct iptables manipulation" 
which is: suppose I made configuration of some machine, which then I am going 
to replicate just by using kickstart when building new machines. What should 
I add to kickstart configuration file to make my configured firewalld part 
reproduced on all newly built machines?


We stopped using kickstart and switched to ansible but the process is basically
the same. Simply copy the appropriate files in /etc/firewalld. For me that 
means the
files in the zones directory and in the services directory.

Any changes you have made to the default configurations will be stored under
/etc/firewalld. If the directories are empty, then you are running defaults.

Because we run configuration management, I mostly just edit the files with an
editor. The format is generally very simple to understand. The defaults are
stored in /usr/lib/firewalld/. You can use the files there as examples by
copying them to the correct directory in /etc/firewalld and making the necessary
modifications. Don't forget to reload firewalld after any changes.

Regards,


--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Address Codes

2018-10-30 Thread me

On Tue, 30 Oct 2018, Chris Olson via CentOS wrote:


One of our summer interns has stayed on during the school
year to work some weekends on special assignments. This past
weekend, her assignment was to draft, and try out, procedures
for scanning all incoming regular mail including the envelopes.
This is a new effort for us because previous mail handling was
done by another organization.

Most of our incoming mail is from other businesses that create
printed address labels.? Many of these labels also have a type
of bar code below the address.? Is there a Linux utility or
standard application that will read and translate these codes.


Google for "Intelligent Mail Barcode" Here is one link:
https://postalpro.usps.com/mailing/intelligent-mail-barcode but there are
many others. IIRC the postal service even publishes the specs so you can
build your own software.

Handling bulk mail is way more complex than most people realize.
Decoding the Intelligent Mail Barcode is trivial but it might not 
be as useful as you think. It is mostly meant the USPS to route
mail and to provide information to the sender about how much of 
their mail got delivered and what got returned.


For example, if you track your bulk mail that you send, and a piece gets
returned you can simply scan the bar code and compare against your db to
know what got returned without even opening the envelope.

HTH,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] off-topic question about RDP to Win-10

2018-11-12 Thread me

On Sun, 11 Nov 2018, Fred Smith wrote:


I have a win10 VM in virtualbox on my Linux (C7) desktop. I CAN connect
to it with rdesktop 1.8.3 (now rather old, but it's the latest release),
but cannot connect with remmina or krdc. Both of them just hang for a
while then say they can't connect.

Curiously, they all will connect to the win10 box in my office.

They don't show any other useful information, and I don't know where
to go to figure this out. Anyone out there have any ideas they can share?


In the advanced tab of remmina, make sure security is set to TLS. IIRC it
defaults to negotiate which does not work.

I had this same problem with win-10.

FWIW, After some updates were installed on my win-7 vm's they suddenly stopped
connecting with remmina. Switching the security to TLS fixed the problem.

HTH,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


  1   2   >