Re: [CentOS] Old and new package version numbers during RPM update

2015-06-28 Thread Anand Buddhdev
On 28/06/15 03:06, Joseph L. Casale wrote: Hi Joseph, > Well normal convention would be if you replace then the old one > gets appended with .rpmsave, if you are not replacing then the new > one gets appended with .rpmnew. I'm also aware of this, but it's not what I need :) > On the other hand,

Re: [CentOS] Anyone else think the latest Xorg fix is hogging stuff?

2015-06-28 Thread Bill Maltby (C4B)
On Sat, 2015-06-27 at 21:17 -0400, Mark LaPierre wrote: > On 06/27/15 17:05, Bill Maltby (C4B) wrote: > > Since the latest update (may wrap here), > > xorg-x11-server-Xorg-1.15.0-26.el6.centos.0.1.x86_64 Sat 20 Jun 2015 > > 04:16:01 PM EDT > > xorg-x11-server-common-1.15.0-26.el6.centos.0.1.x86_64

Re: [CentOS] Old and new package version numbers during RPM update

2015-06-28 Thread Leon Fauster
Am 28.06.2015 um 01:59 schrieb Anand Buddhdev : > In an RPM post-install script, is it possible to know the previous > version number, and the new version number of a package if it's an update? > > I need to know this, because for a certain package, if updating from > version 1.x to 2.x, I need to

Re: [CentOS] Anyone else think the latest Xorg fix is hogging stuff?

2015-06-28 Thread Bill Maltby (C4B)
On Sat, 2015-06-27 at 21:17 -0400, Mark LaPierre wrote: > On 06/27/15 17:05, Bill Maltby (C4B) wrote: > > Since the latest update (may wrap here), > > xorg-x11-server-Xorg-1.15.0-26.el6.centos.0.1.x86_64 Sat 20 Jun 2015 > > 04:16:01 PM EDT > > xorg-x11-server-common-1.15.0-26.el6.centos.0.1.x86_64

Re: [CentOS] Old and new package version numbers during RPM update

2015-06-28 Thread John R Pierce
On 6/27/2015 5:38 PM, Anand Buddhdev wrote: Thanks Joseph. I am aware of this option, but it would be only a last resort, because checking the format of the config file is error-prone. why doesn't the config file have the version in it ? not having that makes your whole system error prone.

[CentOS] Using a CentOS 6 Machine as a gateway/router/home server

2015-06-28 Thread Max Pyziur
Greetings, I'm rebuilding a machine to function as a gateway/router to Verizon DSL. It has two NICs eth0 and eth1 (static set to 192.168.1.1). eth0 connects to the DSL modem. I've setup Verizon DSL usine pppoe-setup, and it works. I can connect from home machines to the server (192.168.1.1)

Re: [CentOS] Using a CentOS 6 Machine as a gateway/router/home server

2015-06-28 Thread Listman
You need NAT setup on the server. ZK > On Jun 28, 2015, at 2:50 PM, Max Pyziur wrote: > > > Greetings, > > I'm rebuilding a machine to function as a gateway/router to Verizon DSL. > > It has two NICs eth0 and eth1 (static set to 192.168.1.1). > > eth0 connects to the DSL modem. > > I've

Re: [CentOS] Using a CentOS 6 Machine as a gateway/router/home server

2015-06-28 Thread Alexander Dalloz
Am 28.06.2015 um 20:50 schrieb Max Pyziur: [ ... ] I can't connect from the home machines directly to the Internet. I have set net.ipv4.ip_forward = 1 in /etc/sysctl.conf I haven't setup the firewall yet (dangerous, I know) until I get the connectivity working. Part of the firewall setup (i

Re: [CentOS] Using a CentOS 6 Machine as a gateway/router/home server

2015-06-28 Thread Brian Miller
On Sun, 2015-06-28 at 14:50 -0400, Max Pyziur wrote: > I haven't setup the firewall yet (dangerous, I know) until I get the > connectivity working. > > I'm obviously overlooking some other configuration settings required for > machines inside the network being able to connect through the > gat

Re: [CentOS] Old and new package version numbers during RPM update

2015-06-28 Thread Leon Fauster
Am 28.06.2015 um 17:50 schrieb John R Pierce : > On 6/27/2015 5:38 PM, Anand Buddhdev wrote: >> Thanks Joseph. I am aware of this option, but it would be only a last >> resort, because checking the format of the config file is error-prone. > > why doesn't the config file have the version in it ?

Re: [CentOS] Old and new package version numbers during RPM update

2015-06-28 Thread Anand Buddhdev
On 28/06/15 17:50, John R Pierce wrote: > On 6/27/2015 5:38 PM, Anand Buddhdev wrote: >> Thanks Joseph. I am aware of this option, but it would be only a last >> resort, because checking the format of the config file is error-prone. > > why doesn't the config file have the version in it ? not h

Re: [CentOS] Old and new package version numbers during RPM update

2015-06-28 Thread John R Pierce
On 6/28/2015 2:26 PM, Anand Buddhdev wrote: On 28/06/15 17:50, John R Pierce wrote: why doesn't the config file have the version in it ? not having that makes your whole system error prone. Perhaps I wasn't clear. Version 1 of the package uses a config file that looks like this: system {

Re: [CentOS] LVM hatred, was Re: /boot on a separate partition?

2015-06-28 Thread Bob Marcan
On Wed, 24 Jun 2015 14:06:19 -0500 Chris Adams wrote: > Now, if btrfs ever gets all the kinks worked out (and has a stable > "fsck" for the corner cases), it integrates volume management into the > filesystem, which makes some of the management easier. I used AdvFS on > DEC/Compaq/HP Tru64 Unix

Re: [CentOS] Using a CentOS 6 Machine as a gateway/router/home server

2015-06-28 Thread Max Pyziur
On Sun, 28 Jun 2015, Brian Miller wrote: On Sun, 2015-06-28 at 14:50 -0400, Max Pyziur wrote: I haven't setup the firewall yet (dangerous, I know) until I get the connectivity working. I'm obviously overlooking some other configuration settings required for machines inside the network being a

Re: [CentOS] Old and new package version numbers during RPM update

2015-06-28 Thread Kahlil Hodgson
On 29 June 2015 at 07:37, John R Pierce wrote: > so a regex looking for "system:" vs "system {" should nicely delineate > these. I dunno, I might even put that into the conversion utility and > have it just quit if the file is already in the new format, and always run > it. > ​+1 for the ide

Re: [CentOS] Using a CentOS 6 Machine as a gateway/router/home server

2015-06-28 Thread zep
On 06/28/2015 03:20 PM, Alexander Dalloz wrote: > Am 28.06.2015 um 20:50 schrieb Max Pyziur: > > > Part of the firewall setup (iptables) is to configure masquerading. > That's you issue, the missing masquerading of the traffic from the LAN > hosts through the gateway. > >> I'm obviously overlooki

Re: [CentOS] Old and new package version numbers during RPM update

2015-06-28 Thread Anand Buddhdev
On 29/06/15 01:07, Kahlil Hodgson wrote: > On 29 June 2015 at 07:37, John R Pierce wrote: > >> so a regex looking for "system:" vs "system {" should nicely delineate >> these. I dunno, I might even put that into the conversion utility and >> have it just quit if the file is already in the ne

Re: [CentOS] Using a CentOS 6 Machine as a gateway/router/home server

2015-06-28 Thread John R Pierce
On 6/28/2015 3:49 PM, Max Pyziur wrote: I also seem to need to load iptable_nat nf_nat_ftp via rc.local Is this correct? only if you're running some Linux build from the 1990s. nothing on RHEL/CentOS should need anything in rc.local -- john r pierce, recycling bits in santa cruz ___

Re: [CentOS] /boot on a separate partition?

2015-06-28 Thread Chris Murphy
On Fri, Jun 26, 2015 at 8:47 PM, Jonathan Billings wrote: > On Fri, Jun 26, 2015 at 10:54:07AM -0600, Chris Murphy wrote: >> This makes no sense to me. rEFInd dynamically discovers linux kernel >> updates, it doesn't need any regular configuration file changes. Once >> you configure it, it's a sta

Re: [CentOS] Using a CentOS 6 Machine as a gateway/router/home server

2015-06-28 Thread Sorin Srbu
> -Original Message- > From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On > Behalf Of Max Pyziur > Sent: den 28 juni 2015 20:50 > To: centos@centos.org > Subject: [CentOS] Using a CentOS 6 Machine as a gateway/router/home > server > > I'm rebuilding a machine to function

Re: [CentOS] Using a CentOS 6 Machine as a gateway/router/home server

2015-06-28 Thread Sorin Srbu
> -Original Message- > From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On > Behalf Of Sorin Srbu > Sent: den 29 juni 2015 08:11 > To: CentOS mailing list > Subject: Re: [CentOS] Using a CentOS 6 Machine as a gateway/router/home > server > > > -Original Message- >

Re: [CentOS] Using a CentOS 6 Machine as a gateway/router/home server

2015-06-28 Thread John R Pierce
On 6/28/2015 11:11 PM, Sorin Srbu wrote: May I ask why you don't just use a made-for-the-purpose-distro like Smoothwall to do this? indeed, I use pfSense, running on a APU1D4 [1] router board as my firewall, and a separate home server on a HP Microserver [2]. IMHO, keeping the firewall functi

Re: [CentOS] Using a CentOS 6 Machine as a gateway/router/home server

2015-06-28 Thread Sorin Srbu
> -Original Message- > From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On > Behalf Of John R Pierce > Sent: den 29 juni 2015 08:29 > To: centos@centos.org > Subject: Re: [CentOS] Using a CentOS 6 Machine as a gateway/router/home > server > > On 6/28/2015 11:11 PM, Sorin