Re: [CentOS] CentOS 5.0 /proc Backup/Restore

2008-01-11 Thread Tony Molloy
On Thursday 10 January 2008 23:18:33 Krautkramer, John wrote:
> Hi,
>
>
>
> I've recently switched to CentOS 5.0 from RedHat 9.0 and found a new
> directory /proc which contains "virtual" files according to the docs.
> When I try to run my normal backup which uses cpio to create archives,
> it complains about not being able to access many files in the /proc
> directory. This is also true of some files in /sys/devices.
>
>
>
> Searching for something that wouldn't have this problem, I tried
> mondorescue. One of the first things I noticed is, by default,
> mondorescue skips the /proc directory. Does anyone know the details of
> my observations here? Are these files automatically generated at
> runtime?
>
>
>
> Thanks is advance for any insight someone can provide here!
>
>
>
> John

Yes, the /proc directory basically contains information on the running kernel 
and should never be backed up.

Tony 

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


Re: [CentOS] Major update and again no new repodata

2008-01-18 Thread Tony Molloy
On Friday 18 January 2008 12:42:32 Robert Moskowitz wrote:
> Yesterday I pulled down a major update to OpenOffice.  But no updates to
> repodata.
>
> I waited a day to see if there was some reason for the lag (like more
> rpms needed to complete the set), but still today, no repodata to pull
> down (my rsync looks for more recent file dates).
>
> Help?
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

See the same problem here. Wait for the mirrors to sync I presume.

Tony

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


Re: [CentOS] Auth/Security tool at first boot

2008-01-25 Thread Tony Molloy
On Friday 25 January 2008 17:21:47 Joseph L. Casale wrote:
> What is the name of this tool that appears when you reboot from install and
> allows you to setup your selinux, iptables and auth configuration?
>
> Thanks!
> jlc


firstboot !!!


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


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


Re: [CentOS] Dump on remote filesystems?

2008-01-29 Thread Tony Molloy
On Tuesday 29 January 2008 12:43:48 Tom Brown wrote:
> > I have a couple C5 systems I want to back up.  My plan is to, one way
> > or another, back them up to a C5 machine in my office.  I have samba
> > installed on the systems to back up, the machines are mounted on the
> > system in my office, and a tape library hanging of the system in my
> > office.
> >
> > I was hoping to perform a simple /sbin/dump of the remote systems.  I
> > put together a script for another successful backup I have going on a
> > system with local filesystems.  But for remote filesystems, I get
> > errors of File Cannot Be Accessed (//remote_system/subdir) which does
> > exist as an smb mounted filesystem.
> >
> > I'd use NFS, but I would like a bit more control and some level of
> > encryption for the user authentication and data being transferred.
> >
> > If a direct dump of remote smb filesystems isn't possible, I may opt
> > to have each system perform their own local dumps, then run a script
> > locally on the tape-connected machine to dump those local dumps, or
> > copy the dumps locally then dump them to tape.
> >
> > If nothing else works, I can always install Windows XP and use Windows
> > backup program, but I'd really like to try and get this going under
> > Linux before going that route.
>
> use amanda, www.amanda.org
>
> it rocks
>

Or have a look at BackupPC 

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


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


Re: [CentOS] backup to disk

2008-03-30 Thread Tony Molloy
On Saturday 29 March 2008 18:54:38 Ray Leventhal wrote:
> Hi,
>
> I'm looking for common practices for backing up user data to disk.  My
> user data is all in /home.  I'm also interested in what folks are doing
> for things backing up os and configs.
>
> Any pointers on setting up rsync, cpio, etc would be appreciated.
> Pointers to good how-to's especially welcome.
>
> Currently we're using Arkeia Network Backup (commercial product with
> which I am in no way affiliated), and it's great, but with disk space so
> cheap, I'd love to be able to take my current non-raid setup and find a
> way to get up and running quickly in the case of some failures.
>
> Thanks in advance,
> -Ray

If you've got a Linux Server then lookup BackupPC on sourceforge and you'll 
never look back. Great bit of software.

Tony

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


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


Re: [CentOS] aide questions, please

2008-04-10 Thread Tony Molloy
On Thursday 10 April 2008 13:51:02 Steve Campbell wrote:
> Michael Simpson wrote:
> > On 4/9/08, Steve Campbell <[EMAIL PROTECTED]> wrote:
> >> Jim Perrin wrote:
> >>> On Wed, Apr 9, 2008 at 3:08 PM, Marc Wiatrowski <[EMAIL PROTECTED]> wrote:
>   I think those errors are because selinux is off.
> >>>
> >>> Hmm, I don't ever really turn selinux off, but I had always thought
> >>> aide treated it as optional.
> >>>
> >>> Could test by setting it to permissive and trying again. This would be
> >>> interesting to test.
> >>
> >> I'm not sure if a reboot is required or not. I set permissive in the
> >> config file and echoed 1 into /selinux/enforce and then tried firstly
> >> the --check, and then an --init. Both still show the faulty lines.
> >>
> >> I will set it up properly and do a reboot tomorrow to see if it changes
> >> things, but for now, it doesn't.
> >>
> >> steve
> >
> > Hi there
> >
> > It is probably worth doing "touch /.autorelabel" before the reboot as
> > nothing will have really changed with the above actions
> >
> > this will force relabelling of your fs after the reboot and may give
> > you the context info that you require
> >
> > mike
>
> Thanks Mike,
>
> I'm not sure I can do the reboot today as I have had to put the server
> into a temporary production status.
>
> The thing that is sort of bothering me, though, is that so much trouble
> occurs because of selinux when trying to use aide RPMs. Might I not try
> and generate my own rpms without selinux support or just compile from
> source? Is there a way I can disable the selinux stuff when using the
> Centos rpms? I'm still not hearing a definitive answer that selinux is
> the culprit here and modifying filesystems for a test  is a little extreme.
>
> I appreciate the help so far, though, and don't mean to sound ungrateful.
>
> steve

Like yourself I'm thinking of moving from tripwire to aide on our production 
servers this summer. So I have an interest in this working ;-)

First check your selinux setup with sestatus. That will tell you whether it is 
in enforcing or permissive mode or even disabled.

If it's permissive or disabled them selinux wouldn't appear to be your problem 
as then it shouldn't stop anything from working.

If it's in enforcing mode then maybe it is.

If it's in enforcing or permissive mode then it will put its error messages 
in /var/log/audit/audit.log

Check there for AVC messages from aide.

Regards,

Tony.


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


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


Re: [CentOS] NIS binding probs w/Firewall and SELinux

2007-09-07 Thread Tony Molloy
On Friday 07 September 2007 00:58, Scott Ehrlich wrote:
>
> Is there a file I can edit to ensure SELinux is disabled?   The system was
> initially installed with SELinux Enabled, then disabled later by me.

set SELINUX=disabled in /etc/sysconfig/selinux


Tony

>
> In the meantime, I did find
> http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/security-guide/s1-ser
>ver-nis.html and will see if that may help.
>
> I think once I get past beyond the security issues, yp will work/bind fine.
>
> Thanks for any help/insights.
>
> Scott
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Vsftpd problem

2007-06-26 Thread Tony Molloy

Hi all,

I have a filesystem which I need to make available through ftp ( vsftpd ).  I 
have this as separate filesystem as it needs to be available through apache 
and NFS also. It's our local mirror.
 
I've set up vsftpd and put a test directory in /var/ftp/pub and it works. 
However I can't seem to get it to see the separate /mirrors filesystem.

I've tried using symlinks as below in /var/ftp/pub.

drwxr-xr-x 3 root root 4096 Jun 26 10:53 .
drwxr-xr-x 3 root root 4096 Jun 22 12:11 ..
-rw-r--r-- 1 root root   25 Jun 22 12:21 .message
drwxr-xr-x 2 root root 4096 Jun 22 15:25 TEST
lrwxrwxrwx 1 root root8 Jun 26 10:53 mirrors -> /mirrors

I this case the TEST directory works but the mirrors directory does not.

ftp> cd mirrors
550 Failed to change directory.

I've also tried using mount --bind to remount the the /mirrors filesystem 
as /var/ftp/pub/mirrors. When I do this I can see the contents 
of /var/ftp/pub/mirrors

drwxr-xr-x  2 root root 4096 Jun 22 15:25 TEST
drwxr-xr-x 13 root root 4096 Jun 23 07:54 mirrors

ls  -al /var/ftp/pub/mirrors/

drwxr-xr-x 13 root   root   4096 Jun 23 07:54 .
drwxr-xr-x  4 root   root   4096 Jun 26 11:04 ..
drwxr-xr-x  9   1000   1000 4096 May 18 00:19 centos
drwxr-xr-x  6 ftp   803 4096 Mar 15 13:11 config-linux
drwxr-xr-x  4 apache apache 4096 Sep 21  2006 custom-repos

However when I try to ftp to it I can't see the mirrors directory

-rw-r--r--1 ftp  ftp25 Jun 22 12:21 .message
drwxr-xr-x2 ftp  ftp  4096 Jun 22 15:25 TEST

Finally I've tried mounting it directly under /var/ftp/pub/mirrors

-rw-r--r--  1 root root   25 Jun 22 12:21 .message
drwxr-xr-x  2 root root 4096 Jun 22 15:25 TEST
drwxr-xr-x 13 root root 4096 Jun 23 07:54 mirrors


But when I ftp into the box again I can't see the mirrors directory

ftp> ls
227 Entering Passive Mode (10,220,1,157,168,142)
150 Here comes the directory listing.
drwxr-xr-x2 ftp  ftp  4096 Jun 22 15:25 TEST
226 Directory send OK.

 
Is this a permissions problem or does vsftpd not allow separate filesystems to 
be seen.

Regards,

Tony




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


Re: [CentOS] Vsftpd problem

2007-06-28 Thread Tony Molloy
On Tuesday 26 June 2007 13:16, Jim Perrin wrote:
> On 6/26/07, Tony Molloy <[EMAIL PROTECTED]> wrote:
> > Is this a permissions problem or does vsftpd not allow separate
> > filesystems to be seen.
>
> Have you looked in the log files for errors? Are you using selinux? If
> you're using selinux, you'll have to adjust the contexts so that
> vsftpd has access to /mirrors.

That's probably it. The SELinux problem strikes again. 

I should have thought of that. Thanks.

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


Re: [CentOS] Vsftpd problem

2007-06-28 Thread Tony Molloy
On Thursday 28 June 2007 08:58, Feizhou wrote:
> > That's probably it. The SELinux problem strikes again.
>
> If you hate SELinux that much, just turn it off.

I don't "hate" it. I just forget that it causes problems sometimes when it's 
not configured properly.

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


Re: [CentOS] Vsftpd problem

2007-06-28 Thread Tony Molloy
On Thursday 28 June 2007 10:18, Feizhou wrote:
> Tony Molloy wrote:
> > On Thursday 28 June 2007 08:58, Feizhou wrote:
> >>> That's probably it. The SELinux problem strikes again.
> >>
> >> If you hate SELinux that much, just turn it off.
> >
> > I don't "hate" it. I just forget that it causes problems sometimes when
> > it's not configured properly.
> >
> :) 'The SELinux problem' gave an entirely different impression.
>

Not meant like that. It's just that I always forget to check SELinux when I 
have these problems and go checking lots of other things. Instead what I 
should do is set SELinux to permissive and make sure it's not a SELinux 
mis-configuration.

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


[CentOS] Configure WiFi at install on CentOS Stream 9

2024-01-09 Thread Tony Molloy
Hi,
I'm trying to install CS-9 and need to have WiFi setup on boot.

I've tried installing with KVM as a test but only get the choice of an
ethernet connection at install time.

I've tried installing onto a spare laptop and it gives a choice of ethernet
or WiFi for network connections. I choose WiFi and it allows me to
configure the WiFi. It detects the network and the IP-address. However when
I reboot the laptop there is no WiFi connection.

Any suggestions.

Thanks,

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


Re: [CentOS] Centos, Samba , WIN7

2011-01-14 Thread Tony Molloy
On Friday 14 January 2011 07:56:16 Timothy Kesten wrote:
> Hi Folks,
> 
> I've fresh installed CentOS 5.5 and realized, that Samba is in version
> 3.0.33-3.
> Is it possible to conect WIN7 in a Samba-Domäne with this version?
> And I've read abaut RHEL 5.6 with samba 3.5.4.
> Can I expect, that  this version is included in CentOS 5.6?
> And can I get this version with yum-update?
> 
> Thx
> 
> Timothy

Not possible as far as I know ;-)

Remove the samba rpms and install the samba3x rpms from CentOS 5.5

This will give you samba3x-3.3.8-0.52.el5_5.2.x86_64 which works as a PDC with 
Windoze 7 clients.

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


Re: [CentOS] Centos, Samba , WIN7

2011-01-15 Thread Tony Molloy
On Saturday 15 January 2011 04:41:01 Rob Kampen wrote:
> Ryan Wagoner wrote:
> > On Fri, Jan 14, 2011 at 8:52 AM, Timothy Kesten  wrote:
> >> Am Freitag, 14. Januar 2011, 11:27:22 schrieb John Doe:
> >>> Google for "samba windows.7" and click on first answer...
> >> 
> >> I knew, that samba > 3.3 is necessary.
> >> 
> >> I was more interessted in where can I get a suitable version from a
> >> centos-repo.
> > 
> > yum install samba3x
> > 
> > Samba 3.3.8 was included with CentOS 5.5.
> 
> ?? I just checked on my servers fully updated 5.5 and have only 3.0.33 -
> Am I missing something?
> 


There are two sets of samba packages included with Centos 5.5; Look in the 
source repo.

samba-3.0.33-3.28.el5.src.rpm  ( the default )  

and

samba3x-3.3.8-0.51.el5.src.rpm


You have to remove the samba packages to install the samba3x packages
which are required to work with windoze 7 clients.

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


Re: [CentOS] cobbler installation of CentOS-5.5

2011-03-29 Thread Tony Molloy
On Monday 28 March 2011 16:37:33 Timothy Murphy wrote:
> m.r...@5-cent.us wrote:
> >> 2. The CentOS OS seems to be available in 7 or 8 CDs.
> >> (I tried downloading the DVD ISO with ktorrent,
> >> but this was a complete failure.
> >> It started OK, but then created literally thousands of links
> >> to one file, which brought my server down,
> >> and left it in a state which was quite hard to clean up.)
> > 
> > Dunno. Last time I brought down the DVD iso, I had no trouble just doing
> > a straight d/l, no torrent.
> 
> Where did you find the DVD ISO?
> When I follow the download instructions at 
> I am only offered "local", ie west european, mirrors,
> and none of those I looked at had the DVD ISO;
> all of them just had 8 CD ISOs.
> 

You could try your local mirror ;-)

  ftp.heanet.ie:/pub/centos/5.5/isos/i386/CentOS-5.5-i386-bin-DVD.iso

or
  ftp.heanet.ie:/pub/centos/5.5/isos/x86_64/CentOS-5.5-x86_64-bin-DVD-1of2.iso
and
  ftp.heanet.ie:/pub/centos/5.5/isos/x86_64/CentOS-5.5-x86_64-bin-DVD-2of2.iso

Tony



> > Mount the CD isos using loopback (mount -o loop), and copy.
> > 
> 
> I didn't follow this.
> Do you mean mount each of the 8 CDs using loopback?
> And what exactly am I meant to copy?
> 
> I need to indicate where "cobbler import" should look, I assume.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nlockdmgr listen on privileged port

2011-03-31 Thread Tony Molloy
On Wednesday 30 March 2011 20:35:13 Tim Dunphy wrote:
> hey list!
> 
>  I am attempting to shore up some centos machines (ranging from centos
> 5 to centos 5.4) for pci compliance by changing the port that
> nlockdmgr listens on to function under a privileged port.
> 
>  So what I did was try to hardcode the port by editing  /etc/sysconfig/nfs
> 
> 
> # TCP port rpc.lockd should listen on.
> LOCKD_TCPPORT=1011
> # UDP port rpc.lockd should listen on.
> LOCKD_UDPPORT=1011
> #
> 
> 
> And /etc/modprobe.conf
> 
> 
> alias eth1 e1000e
> alias scsi_hostadapter 3w-9xxx
> alias scsi_hostadapter1 usb-storage
> alias eth0 e1000e
> options lockd nlm_udpport=1011
> options lockd nlm_tcpport=1011
> 
> 
> and then restarting the pormap service. I've even tried restarting the
> network service, but unfortunately nothing seems affected:
> 
> 
> 
> [root@stallion:/etc/init.d] $ rpcinfo -p
>program vers proto   port
> 102   tcp111  portmapper
> 102   udp111  portmapper
> 1000211   udp  55394  nlockmgr
> 1000213   udp  55394  nlockmgr
> 1000214   udp  55394  nlockmgr
> 1000211   tcp  33704  nlockmgr
> 1000213   tcp  33704  nlockmgr
> 1000214   tcp  33704  nlockmgr
> 1000241   udp786  status
> 1000241   tcp789  status
> 
> 
> Does anyone have any tips on how to get this to work the way I'm asking it
> to?
> 

How about trying to restart the nfs service ;-)

Tony
> regards
> ~
> GPG me!!
> 
> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 8 & HandBrakeCLI

2020-07-13 Thread Tony . Molloy
On Mon, 2020-07-13 at 08:55 -0400, mail...@toolz.com wrote:
> EXTERNAL EMAIL: This email originated from outside of the University
> of Limerick. Do not click on links or open attachments unless you
> recognize the sender's email address and know the content is safe.
> On 2020-07-13 05:09, Kay Diederichs wrote:
> > On 7/13/20 4:04 AM, Frank M. Ramaekers Jr. wrote:
> > > Since I upgraded to CentOS8, I cannot get HandBrakeCLI to work:
> 
> I could not get HandBrake to work under CentOS 8, so I installed it 
> under
> Zorin 15 (an Ubuntu-derived German distro).  There, it works
> great.  I 
> did not try
> any of the other distros derived from Debian or Ubuntu itself.
> 
> Todd Merriman
> Software Tooolz, Inc.
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

HandBrake-1.3.3-1.el8 and HandBrake-gui from RPM Fusion work fine on
CentOS-Stream 8. Haven't tried on CentOS 8.

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


Re: [CentOS] New administrator and upgrading systems

2009-10-21 Thread Tony Molloy
On Wednesday 21 October 2009 16:31:13 Alan McKay wrote:
> > it will work when your mirror has 5.4
>
> ahhh, OK.   What if my mirror is the same box?   Will that work too?
> I cannot see any reason from here why it would not.
>
> I keep a local mirror on my desktop (the box in question) and am just
> bringing down 5.4 now, with rsync
>
> thanks,
> -Alan

When the rsync is finished check the contents of the centos/5 directory. There 
should be links there to the point release in use.

In my case although i've got the 5.4 rpms rsynced from my local mirroor the 
links in that directory still link to 5,3 

e.g.

[r...@thomond centos]# cd 5
[r...@thomond 5]# ls -al
total 44
drwxrwxr-x  2 1000 1000 4096 Apr  1  2009 .
drwxr-xr-x 11 1000 1000 4096 Sep 28 23:29 ..
lrwxrwxrwx  1 1000 1000   14 Oct 21 11:04 addons -> ../5.3/addons/

That means that the default Centos-Base.repo file in /etc/yum.repos.d will 
still use 5.3.

When 5.4 is finally released and all the mirrors have synced then the links 
will link to 5.4

Hope this helps,

Tony
-- 


Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Missing yum-priorities in 5.4?

2009-10-22 Thread Tony Molloy
On Thursday 22 October 2009 13:04:05 Sorin Srbu wrote:
> >-Original Message-
> >From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
>
> Behalf
>
> >Of Morten Torstensen
> >Sent: Thursday, October 22, 2009 12:37 PM
> >To: CentOS mailing list
> >Subject: [CentOS] Missing yum-priorities in 5.4?
> >
> >Is this missing on purpose? Function merged with another yum package?
> >Or is it just missing as an oversight?
>
> I just upgraded a few systems with v5.4, rebooted and then ran an update
> again. The yum-priorities plugin is loaded and used with the regular "yum
> update" command.
>
> Or am *I* missing something here? I don't see anything wrong...
>
> To the CentOS-devs I'd like to extend a great thank you. The v5.4 upgrade
> went in w/o a hitch and seems to be working excellent.
Ditto.

The problem is not with updated systems but with newly installed systems. 
yum-priorities is missing from newly installed 5.4 systems. It's fine with 
updated systems.

Tony


-- 

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:iptables ?

2009-10-31 Thread Tony Molloy
On Saturday 31 October 2009 07:48:05 hadi motamedi wrote:
> Dear All
> To open a port , I know that I need to go to "System -> Administration ->
> Security Level and Firewall" -> Other ports and then I can open port-5901
> as tcp protocol . Can you please do me favor and let me know how it can be
> done from the command line (if my CentOS is text-mode installed) ? (perhaps
> via iptables?)
> Let me thank you in advance


Edit /etc/sysconfig/iptables

Restart iptables with service iptables restart

Tony
-- 

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:iptables ?

2009-10-31 Thread Tony Molloy
On Saturday 31 October 2009 08:27:49 hadi motamedi wrote:
> Thank you for your reply . But it is returned "No such file" for
> /etc/sysconfig/iptables . Can you please correct me ?
> Thank you in advance
>

Is iptables installed

rpm -qa | grep iptables

Tony
> On Sat, Oct 31, 2009 at 8:10 AM, Tony Molloy  wrote:
> >  On Saturday 31 October 2009 07:48:05 hadi motamedi wrote:
> > > Dear All
> > > To open a port , I know that I need to go to "System -> Administration
> > > -> Security Level and Firewall" -> Other ports and then I can open
> > > port-5901 as tcp protocol . Can you please do me favor and let me know
> > > how it can
> >
> > be
> >
> > > done from the command line (if my CentOS is text-mode installed) ?
> >
> > (perhaps
> >
> > > via iptables?)
> > > Let me thank you in advance
> >
> > Edit /etc/sysconfig/iptables
> >
> > Restart iptables with service iptables restart
> >
> > Tony
> > --
> >
> > Dept. of Comp. Sci.
> > University of Limerick.
> >  ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos



-- 

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] vsFTP Question

2009-11-05 Thread Tony Molloy
On Thursday 05 November 2009 19:44:55 Victor Subervi wrote:
> Hi;
> Now that it's installed, how do I start it and add a user? I can hardly
> believe there is *no* documentation!
> TIA,
> Victor


man vsftpd

/usr/share/doc/vsftp-*

Tony



-- 

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Amavisd and ClamAV

2009-11-27 Thread Tony Molloy

Hi,

I want to move my mail server from sendmail to postfix over christmas. I've 
got a test server running with the following:

postfix dovecot postgrey amavisd-new clamav spamassassin

I've followed the howto's on the wiki  with the 
exception that I installed amavisd-new and clamav from the EPEL repo rather 
than rpmforge.

Things work OK with the exception of clamav. When I start  clamav I get the 
following error.

[r...@newgoext ~]# service clamd.amavisd start
Starting clamd.amavisd: ERROR: Missing argument for option at line 2
ERROR: Can't open/parse the config file /etc/clamd.d/amavisd.conf
   [FAILED]

As this is a test server I'v set selinux to permissive so it doesn't look like 
a selinux problem.

Thanks,

Tony

--

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Amavisd and ClamAV

2009-11-27 Thread Tony Molloy
On Friday 27 November 2009 09:49:54 John Doe wrote:
> From: Tony Molloy 
>
> > Things work OK with the exception of clamav. When I start  clamav I get
> > the following error.
> > [r...@newgoext ~]# service clamd.amavisd start
> > Starting clamd.amavisd: ERROR: Missing argument for option at line 2
> > ERROR: Can't open/parse the config file /etc/clamd.avisd.conf
> >[FAILED]
> > As this is a test server I'v set selinux to permissive so it doesn't look
> > like a selinux problem.
>
> So, did you check the file /etc/clamd.d/amavisd.conf ?
>
> JD
>

Yep. It was a parse error in the installed file not an open error.

cat /etc/clamd.avisd.conf

# Use system logger.
#LogSyslog

# Specify the type of syslog messages - please refer to 'man syslog'
# for facility names.
LogFacility LOG_MAIL

# This option allows you to save a process identifier of the listening
# daemon (main thread).
PidFile /var/run/amavisd/clamd.pid

# Remove stale socket after unclean shutdown.
# Default: disabled
#FixStaleSocket

# Run as a selected user (clamd must be started by root).
User amavis

# Path to a local socket file the daemon will listen on.
LocalSocket /var/spool/amavisd/clamd.sock


When I commented out LogSyslog and FixStaleSocket it started ok.

Thanks for stating the obvious sometimes that's the hardest thing to see ;-)

Tony


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



-- 

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] An error message I don't recognize

2009-12-10 Thread Tony Molloy
On Thursday 10 December 2009 17:28:45 Bob McConnell wrote:
> I have recently been told I will have to maintain some CentOS servers at
> work. Since I have only been using Slackware for the last 16 years, I
> decided to install CentOS on one of my servers at home to get an idea of
> the differences. I installed CentOS 5.4 from CD with no problems, did a
> yum update, set up a couple of samba shares and started to copy over
> some files from one of my other servers.
>
> Everything looks ok, but I keep seeing this message on the active
> console. I have no idea where it comes from nor what it means.
>
> type=1400 audit(1260446462.444:9): avc:  denied  { getattr } for  pid=2200
> comm="smbd" path="/proc/sys/fs/binfmt_misc" dev=binfmt_misc ino=4348
> scontext=root:system_r:smbd_t:s0
> tcontext=system_u:object_r:binfmt_misc_fs_t:s0 tclass=dir
>
> What is it, what is triggering it and how do I fix it?
>

It's a selinux denial. Selinux is permissive/enforcing on the system.

# sestatus

will tell you which.

It's got something to do with samba "comm="smbd""
trying to access the file "path="/proc/sys/fs/binfmt_misc"" Don't know why it 
would want to do that.

Try this

# sealert -b

This will dispaly all the AVC's graphically. Look for one from smbd.  This 
will give you the full AVC and possibly suggest a way to fix it.

Tony



> Thanks,
>
> Bob McConnell
> N2SPP
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos



-- 

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Problem with Full install of 5.2, missing rpm

2008-06-25 Thread Tony Molloy

Hi,

I did a standard i386 install of 5.2 on a test machine. Then I ran the 
following command

yum  install  \*

and got the following error.

Error: Missing Dependency: pilot-link-devel >= 0.11.8 is needed by package 
gnome-pilot-devel

Checking my local repo and my usual upstream mirrors for pilot-link-devel it's 
not there.

[EMAIL PROTECTED] CentOS]# locate pilot-link-devel | grep centos
/mirrors/centos/5.1/os/i386/CentOS/pilot-link-devel-0.11.8-16.i386.rpm
/mirrors/centos/5.1/os/x86_64/CentOS/pilot-link-devel-0.11.8-16.i386.rpm
/mirrors/centos/5.1/os/x86_64/CentOS/pilot-link-devel-0.11.8-16.x86_64.rpm
/mirrors/centos/5.2/os/x86_64/CentOS/pilot-link-devel-0.11.8-16.i386.rpm
/mirrors/centos/5.2/os/x86_64/CentOS/pilot-link-devel-0.11.8-16.x86_64.rpm

As you can see from the above pilot-link-devel is present in both i386 and 
x86_64 repos for 5.1 but only in the x86_64 repo for 5.2

It's not really a problem I can just leave out gnome-pilot-devel.

Is this an oversight or is it deliberate.

Thanks for all the good work. Now to get on to my rack of PE2950's

Regards,

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


Re: [CentOS] Problem with Full install of 5.2, missing rpm

2008-06-25 Thread Tony Molloy
On Wednesday 25 June 2008 14:21:31 Karanbir Singh wrote:
> Tony Molloy wrote:
> > [EMAIL PROTECTED] CentOS]# locate pilot-link-devel | grep centos
> > /mirrors/centos/5.1/os/i386/CentOS/pilot-link-devel-0.11.8-16.i386.rpm
> > /mirrors/centos/5.1/os/x86_64/CentOS/pilot-link-devel-0.11.8-16.i386.rpm
> > /mirrors/centos/5.1/os/x86_64/CentOS/pilot-link-devel-0.11.8-16.x86_64.rp
> >m /mirrors/centos/5.2/os/x86_64/CentOS/pilot-link-devel-0.11.8-16.i386.rpm
> > /mirrors/centos/5.2/os/x86_64/CentOS/pilot-link-devel-0.11.8-16.x86_64.rp
> >m
> >
> > As you can see from the above pilot-link-devel is present in both i386
> > and x86_64 repos for 5.1 but only in the x86_64 repo for 5.2
>
> you have a broken local repo eg:
>
> http://mirror.centos.org/centos/5.2/os/i386/CentOS/pilot-link-0.11.8-16.i38
>6.rpm
>
> - KB

That's fine. It's not just my local repo it's both my usual upstream repos ( 
ftp.heanet.ie and ftp.mirrorservice.org ) as well. I'll just wait till they 
sync later today. 

Thank you,

Tony

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


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


Re: [CentOS] Problem with Full install of 5.2, missing rpm

2008-06-25 Thread Tony Molloy
On Wednesday 25 June 2008 14:21:31 Karanbir Singh wrote:
> Tony Molloy wrote:
> > [EMAIL PROTECTED] CentOS]# locate pilot-link-devel | grep centos
> > /mirrors/centos/5.1/os/i386/CentOS/pilot-link-devel-0.11.8-16.i386.rpm
> > /mirrors/centos/5.1/os/x86_64/CentOS/pilot-link-devel-0.11.8-16.i386.rpm
> > /mirrors/centos/5.1/os/x86_64/CentOS/pilot-link-devel-0.11.8-16.x86_64.rp
> >m /mirrors/centos/5.2/os/x86_64/CentOS/pilot-link-devel-0.11.8-16.i386.rpm
> > /mirrors/centos/5.2/os/x86_64/CentOS/pilot-link-devel-0.11.8-16.x86_64.rp
> >m
> >
> > As you can see from the above pilot-link-devel is present in both i386
> > and x86_64 repos for 5.1 but only in the x86_64 repo for 5.2
>
> you have a broken local repo eg:
>
> http://mirror.centos.org/centos/5.2/os/i386/CentOS/pilot-link-0.11.8-16.i38
>6.rpm
>
> - KB
>

I spoke too soon!!!

The problem is not that pilot-link is missing that's there OK . The problem is 
that pilot-link-devel is missing.

regards,

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


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


Re: [CentOS] Problem with Full install of 5.2, missing rpm

2008-06-25 Thread Tony Molloy
On Wednesday 25 June 2008 14:27:27 Karanbir Singh wrote:
> Karanbir Singh wrote:
> > Tony Molloy wrote:
> >> [EMAIL PROTECTED] CentOS]# locate pilot-link-devel | grep centos
> >> /mirrors/centos/5.1/os/i386/CentOS/pilot-link-devel-0.11.8-16.i386.rpm
> >
> > oop's its the -devel package you are looking for... will investigate.
>
> this package isnt in the upstream distro either, so for now, I'd guess a
> note in the wiki ( Tim ? ) and we can keep investigating whats going on
> here.
>
> - KB

As I said it's not a major problem or even a minor one ;-)

Regards,

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


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


Re: [CentOS] CentOS 5.2 Missing Dependancy

2008-07-05 Thread Tony Molloy
On Saturday 05 July 2008 16:47:03 Jay Leafey wrote:
> Joseph L. Casale wrote:
> > I am trying to install perl-Digest-Perl-MD5 from rf and it is failing
> > suggesting it needs /usr/bin/false. #yum whatprovides "/usr/bin/false"
> > yields nothing.
> >
> > My CentOS 5.1 machines don't have this, and this is the same list of yum
> > install items I always use when setting up assp.
> >
> > Any idea what to do?
> >
> > jlc
>
> Wierd, I just confirmed the issue.  There is not a /usr/bin/false, but
> there IS a /bin/false on a stock 5.2 install.  You might check in the
> rpmforge forums/list archives for some mention of this problem.
>
> I thought I might be able to symlink /bin/false to /usr/bin/false (a
> kludge, I admit) or copy /bin/false to /usr/bin/false, but neither seems
> to work for me.  Like I said, probably best to check with rpmforge.
>
> Sorry!

I had no trouble copying it or linking it.

ln -s /bin/false /usr/bin/false


ls  -al /usr/bin/false
lrwxrwxrwx 1 root root 10 Jul  5 17:47 /usr/bin/false -> /bin/false

So that's a quick workaround

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


Re: [CentOS] CentOS 5.2 Missing Dependancy

2008-07-05 Thread Tony Molloy
On Sunday 06 July 2008 05:07:38 Joseph L. Casale wrote:
> >I had no trouble copying it or linking it.
>
> Yes, but how does that satisfy yum?
> jlc


If the dependancy is purely on /usr/bin./false then when you copy it I think 
yum should find it. 

The problem would be if yum checks it's db to see if it has previously 
installed /usr/bin/false and find that it hasn't. In that case it won't wok.

Why don't you try it and see what happens.

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


Re: [CentOS] CentOS 5.2 Missing Dependancy

2008-07-05 Thread Tony Molloy
On Sunday 06 July 2008 07:20:33 Joseph L. Casale wrote:
> >Why don't you try it and see what happens.
>
> I did, which is what lead me to believe it only checks the db:)
> jlc

Sorry,

Tony
Then you have a problem ;-)


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


Re: [CentOS] CentOS 5.2 Missing Dependancy

2008-07-06 Thread Tony Molloy
On Sunday 06 July 2008 11:39:50 William L. Maltby wrote:
> On Sun, 2008-07-06 at 06:52 +0100, Tony Molloy wrote:
> > 
> >
> > The problem would be if yum checks it's db to see if it has previously
> > installed /usr/bin/false and find that it hasn't. In that case it won't
> > wok.
>
> If it won't "wok", you'l have to "cook" up something. :-) YUK, YUK!
>
> > 


Very funny. I'll have to check for typos in future. Of course that one 
wouldn't have been cought ;-)

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


[CentOS] Yun Update problem

2008-07-15 Thread Tony Molloy

Hi, 
I've just done a clean install of centos-5.2 x86-64. When I do a update I get 
the following errors


=
 Package Arch   Version  RepositorySize 
=
Updating:
 yum noarch 3.2.8-9.el5.centos.2.1  update
582 k
Installing for dependencies:
 yum-fastestmirror   noarch 1.1.10-9.el5.centos  base   13 
k

Transaction Summary
=
Install  1 Package(s) 
Update   1 Package(s) 
Remove   0 Package(s) 

Total download size: 595 k
Downloading Packages:
(1/2): yum-3.2.8-9.el5.ce 100% |=| 582 kB00:00 
http://thomond.csis.ul.ie/mirrors/centos/5/updates/x86_64/RPMS/yum-3.2.8-9.el5.centos.2.1.noarch.rpm:
 
[Errno -1] Package does not match intended download


I also get similar errors for some selinux rpms.


(34/92): selinux-policy-2 100% |=| 381 kB00:00 
http://thomond.csis.ul.ie/mirrors/centos/5/updates/x86_64/RPMS/selinux-policy-2.4.6-137.1.el5.noarch.rpm:
 
[Errno -1] Package does not match intended download


(70/92): selinux-policy-t 100% |=| 911 kB00:00 
http://thomond.csis.ul.ie/mirrors/centos/5/updates/x86_64/RPMS/selinux-policy-targeted-2.4.6-137.1.el5.noarch.rpm:
 
[Errno -1] Package does not match intended download

The rpm packages are in my local repo.

Is this just a case of my local upstream mirrors being out of sync or have I 
got a bigger problem.


Thanks,

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


Re: [CentOS] Yun Update problem

2008-07-15 Thread Tony Molloy
On Tuesday 15 July 2008 18:34:51 Kenneth Burgener wrote:
> On 7/15/2008 9:57 AM, Tony Molloy wrote:
> > (34/92): selinux-policy-2 100% |=| 381 kB   
> > 00:00
> > http://thomond.csis.ul.ie/mirrors/centos/5/updates/x86_64/RPMS/selinux-po
> >licy-2.4.6-137.1.el5.noarch.rpm: [Errno -1] Package does not match
> > intended download
> >
> > The rpm packages are in my local repo.
> >
> > Is this just a case of my local upstream mirrors being out of sync or
> > have I got a bigger problem.
>
> I have seen this error before.  I am not sure if the local cache is
> corrupted or my local repository is corrupted/out of sync.  To fix this
> in the past I usually do a "yum clean all" and try again.  If that
> doesn't work I delete the problem packages from my local repository, and
> do a repository sync.
>
>
> Kenneth

Thanks for the reply,

That's exactly what I did but till have the same problem. It may be that the 2 
upstream repos that I sync my local repo to are corrupted. This is the first 
time I've used the x86_64 repos. When I get a chance I'll try and use a 
different repo and see what happens.

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


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


Re: [CentOS] Yun Update problem

2008-07-15 Thread Tony Molloy
On Tuesday 15 July 2008 18:47:51 Tony Molloy wrote:
> On Tuesday 15 July 2008 18:34:51 Kenneth Burgener wrote:
> > On 7/15/2008 9:57 AM, Tony Molloy wrote:
> > > (34/92): selinux-policy-2 100% |=| 381 kB
> > > 00:00
> > > http://thomond.csis.ul.ie/mirrors/centos/5/updates/x86_64/RPMS/selinux-
> > >po licy-2.4.6-137.1.el5.noarch.rpm: [Errno -1] Package does not match
> > > intended download
> > >
> > > The rpm packages are in my local repo.
> > >
> > > Is this just a case of my local upstream mirrors being out of sync or
> > > have I got a bigger problem.
> >
> > I have seen this error before.  I am not sure if the local cache is
> > corrupted or my local repository is corrupted/out of sync.  To fix this
> > in the past I usually do a "yum clean all" and try again.  If that
> > doesn't work I delete the problem packages from my local repository, and
> > do a repository sync.
> >
> >
> > Kenneth
>
> Thanks for the reply,
>
> That's exactly what I did but till have the same problem. It may be that
> the 2 upstream repos that I sync my local repo to are corrupted. This is
> the first time I've used the x86_64 repos. When I get a chance I'll try and
> use a different repo and see what happens.
>
> Tony

These are internal machines so I had to set up a proxy to get external access.

Then I removed my local repos  and used the "mirrorlist" line in the repos 
definitions and the "fastestmirror" plugin and the update went OK. So it must 
be a problem with my 2 upstream mirrors. I'll get onto the mirror masters and 
try and sort it out with them.

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


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


Re: [CentOS] Yun Update problem

2008-07-17 Thread Tony Molloy
On Thursday 17 July 2008 01:45:50 Camron W. Fox wrote:
> Tony Molloy wrote:
> > On Tuesday 15 July 2008 18:47:51 Tony Molloy wrote:
> >> On Tuesday 15 July 2008 18:34:51 Kenneth Burgener wrote:
> >>> On 7/15/2008 9:57 AM, Tony Molloy wrote:
> >>>> (34/92): selinux-policy-2 100% |=| 381 kB
> >>>> 00:00
> >>>> http://thomond.csis.ul.ie/mirrors/centos/5/updates/x86_64/RPMS/selinux
> >>>>- po licy-2.4.6-137.1.el5.noarch.rpm: [Errno -1] Package does not match
> >>>> intended download
> >>>>
> >>>> The rpm packages are in my local repo.
> >>>>
> >>>> Is this just a case of my local upstream mirrors being out of sync or
> >>>> have I got a bigger problem.
> >>>
> >>> I have seen this error before.  I am not sure if the local cache is
> >>> corrupted or my local repository is corrupted/out of sync.  To fix this
> >>> in the past I usually do a "yum clean all" and try again.  If that
> >>> doesn't work I delete the problem packages from my local repository,
> >>> and do a repository sync.
> >>>
> >>>
> >>> Kenneth
> >>
> >> Thanks for the reply,
> >>
> >> That's exactly what I did but till have the same problem. It may be that
> >> the 2 upstream repos that I sync my local repo to are corrupted. This is
> >> the first time I've used the x86_64 repos. When I get a chance I'll try
> >> and use a different repo and see what happens.
> >>
> >> Tony
> >
> > These are internal machines so I had to set up a proxy to get external
> > access.
> >
> > Then I removed my local repos  and used the "mirrorlist" line in the
> > repos definitions and the "fastestmirror" plugin and the update went OK.
> > So it must be a problem with my 2 upstream mirrors. I'll get onto the
> > mirror masters and try and sort it out with them.
> >
> > Tony
>
> Alle,
>
>   FYI, I installed two x86_64 boxes by hand from a freshly downloaded
> DVD.iso. The first thing I did was update yum on both machines then ran
> a yum update. I have no local or third party repositories, but the error
> was the same for the same packages:
>
> (170/189): selinux-policy 100% |=| 911 kB
> 00:01
> http://ftp2.riken.jp/Linux/centos/5.2/updates/x86_64/RPMS/selinux-policy-ta
>rgeted-2.4.6-137.1.el5.noarch.rpm: [Errno -1] Package does not match
> intended download

< lots snipped >

So it would appear that lots of download sites have the wrong rpms then.

I got the good rpms from the following repos

 * fasttrack: ftp.tudelft.nl
 * update: ftp.quicknet.nl<<<<<<<<<<<<<<<<<<<
 * base: ftp.quicknet.nl
 * extras: anorien.csc.warwick.ac.uk
 * addons: anorien.csc.warwick.ac.uk


Tony



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


Re: [CentOS] fail2ban needs shorewall?

2008-07-23 Thread Tony Molloy
On Wednesday 23 July 2008 13:45:31 Kai Schaetzl wrote:
> I want to try out fail2ban and notice that both, kbs-CentOS-Testing and
> ATrpms, have shorewall as a dependency. I do not use shorewall and have
> never used it. I have my own iptables/firewall script and am happy with
> it. Can I install shorewall without any ill effects to my current sue of
> iptables or would I need to use shorewall for firewalling from that point
> on? (It may be a good product, but I really don't want to learn yet
> another rule syntax.)
>
> Kai

I installed fail2ban from rpmforge and it has no dependencies. I use it with 
the default CentOS firewall

   fail2ban-0.8.2-2.el5.rf.noarch.rpm


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


Re: [CentOS] fail2ban needs shorewall?

2008-07-23 Thread Tony Molloy
On Wednesday 23 July 2008 14:31:11 Kai Schaetzl wrote:
> Tony Molloy wrote on Wed, 23 Jul 2008 13:53:49 +0100:
> > I installed fail2ban from rpmforge and it has no dependencies.
>
> Ah, thanks, I thought I had installed an rpm earlier that didn't have
> dependencies, but I couldn't find the machine I did it on. I disabled the
> kbs repo and I'm now getting it. yum wanted to install the older i386 rpm
> first, though. Does the i386 override noarch, although the version is
> newer?
>
>
>
> Kai

I installed on some x86_64 systems but you can specify noarch on the install 
line. I don't know the precedence of i386 and noarch.

Tony

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


[CentOS] Applications on different deskops at startup

2011-11-24 Thread Tony Molloy

Hi,

I've just converted my laptop to Centos 6 from Fedora ( gnome 3 made 
the latest fedora unusable ) and I have one problem.

I have several desktops with applications running on them, mainly 
terminals. At login all the terminals start on desktop 1. How do I get 
them to start on the desktop they were running on at logoff. That's how 
it worked on Fedora 13/14 so it must be popssible ;-) just can't find 
the magic.

Thanks,,

Tony

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


Re: [CentOS] Applications on different deskops at startup

2011-11-25 Thread Tony Molloy
On Friday 25 November 2011 00:31:09 Ljubomir Ljubojevic wrote:
> Vreme: 11/24/2011 09:14 PM, Kahlil Hodgson piše:
> > On 24/11/11 22:27, Tony Molloy wrote:
> >> I have several desktops with applications running on them,
> >> mainly terminals. At login all the terminals start on desktop
> >> 1. How do I get them to start on the desktop they were running
> >> on at logoff. That's how it worked on Fedora 13/14 so it must
> >> be popssible ;-) just can't find the magic.
> > 
> > You might want to have a look at 'devilspie'.  That's what I use
> > on F14 to control startup windows.  Don't know if that's in C6
> > by default though.
> > 
> > Kal
> 
> RPMForge/Repoforge repository has devilspie package.

Thanks for the various suggestions I'll try them out today. I just 
thought that since CentOS 6 was based on Fedora 13 that it would just 
be some setting that I had missed.

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


Re: [CentOS] SELinux and access across 'similar types'

2012-01-09 Thread Tony Molloy
On Sunday 08 January 2012 23:19:39 Bennett Haselton wrote:
> On 1/8/2012 7:28 AM, Ljubomir Ljubojevic wrote:
> > On 01/08/2012 03:15 PM, Bennett Haselton wrote:
> >> It's a file created by one of my CGI scripts.  (The web server
> >> is accessed by several hostnames which are dynamically assigned
> >> to it, and I need a quick way of determining all hostnames that
> >> were recently used to access the server.  So when someone
> >> accesses the server using HOSTNAME, the file
> >> /tmp/hostname_   is created.  Then another script
> >> just pulls the names of all of those files in order to find all
> >> recently used hostnames.)
> >> 
> >>> My suggestion:
> >>> 
> >>> stop apache
> >>> run relabeling again (if file continues to exists)
> >>> start apache
> >>> check
> >> 
> >> Well when I was doing the relabeling I was doing:
> >> # touch /.autorelabel
> >> # reboot
> >> 
> >> So when I'm rebooting apache stops and starts anyway, doesn't
> >> it? Doesn't the auto-relabel occur before other services are
> >> started up?  So I'm not sure what I would actually do
> >> differently to follow this suggestion...
> > 
> > Ah, you are write, sorry. Well you might need to apply proper
> > (httpd_) SELinux label for that file. At the time of creation? \
> > Maybe move it to another location where it will get automatic
> > label for what you want?
> 
> Well the warning messages say that file_t files should *never* get
> created if the filesystem is labeled properly.  So I didn't think
> it was just a matter of creating files where the default filetype
> would be different, because the default filetype should not be
> file_t anywhere.
> 
> I could create a world-writeable directory somewhere else and have
> all the scripts write to that but it would be a pain to re-write
> and re-test everything as a workaround for this one bug...
> 
> Well, one other theory: /tmp is a different partition, right?  So
> maybe when I do
> # touch /.autorelabel
> # reboot
> 
> it's only re-labeling the / partition and not the /tmp one?
> Unfortunately in that case I don't know how to make it re-label the
> /tmp filesystem as well.  I tried creating /tmp/.autorelabel and
> rebooting, but that didn't work; /tmp/hostname_SKYSLICE.INFO and
> other files still had type file_t.
> 
> Bennett
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

First I'm no SELinux expert ;-( but I've ben following this thread 
with interest. It apears to be going around in circles.

The only time I've come across a file_t type is when I have something 
on a machine that SELinux doesn't know about. That is SELinux has no 
policy for it. An example would be if I create a new top level 
directory when I install a machine. SELinux knows nothing about that 
directory name and has no preset type for it so it gets a label of 
file_t or default_t. Doing a relabel in that case will have no affect on 
the file label as SELinux still doesn't have a policy for it.

So the question is how did your file get the file_t type in the first 
place. You say it is generated from a cgi script run from apache.

So is this the default apache which comes with CentOS

What is the context of the apache executable. It should be
-rwxr-xr-x  root root system_u:object_r:httpd_exec_t   /usr/sbin/httpd

Where in the filesystem is the cgi script located. How did it get 
there.

What is the context of the cgi script

What is the context of the directory the cgi script is in.

What is the context of /tmp. It should be
drwxrwxrwt  root root system_u:object_r:tmp_t  /tmp

Regards 

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


Re: [CentOS] SELinux and access across 'similar types'

2012-01-09 Thread Tony Molloy
On Monday 09 January 2012 12:06:04 Bennett Haselton wrote:
> On 1/9/2012 3:41 AM, Tony Molloy wrote:
> > First I'm no SELinux expert ;-( but I've ben following this
> > thread with interest. It apears to be going around in circles.
> > 
> > The only time I've come across a file_t type is when I have
> > something on a machine that SELinux doesn't know about. That is
> > SELinux has no policy for it. An example would be if I create a
> > new top level directory when I install a machine. SELinux knows
> > nothing about that directory name and has no preset type for it
> > so it gets a label of file_t or default_t. Doing a relabel in
> > that case will have no affect on the file label as SELinux still
> > doesn't have a policy for it.
> > 
> > So the question is how did your file get the file_t type in the
> > first place. You say it is generated from a cgi script run from
> > apache.
> > 
> > So is this the default apache which comes with CentOS
> > 
> > What is the context of the apache executable. It should be
> > -rwxr-xr-x  root root system_u:object_r:httpd_exec_t  
> > /usr/sbin/httpd
> 
> Yes that's what I've got.
> 

Ok so apache is corectly labelled.

> > Where in the filesystem is the cgi script located. How did it get
> > there.
> > 
> > What is the context of the cgi script
> > 
> > What is the context of the directory the cgi script is in.
> 
> [root@g6950-21025 ~]# ls -lZ /var/www/cgi-bin/capture.cgi
> -rwxr-xr-x  root root system_u:object_r:httpd_sys_script_exec_t
> /var/www/cgi-bin/capture.cgi
> [root@g6950-21025 ~]# ls -ldZ /var/www/cgi-bin/
> drwxr-xr-x  root root system_u:object_r:httpd_sys_script_exec_t
> /var/www/cgi-bin/
> 
> The script got there because I uploaded it there.

The reason I asked that was because how the script got there can 
determine it's context.

For instance:

cp:   gives it the correct context of the directory it was copied into
mv:  does not, it preserves the original context 

But the above context(s) look ok
> 
> > What is the context of /tmp. It should be
> > drwxrwxrwt  root root system_u:object_r:tmp_t  /tmp
> 
> Yep.
> [root@g6950-21025 ~]# ls -ldZ /tmp
> drwxrwxrwt  root root system_u:object_r:tmp_t  /tmp
> 

Ok that's fine.
> > Regards
> > 
> > Tony

Now try a little experiment

# touch /tmp/x.x

# ls -alZ /tmp/x.x

should have the following context

-rw-r--r--  root root root:object_r:tmp_t  x.x

You can also try copying and moving a file to /tmp and check the 
context after each to see the difference.
 
Then delete the file created by your script from /tmp and run your cgi 
script by hand.

What is the context of the file now created.

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


Re: [CentOS] SELinux and access across 'similar types'

2012-01-09 Thread Tony Molloy
On Monday 09 January 2012 20:00:29 Marko Vojinovic wrote:
> On Monday 09 January 2012 11:45:26 Daniel J Walsh wrote:
> > SELinux has no idea what the labels are in /tmp, so restorecon
> > will not change the labels.  It would be best to just remove the
> > content from /tmp and allow new content to be created.  If you
> > want the content to be accessible from apache, you could change
> > it to httpd_tmp_t
> > 
> > chcon -t httpd_tmp_t /tmp/PATH
> 
> But isn't there a policy for default labelling of arbitrary files
> put in /tmp? I mean, when apache puts a file in /tmp, it should be
> labelled *somehow*, according to the rules for apache and/or the
> /tmp directory, right? This should happen in both enforcing and
> permissive modes.
> 
> So is the default type label for such a case file_t? If it is, it's
> a bug, since SELinux would deny subsequent access to that file,
> per policy, right?
> 
> If I understood the OP correctly, he enabled SELinux (into
> permissive mode), relabeled the whole filesystem, rebooted several
> times, and after all that apache creates a file in /tmp with a
> label file_t. AFAIK, this should *never* happen, with the default
> policy.
> 

Exactly as I thought. If I touch a file or cp a file into /tmp then it's 
labelled as tmp_t not file_t. On the other hand if I mv a file in it 
retains it's original type. So how could a file created in /tmp get a 
file_t type.

That's why I asked the OP to delete the file and run the script which 
creates the file by hand.

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


Re: [CentOS] SELinux and access across 'similar types'

2012-01-10 Thread Tony Molloy
On Tuesday 10 January 2012 04:05:43 Marko Vojinovic wrote:
> On Monday 09 January 2012 15:29:59 Daniel J Walsh wrote:
> > file_t means the file has no label, so the only way to create
> > this type of file would be to remove the security attributes on
> > the file. On an SELinux system, file_t should never be created,
> > they are only created on a disabled SELinux system.  I guess you
> > could try to use chcon -t file_t on a file, but I believe the
> > kernel will block that. Or you could attempt to delete the
> > SELinux label, but that might also be denied.
> 
> Ok, now I think I understand. The OP has stale files in /tmp which
> are not labelled, due to not purging /tmp on reboot. SELinux
> doesn't know how these files should be labelled, so it doesn't
> even try, and gives them the type file_t, which is a synonym for
> "this file doesn't have a type".
> 
> So the answer for the OP is to use chcon on this file to label it
> somehow. If that doesn't work, he should delete the file and
> recreate it (while SELinux is active), so that it gets properly
> labelled.
> 
> I learned something new today. :-) Thanks for the explanation!
> 
> Best, :-)
> Marko
> 
+1

I think I'm finally getting the hang of this SELinux.

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


Re: [CentOS] LDAP howto using ds-base and ds-admin and related consoles

2009-07-31 Thread Tony Molloy
On Thursday 30 July 2009 19:23:24 Kwan Lowe wrote:
> On Thu, Jul 30, 2009 at 1:03 PM, Rob Kampen
> wrote: [snip]
>
> > I have read many hundreds of pages, have purchased O'reilly's LDAP System
> > Administration but cannot seem to get my dirsrv based LDAP to function.
> > I do understand that ds uses LDIF files to store and set things up, but
> > seem unable to grasp the arcane entries that need to exist so I can
> > access it with a basic LDAP client to load my users etc.
> > Also I guess there are certain schemas that need to be used to allow
> > basic functions to work.
> > My wish list:
> > linux user authentication and authorization
> > windows user authentication and authorization (via samba?)
> > customer contact list (name, address, company, phone numbers, email
> > addresses)
> > - this last one to be used by Thunderbird and my SIP phone system - both
> > of which profess to speak LDAP
> > I'm sure there are many small business folk that would like something
> > like this, however I cannot find a template with all my searches, so for
> > those of you with better LDAP and or google skills - please point me in
> > the right direction.
>

I'm going through the same process as Rob ( the OP ) at the moment. I want to 
setup centos-directory server. initially I want it to replace a NIS and Samba 
system with about 1200 existing users. 

> There's a pretty straightforward guide at HowToForge.com (search for
> "CentOS LDAP"). It's a little dated, but works as advertised.  In a
> nutshell the installation requires installing the centos-ds packages
> (about 4), installing a Sun Java, and then populating the database.
> The client side is even simpler.

Installing centos-ds is not a problem. It's what you do after it. Especially 
for people like me who have no experience with OpenLDAP.

>
> Linux and Windows user authentication is straightforward, with GUI
> based setup and editing.
>

With 1200 existing users to be migrated then GUI based setup and editing is 
not very useful.

> The default schema I use doesn't include address, company, etc., but
> these are very easily added.  I tested with kaddressbook and a couple
> other LDAP browsers without any glitches.

I'm going through the Howto:Samba from  at the 
moment and hopefully that will get me started.

But what would be nice is:

1. Howto:migtate existing NIS to CentosDS
2. Howto:migrate existing Samba to CentosDS

Regards,

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



-- 

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LDAP howto using ds-base and ds-admin and related consoles

2009-07-31 Thread Tony Molloy
On Friday 31 July 2009 15:05:29 Craig White wrote:


> > I'm going through the Howto:Samba from  at
> > the moment and hopefully that will get me started.
> >
> > But what would be nice is:
> >
> > 1. Howto:migtate existing NIS to CentosDS
> > 2. Howto:migrate existing Samba to CentosDS
>
> 
> seriously...I don't think you are ever going to find such a beast.

True, it was a wish list after all ;-)

> There are some really good tools from padl to migrate nis to ldap (on
> Redhat/CentOS installed as part of openldap-servers package). This may
> require some amount of script-fu (perl, sed, awk, etc.) but not too
> much. Then to add the samba attributes/passwords/machine accounts will
> require a larger dose of script-fu.

I've got them and they are useful. As I said I'm going through the Howto:Samba 
now.

> But this all would be virtually impossible without a decent knowledge of
> how LDAP works and that is regardless of whether you use CentOS-DS or
> OpenLDAP.
>
> Craig

After reading Carter's book I think i've got some idea of how LDAP works. Just 
a pity that most books/documentation seem to be about OpenLDAP so it takes a 
while to convert to Centos-DS.

regards,
Tony


-- 

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LDAP howto using ds-base and ds-admin and related consoles

2009-07-31 Thread Tony Molloy
On Friday 31 July 2009 16:12:12 Craig White wrote:
> On Fri, 2009-07-31 at 16:00 +0100, Tony Molloy wrote:
> > > But this all would be virtually impossible without a decent
> >
> > knowledge of
> >
> > > how LDAP works and that is regardless of whether you use CentOS-DS
> >
> > or
> >
> > > OpenLDAP.
> > >
> > > Craig
> >
> > After reading Carter's book I think i've got some idea of how LDAP
> > works. Just
> > a pity that most books/documentation seem to be about OpenLDAP so it
> > takes a
> > while to convert to Centos-DS.
>
> 
> I agree that Gerald Carter's book makes LDAP understandable.
>
> The reality is that the LDAP API is pretty much the same and you
> actually use openldap-client and nss-ldap tools even with CentOS-DS. I
> haven't used CentOS-DS but I have used Fedora-DS and it is built from
> Fedora-DS. The difference between them is setup of schema, certificates,
> ACL's/ACI's and I found once I understood OpenLDAP, that Fedora-DS was
> easy enough to use with only a few questions.
>
> I think you might want to subscribe to
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
> Craig

Allready subscribed !!

Tony

-- 

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dell E6410

2010-10-26 Thread Tony Molloy
On Monday 25 October 2010 20:21:43 Bo Lynch wrote:
> On Mon, October 25, 2010 3:19 pm, Eero Volotinen wrote:
> > 2010/10/25 Bo Lynch :
> >> Just recently bought a Dell E6410 with a Intel® HD Graphics with
> >> ExpressCard with I7-640m processor. Having some issues getting a
> >> graphical
> >> env to work. By just the looks of lspci X is wanting to use the VGA
> >> Compatable controller: Intel Corp Core Processor Intergrated graphics
> >> controller.
> >> Everything else is using Intel Corp Series 5/3400 Series Chipset.
> >> 
> >> Has anyone else had any luck getting similar intel onboard grphics to
> >> work?
> > 
> > Centos is possibly too antique for that
> > 
> > --
> > Eero
> 
> WOW.I thought that at least a generic graphics driver would suit just
> fine??? Is it something pertaining to this particular intel chipset?
> 

I recently had major problems getting Fedora 13 to work on the E6410 ( worked 
fine on the E6510 ;-) )

See the thread "Fedora 13 on Dell E6410 screen resolution problem" on the 
Fedora Mailing list for a discussion and solution to the problem. 

The laptop had a NVidia graphics controller, unlike yours, and the solution 
involved using the propritory NVidia drivers.

Tony


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


Re: [CentOS] difference between cron and shell invocation.

2010-12-07 Thread Tony Molloy
On Tuesday 07 December 2010 14:34:33 James B. Byrne wrote:
> I have a fairly involved root cron task that I moved verbatim from
> another server. On the original server, this task ran without
> problem.  On the new server, when this task runs via cron, which I
> confirm is happening by looking in the cron log, no files are
> transferred and no error is reported.  However, if I copy cron
> command from roots crontab and paste it into a terminal session on
> the new server then the task runs to completion and the files are
> transferred.
> 
> This task involves sshfs, fuse, and rsync and employs pki
> certificates for authentication.  The fact that it works from the
> shell without alteration and yet not from cron is the issue.
> 
> Does anyone have any idea where I would start to track down what is
> going on?

Check the paths in cron. They are not necessarly the same as the paths for the 
shell.

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


Re: [CentOS] need filesystem recommendation

2008-10-12 Thread Tony Molloy
On Saturday 11 October 2008 15:11:57 Mag Gam wrote:
> Hi All,
>
> I have a backup site and I would like to rsync from production to
> backup site. However, I would like to have all backups be compressed
> so I can save space. Can anyone recommend a good way to do this? I am
> currently using tar and bzip2 to do this.
>
> TIA

Have a look at BackupPC < backuppc.sourceforge,net >


It is very easy to install from source, there's even an rpm on the testing 
repo.

It does compression and pooling of backups.

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


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


Re: [CentOS] nfs mounted /home and selinux

2008-10-31 Thread Tony Molloy
On Thursday 30 October 2008 21:00:35 Marc Wiatrowski wrote:
> I'm trying to set the context on an nfs mounted /home.  I believe
> exactly like in Redhat's Deployment Guide at
>
> http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.2/html/Deployme
>nt_Guide/ch45s02s03.html
>
>
> On my system running CentOS 5.2:
>
> $ ls -alZ /home
> drwxr-xr-x  root root system_u:object_r:home_root_t.
> drwxr-xr-x  root root system_u:object_r:root_t ..
>

Yep, default settings for /home

> $ mount -t nfs -o context=user_u:object_r:user_home_dir_t \
>  server001a:/vol/vol01/home /home
>
> $ ls -alZ /home
> drwxrwxr-x  root rootsystem_u:object_r:nfs_t  .
> drwxr-xr-x  root rootsystem_u:object_r:root_t ..
> drwx--  fred users   system_u:object_r:nfs_t  fred
> drwx--  mike users   system_u:object_r:nfs_t  mike
> drwx--  aliceusers   system_u:object_r:nfs_t  alice

Yep that's an nfs mount so SELinux type is nfs. At least that's the way it 
looks on my system

ls -al /users/

drwx--  molloyt csstaff system_u:object_r:nfs_t:s0   network

Regards,

Tony
>
> $ mount -l
> server001a:/vol01/home on /home type nfs
> (rw,context="user_u:object_r:user_home_dir_t:s0",addr=10.1.1.11)
>
>
> Shouldn't the users be set to user_u:object_r:user_home_dir_t?  I feel
> like I am missing something simple...
>
> I don't see any avc or related syslog messages and the nfs server is an
> older netapp if that matters.
>
> thanks,
> marc
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos


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


Re: [CentOS] Can't update CentOS 5.2

2009-01-10 Thread Tony Molloy
On Saturday 10 January 2009 12:45:13 Mário Gamito wrote:
> Alain PORTAL wrote:
> > Hi,
> >
> > Le samedi 10 janvier 2009, Mário Gamito a écrit :
> >> I have Internet connection, but I cant ping mirrorlist.centos.org and
> >> http://mirrorlist.centos.org/?release=5&arch=i386&repo=os just stalls.
> >
> > Ping works for me.
> > Perhaps you have to retry.
>
> I can ping it also, but nothing happens after :(
>
> Warm Regards,

There seems to be a problem with mirrorlist

>From here in Ireland.

[r...@nogs ~]# ping mirrorlist.centos.org
PING mirrorlist.centos.org (72.21.40.11) 56(84) bytes of data.

--- mirrorlist.centos.org ping statistics ---
22 packets transmitted, 0 received, 100% packet loss, time 21082ms


Tony




-- 

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] I see 5.3 ISO images on the mirrors

2009-03-31 Thread Tony Molloy
On Tuesday 31 March 2009 18:41:48 Florin Andrei wrote:
> On one mirror that I tried, at least.
>
> So, is it live yet? :-)


Well It's live on my local mirror. I've just done a yum update on a test 
server and everything seems OK. So it looks like the wait was worth it.

Good job to all those CentOS developers.

regards,

Tony
-- 

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrade

2009-04-01 Thread Tony Molloy
On Wednesday 01 April 2009 08:00:12 Tony Molloy wrote:
> On Wednesday 01 April 2009 03:34:03 Ned Slider wrote:
> > Thomas Dukes wrote:
> > > Hello,
> > >
> > > Just did yum update.  There were numerous packages to be updated.  I
> > > get this is the newest release of Centos.
> > >
> > > The update bombed stating I need nss-3.12.2.0-2.el5.  I did a rpm -q
> > > nss and nss-3.12.2.0-4.el5 is install in Cento 5.2.
> > >
> > > What's up with that?
> > >
> > > TIA
> >
> > You didn't wait for the official release announcement ;)
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
>
> The version of nss you have installed is from the epel repo not base CentOS
> so it is conflicting with something from the 5.3 release. Remove the old
> version of nss, do the update and reinstall nss if required. I had a
> similar problem with one of the NetworkManager rpms from the epel repo.
>
> Regards,
>
> Tony

Pleasse disregard this "piece of c**p".  I was assuming youir problem was 
similar to mine. Should read e-mails more carefully before replying. 

Regards,

Tony

-- 

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrade

2009-04-01 Thread Tony Molloy
On Wednesday 01 April 2009 03:34:03 Ned Slider wrote:
> Thomas Dukes wrote:
> > Hello,
> >
> > Just did yum update.  There were numerous packages to be updated.  I get
> > this is the newest release of Centos.
> >
> > The update bombed stating I need nss-3.12.2.0-2.el5.  I did a rpm -q nss
> > and nss-3.12.2.0-4.el5 is install in Cento 5.2.
> >
> > What's up with that?
> >
> > TIA
>
> You didn't wait for the official release announcement ;)
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

The version of nss you have installed is from the epel repo not base CentOS so 
it is conflicting with something from the 5.3 release. Remove the old version 
of nss, do the update and reinstall nss if required. I had a similar problem 
with one of the NetworkManager rpms from the epel repo.

Regards,

Tony

-- 

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrade

2009-04-01 Thread Tony Molloy
On Wednesday 01 April 2009 02:36:36 Thomas Dukes wrote:
> Hello,
>
> Just did yum update.  There were numerous packages to be updated.  I get
> this is the newest release of Centos.
>
> The update bombed stating I need nss-3.12.2.0-2.el5.  I did a rpm -q nss
> and nss-3.12.2.0-4.el5 is install in Cento 5.2.
>
> What's up with that?
>
> TIA
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos


Thomas,

If you're doing an update from 5.2 to 5.3 you need to have both the base and 
the updates repo enabled. This is because there are some packages that were 
released as updates for 5.2 and they are newer than the packages in the 5.3 
base such as nss. They have been released as updates to 5.3.

Regards,

Tony

-- 

Dept. of Comp. Sci.
University of Limerick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NFS client firewall config?

2010-02-18 Thread Tony Molloy
On Thursday 18 February 2010 11:00:53 Rudi Ahlers wrote:
> Hi all,
> 
> Which ports do I need to have open on an NFS client's firewall to allow it
> to connect to a remote NFS servers?
> 
> When I disable iptables (using ConfigServerFirewall), it connects fine, but
> as soon as I enable it, NFS gives me this error:
> r...@saturn:[~]$ mount master1.mydomain.co.za:/saturn /bck
> mount: mount to NFS server 'master1.mydomain.co.za' failed: RPC Error:
> Unable to send.
> 
> I have added ports 111 & 2049 in both the TCP & UDP ingres & exgress
>  ranges, but that doesn't seem to help. portmap & nfs is running as well.
>  But as I say, as soon as I disable the firewall, it mounts fine.
> 
> Google search results reveal a lot of different ports, like 4000:4004,
> 83 (something, I forgot) but it still doesn't help.
> 
> 
> r...@saturn:[~]$ rpcinfo -p
>program vers proto   port
> 102   tcp111  portmapper
> 102   udp111  portmapper
> 1000211   udp  48996  nlockmgr
> 1000213   udp  48996  nlockmgr
> 1000214   udp  48996  nlockmgr
> 1000211   tcp  47195  nlockmgr
> 1000213   tcp  47195  nlockmgr
> 1000214   tcp  47195  nlockmgr
> 1000111   udp   4004  rquotad
> 1000112   udp   4004  rquotad
> 1000111   tcp   4004  rquotad
> 1000112   tcp   4004  rquotad
> 132   udp   2049  nfs
> 133   udp   2049  nfs
> 134   udp   2049  nfs
> 132   tcp   2049  nfs
> 133   tcp   2049  nfs
> 134   tcp   2049  nfs
> 151   udp   4003  mountd
> 151   tcp   4003  mountd
> 152   udp   4003  mountd
> 152   tcp   4003  mountd
> 153   udp   4003  mountd
> 153   tcp   4003  mountd
> 

Hi,

NFS by default uses random high numbered ports. See "48996  nlockmgr" above. 
You need to tie them down to allow them through your firewall

Create the following file /etc/sysconfig/nfs

#/etc/sysconfig/nfs
# Created 05.07.05 by Tony Molloy

# Number of NFS threads to run
RPCNFSDCOUNT=48

# ports for statd daemon
STATD_PORT=4000
STATD_OUTGOING_PORT=4004

# ports for lockd daemon
LOCKD_TCPPORT=4001
LOCKD_UDPPORT=4001

# ports for mountd daemon
#MOUNTD_NFS_V2=no
#MOUNTD_NFS_V3=no
MOUNTD_PORT=4002

# ports for rquota daemon
#RQUOTAD=no
RQUOTAD_PORT=4003


Then open ports 4000:4004 in you firewall as well as port 111 the portmapper 
and port 2049 for NFS

Hope this helps,

Tony

 
-- 

Chief Technical Officer.   Tel: +353 061-202778
Dept. of Comp. Sci.
University of Limerick.

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


Re: [CentOS] NFS client firewall config?

2010-02-18 Thread Tony Molloy
On Thursday 18 February 2010 11:23:43 Rudi Ahlers wrote:
> On Thu, Feb 18, 2010 at 1:11 PM, Tony Molloy  wrote:
> > On Thursday 18 February 2010 11:00:53 Rudi Ahlers wrote:
> > > Hi all,
> > >
> > > Which ports do I need to have open on an NFS client's firewall to allow
> >
> > it
> >
> > > to connect to a remote NFS servers?
> > >
> > > When I disable iptables (using ConfigServerFirewall), it connects fine,
> >
> > but
> >
> > > as soon as I enable it, NFS gives me this error:
> > > r...@saturn:[~]$ mount master1.mydomain.co.za:/saturn /bck
> > > mount: mount to NFS server 'master1.mydomain.co.za' failed: RPC Error:
> > > Unable to send.
> > >
> > > I have added ports 111 & 2049 in both the TCP & UDP ingres & exgress
> > >  ranges, but that doesn't seem to help. portmap & nfs is running as
> > > well. But as I say, as soon as I disable the firewall, it mounts fine.
> > >
> > > Google search results reveal a lot of different ports, like 4000:4004,
> > > 83 (something, I forgot) but it still doesn't help.
> > >
> > >
> > > r...@saturn:[~]$ rpcinfo -p
> > >program vers proto   port
> > > 102   tcp111  portmapper
> > > 102   udp111  portmapper
> > > 1000211   udp  48996  nlockmgr
> > > 1000213   udp  48996  nlockmgr
> > > 1000214   udp  48996  nlockmgr
> > > 1000211   tcp  47195  nlockmgr
> > > 1000213   tcp  47195  nlockmgr
> > > 1000214   tcp  47195  nlockmgr
> > > 1000111   udp   4004  rquotad
> > > 1000112   udp   4004  rquotad
> > > 1000111   tcp   4004  rquotad
> > > 1000112   tcp   4004  rquotad
> > > 132   udp   2049  nfs
> > > 133   udp   2049  nfs
> > > 134   udp   2049  nfs
> > > 132   tcp   2049  nfs
> > > 133   tcp   2049  nfs
> > > 134   tcp   2049  nfs
> > > 151   udp   4003  mountd
> > > 151   tcp   4003  mountd
> > > 152   udp   4003  mountd
> > > 152   tcp   4003  mountd
> > > 153   udp   4003  mountd
> > > 153   tcp   4003  mountd
> >
> > Hi,
> >
> > NFS by default uses random high numbered ports. See "48996  nlockmgr"
> > above.
> > You need to tie them down to allow them through your firewall
> >
> > Create the following file /etc/sysconfig/nfs
> >
> > #/etc/sysconfig/nfs
> > # Created 05.07.05 by Tony Molloy
> >
> > # Number of NFS threads to run
> > RPCNFSDCOUNT=48
> >
> > # ports for statd daemon
> > STATD_PORT=4000
> > STATD_OUTGOING_PORT=4004
> >
> > # ports for lockd daemon
> > LOCKD_TCPPORT=4001
> > LOCKD_UDPPORT=4001
> >
> > # ports for mountd daemon
> > #MOUNTD_NFS_V2=no
> > #MOUNTD_NFS_V3=no
> > MOUNTD_PORT=4002
> >
> > # ports for rquota daemon
> > #RQUOTAD=no
> > RQUOTAD_PORT=4003
> >
> >
> > Then open ports 4000:4004 in you firewall as well as port 111 the
> > portmapper
> > and port 2049 for NFS
> >
> > Hope this helps,
> >
> > Tony
> >
> >
> > --
> >
> > Chief Technical Officer.   Tel: +353 061-202778
> > Dept. of Comp. Sci.
> > University of Limerick.
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> 
> Hi Tony,
> 
> Where do I do this? On the NFS server, or the NSF client?
> 

Put the file on the NFS server and open the ports on the NFS server. Then 
restart NFS services

# service nfs start
# service nfslock start

To make these permanent

# chkconfig --level 35 nfs on
# chkconfig --level 35 nfslock on

Check with rpcinfo that NFS is using the specified ports.

Tony

> 4 other NFS clients have connected to this server successfully, and I used
> the same settings (i.e. opened port 111 & 4096) on the client's firewall
> 

-- 

Chief Technical Officer.   Tel: +353 061-202778
Dept. of Comp. Sci.
University of Limerick.

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


Re: [CentOS] crontab and/or anacrontab ?

2010-03-11 Thread Tony Molloy
On Thursday 11 March 2010 12:50:13 Timothy Murphy wrote:
> Is one meant to have one or the other?
> If so, which is recommended?
> I have
> 
> [...@helen etc]$ cat anacrontab
> # /etc/anacrontab: configuration file for anacron
> 
> # See anacron(8) and anacrontab(5) for details.
> 
> SHELL=/bin/sh
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> MAILTO=root
> 
> 1   65  cron.daily  run-parts /etc/cron.daily
> 7   70  cron.weekly run-parts /etc/cron.weekly
> 30  75  cron.monthlyrun-parts /etc/cron.monthly
> 
> [...@helen etc]$ cat crontab
> SHELL=/bin/bash
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> MAILTO=root
> HOME=/
> 
> # run-parts
> 01 * * * * root run-parts /etc/cron.hourly
> 02 4 * * * root run-parts /etc/cron.daily
> 22 4 * * 0 root run-parts /etc/cron.weekly
> 42 4 1 * * root run-parts /etc/cron.monthly
> 
> I didn't write either of these,
> they must have been automatically installed.
> 
> My impression is that anacrontab was ignored until recently,
> but now as far as I can see both are being read and acted on.
> 
> Any enlightenment gratefully received.
> 

Both are typically installed as part of a CentOS install. But you only need 
one or the other. Generally cron on a 24x7 machine and anacron on a laptop.
One or the otrher is mormally disabled.

cron is a fixed time schedular. I wakes up every minute and checks if there are 
any jobs to be run. It checks /etc'/crontab for system crons to run and also 
in /var/spool/cron for individual crons to be run.

e.g  from my /etc/crontab file

22 4 * * 0 root run-parts /etc/cron.weekly

says

At 22 minutes past 4am run /etc/cron.weekly


anacron is for machines that are not up 24x7 so they could miss some of the 
times when "cron jobs" were to be run. So anacron wakes up and checks the 
/etc/anacrontab file. Then it runs any jobs after a certain delay period ( not 
at a fixed time )

e.g from my /etc/anacrontab file

7   20  cron.weekly nice run-parts /etc/cron.weekly

says

20 minutes after waking up every 7 days run /etc/cron.weekly


Hope this helps,

Tony


-- 

Chief Technical Officer.   Tel: +353 061-202778
Dept. of Comp. Sci.
University of Limerick.

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


Re: [CentOS] crontab and/or anacrontab ?

2010-03-11 Thread Tony Molloy
On Thursday 11 March 2010 16:00:49 Timothy Murphy wrote:
> Tony Molloy wrote:
> > anacron is for machines that are not up 24x7 so they could miss some of
> > the times when "cron jobs" were to be run. So anacron wakes up and checks
> > the /etc/anacrontab file. Then it runs any jobs after a certain delay
> > period ( not at a fixed time )
> 
> ...
> 
> > Hope this helps,
> 
> Sadly, no.
> 
> If "anacron is for machines that are not up 24x7"
> then why run it on machines that are up all the time
> (which I imagine is most CentOS machines)?
> 

It's only on if you have switched it on..
#  chkconfig --list | grep anacron

will tell you if it is switched on

#  chkconfig --level 35 anacon off

will switch it off. on next rebot

#  service anacron stop

will stop it immediatley.

You don't need it on a machine that's up 24x7. cron should handle all your 
scheduled jobs.

By the way I run centos on several of my laptops and they're not up 24x7

Tony


-- 

Chief Technical Officer.   Tel: +353 061-202778
Dept. of Comp. Sci.
University of Limerick.

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


Re: [CentOS] crontab and/or anacrontab ?

2010-03-11 Thread Tony Molloy
On Thursday 11 March 2010 16:17:13 Timothy Murphy wrote:
> Alexander Dalloz wrote:
> > let's take the case that you have a power failure or a scheduled
> > maintenance with your system for instance in the early morning hours,
> > from 03:00am - 05:00am. cron.daily is set by default to run at 04:02am.
> > So in this case cron could not perform tasks like logwatch. logwatch will
> > miss in such a case, *if* there wouldn't be anacron which takes over the
> > task to run after the machine is up again (i.e. at 05:00am).
> 
> Thanks for your response.
> 
> Actually, I wouldn't mind in the slightest if cron.daily failed to run
> because the machine was down at the nominated time.
> It is not as though my world depends on cron.daily running every day.
> I certainly would not run another program in case that happened.
> 

You're world may not depend on it but those of us who run 10's of servers need
a bit more reassurance.  ;-)

> > How anacron handles jobs is documentend in "man 8 anacron". It uses
> > timestamp files in /var/spool/anacron/ to control, when a job was last
> > performed and whether it is pending.
> 
> Actually, "man 8 anacron" does not say that.
> It says "Anacron records the date in a special timestamp file",
> but it doesn't say where that file is.
> 

They're in /var/spool/anacron. Three files cron.daily .weekly .monthly.

> I see that there are actually files /var/spool/anacron/cron.daily , etc,
> on my machine listing the last day anacron ran (20100311)
> But it seems that this information is not used, in my case,
> I don't know why.
> 

That's the date anacron was last run.

> As I said, this duplication seems to have started recently,
> and I have taken no action on this machine for months
> apart from running "sudo yum update",
> so I assume some update had this effect.
> 

Yum probaably updated anacron and set it to running

On my laptop

#  rpm -qa --last | grep anacron
gives
cronie-anacron-1.4.3-4.fc12   Sat Feb 27 11:05:52 2010

So it was updated last on 27th Feb.

> I have a second CentOS machine where this duplication does not occur,
> even though everything seems the same as on the first machine.
> 

Tony

-- 

Chief Technical Officer.   Tel: +353 061-202778
Dept. of Comp. Sci.
University of Limerick.

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


Re: [CentOS] Not firewall, but what?

2010-05-07 Thread Tony Molloy
On Friday 07 May 2010 05:38:45 Jussi Hirvi wrote:
> Ok, thanks for ideas - many new things to test. So far no luck.
> 
> Too bad i don't have first-hand access to any of the client machines who
> *do* have this problem.
> 
> Next, I will go and switch the ethernet cable to a different slot on the
> router - kind of desperate, I know.
> 
> Some more details:
> - this web server is a xen virtual guest system, with CentOS 5.4
> - the problem surfaced yesterday morning (6th of May), after I had
> migrated all these web sites from an old Fedora box to this new CentOS
> system
> 
> Does the problem affect other xen systems on the same box? I haven't
> tested this yet (I cannot reproduce the error).
> 
> You could test yourself if you can see
>   http://62.236.221.71 (the problem system)
>   http://62.236.221.78 (another guest on the same xen host)
> 
> If someone *cannot* see the 1st one, then it would be interesting to
> know if (s)he can see the 2nd one or not.
> 
> - Jussi
> 

OK I can see the second one but not the first.

I can also ping the second one but not the first.

Tony

> On 6.5.2010 22.00, Benjamin Franz wrote:
> > On 05/06/2010 11:42 AM, Ryan Manikowski wrote:
> >> Notice the op posted they get timeouts even when going directly to a
> >> numerical address (if the apache server is configured to respond to
> >> *:80 it should at least display something)
> >>
> >> Try using telnet from a client machine that can not connect.
> >>
> >> e.g. telnet host.name.here 80
> >>
> >> or
> >>
> >> telnet xx.xxx.xxx.xxx 80
> >>
> >> Try a few times and see if you're getting a timeout or if it connects
> >> every time. Run tcpdump on the apache server while sending the
> >> connection requests and see if the connection attempts show up at all.
> >> If they do not, then it's a network problem.
> >
> > Try running 'ab' (the apache bench tool - see 'man ab' for how to use
> > it) against your server and see if you can provoke the timeouts. If you
> > can, then you are probably not configured to handle many quick
> > connections and should check (1) httpd.conf to make sure you don't have
> > an excessively low setting for 'MaxClients' or (2) a too low setting for
> > max open filehandles. Look in /etc/security/limits.conf - you should
> > have a line reading something similar to:
> >
> >
> > * - nofile 64000
> >
> >
> > somewhere in it to raise the max number of open files. Busy web servers
> > need lots of filehandles.
> >
> > --
> > Benjamin Franz
> >
> > --
> > Benjamin Franz
> >
> >
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> 

-- 

Chief Technical Officer.   Tel: +353 061-202778
Dept. of Comp. Sci.
University of Limerick.

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


Re: [CentOS] 5.5 ISO size vs RHEL

2010-05-19 Thread Tony Molloy
On Wednesday 19 May 2010 15:46:57 Anthony Caetano wrote:
> Hi
> 
> We use CentOS and RHEL, the 5.5 RHEL ISO for x86_64 is 3.7GB (**), the
>  CentOS one is 4602MB (***) split over two DVDs.  Is this reasonable and
>  correct?  Any ideas why would there be such a discrepancy if they are
>  built from the same (or very similar) source?
> 
> Regards
> Anthony Caetano
> 
> **  the md5sum checks out, and RHN lists the size as 3,532 MB
> 
> *** CentOS-5.5-x86_64-bin-DVD-1of2.iso + CentOS-5.5-x86_64-bin-DVD-2of2.iso
> (according to ftp.heanet.ie:/pub/centos/5.5/isos/x86_64 )
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 


Not correct. From ftp.heanet.ie

/pub/centos/5.5/isos/i386>

4185118720 May 11 09:59 CentOS-5.5-i386-bin-DVD.iso
That's 4.1GB

/pub/centos/5.5/isos/x86_64> 

4393723904 May 13 23:37 CentOS-5.5-x86_64-bin-DVD-1of2.iso
That's 4.3 GB

432361472 May 13 23:42 CentOS-5.5-x86_64-bin-DVD-2of2.iso
That's 432Mb

So total is 4.7Gb approx

Maybe you downloaded CentOS-5.5-x86_64-bin-DVD-2of2.iso twice.

Tony

-- 

Chief Technical Officer.   Tel: +353 061-202778
Dept. of Comp. Sci.
University of Limerick.

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


Re: [CentOS] 5.5 ISO size vs RHEL

2010-05-19 Thread Tony Molloy
On Wednesday 19 May 2010 17:24:49 Rudi Ahlers wrote:
> On Wed, May 19, 2010 at 6:21 PM, Tony Molloy  wrote:
> >  On Wednesday 19 May 2010 15:46:57 Anthony Caetano wrote:
> > > Hi
> > >
> > > We use CentOS and RHEL, the 5.5 RHEL ISO for x86_64 is 3.7GB (**), the
> > >  CentOS one is 4602MB (***) split over two DVDs.  Is this reasonable
> > > and correct?  Any ideas why would there be such a discrepancy if they
> > > are built from the same (or very similar) source?
> > >
> > > Regards
> > > Anthony Caetano
> > >
> > > **  the md5sum checks out, and RHN lists the size as 3,532 MB
> > >
> > > *** CentOS-5.5-x86_64-bin-DVD-1of2.iso +
> >
> > CentOS-5.5-x86_64-bin-DVD-2of2.iso
> >
> > > (according to ftp.heanet.ie:/pub/centos/5.5/isos/x86_64 )
> > > ___
> 
> As matter of interest, what is the 2nd DVD for?
> 


As far as I know it contains most of the OpenOffice language packs. It 
shouldn't 
be needed to do an install unless you are going to install some of the more 
unusual packs.

Regards,

Tony
> >  --
> > Kind Regards
> > Rudi Ahlers
> > SoftDux
> >
> > Website: http://www.SoftDux.com
> > Technical Blog: http://Blog.SoftDux.com
> > Office: 087 805 9573
> > Cell: 082 554 7532
> 

-- 

Chief Technical Officer.   Tel: +353 061-202778
Dept. of Comp. Sci.
University of Limerick.

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


Re: [CentOS] centos 5.5 on optiplex 745

2010-06-29 Thread Tony Molloy
On Monday 28 June 2010 12:58:36 Janez Kosmrlj wrote:
> Hi,
> we have some old dell optiplex 745 machines which have the Intel 965q
> chipset. The problem is, that they freeze as soon as the system tries to
> start the X system. It happens even before any log is written. This happens
> almost every time (for some reason it sometimes work, but 99% it fails).
> When i change the graphic driver in xorg.conf from intel to vesa it mostly
> works, but still i sometimes get a flickering screen, but this can mostly
> be resolved using ctrl+alt+backspace (sometimes you have to try this
> twice). We use the 1024x768 and 24 bit colors, so this shouldn't be the
> problem.
> 
> Does anyone know a fix for this problem?
> 
> Janez

Janez,

I seem to remember having a similar problem with a lab full of those machines 
some years ago. They were running an earlier version of Fedora. What we had to 
do was upgrade the BIOS. They are now running Fedora-11 with BIOS ver 2.6.2

Hope this helps,

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


Re: [CentOS] Centos 6.5 install, missing libraries: where did I go wrong?

2015-08-15 Thread Tony Molloy
On Saturday 15 August 2015 06:59:36 Gilbert Sebenste wrote:
> Hello everyone,
> 
> I had a CentOS 6.5 CD for a clean install, and I did a desktop
>  install. Then I did a yum update to bring it up to 6.7. So far, so
>  good.
> 
> I run a bunch of scientific programs that use C++ compilers and
>  libraries. But, the programs were failing becaause in /usr/lib,
>  the libraries simply weren't there. The directory was fairly
>  sparsely populated with about 10 directories of libraries for
>  specific programs. But otherwise, things that are in /usr/lib on a
>  Centos 5 server, such as:
> 
> libkate.so.1.2.1
> libkdb5.a
> libkdb5.so
> libkdb5.so.4
> 
> are indeed there. These are just 4 library examples. I assume I did
> something wrong in the installation to keep the lib*.so.* files
>  from installing into /usr/lib. What do I need to do next time to
>  keep that from happening? Anyone have any ideas?
> 
> Gilbert
> 

Assuming this was a 64bit install the libraries are in /usr/lib64 not 
/usr/lib.

Tony
-- 
Linux nogs.tonyshome.ie 2.6.32-573.3.1.el6.x86_64 #1 SMP Thu Aug 13 
22:55:16 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7.2 laptop Intel Corporation Centrino Wireless-N 2230 (rev c4)

2016-04-14 Thread Tony Molloy
On Thursday 14 April 2016 03:42:50 Philip V wrote:
> With CentOS 7.2 a laptop wireless card is recognized in dmesg, but
> nonfunctional. Toggling the hardware wifi switch causes the
>  Bluetooth icon to appear and disappear. The network configuration
>  window shows the Wireless tab greyed out.  Rebooting with the
>  bluetooth enabled does not help. It appears the appropriate driver
>  is iwlwifi, which is what works in Fedora and appears to be
>  available and installed in CentOS.
> 
> lspci gives
> 08:00.0 Network controller: Intel Corporation Centrino Wireless-N
>  2230 (rev c4)
> 

I had similar problems installing 7.2 onto a couple of Dell E6xxx 
laptops with 
Intel Corporation Centrino Ultimate-N 5300/6300 cards. It lets me 
configure the network at install time but when I boot there is no wifi 
device.

Partial solution.

Laptop 1.  ( install when 7.1 was latest release )
installed 7.1no wifi
installed 7.0wifi works
upgraded to 7.1 several months agowifi works
upgraded to 7.2 when it was released   wifi works

Laptop 2   ( install when 7.2 was latest release )
 installed 7.2  no wifi
 installed  7.0 wifi works
 upgraded to 7.2 ( last weekend )   no wifi


Any ideas.

Regards
Tony

-- 
Linux nogs.tonyshome.ie 2.6.32-573.22.1.el6.x86_64 #1 SMP Wed Mar 23 
03:35:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
  
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7.2 laptop wireless Intel Corporation Centrino Wireless-N 2230 (rev c4)

2016-04-15 Thread Tony Molloy
On Friday 15 April 2016 07:24:40 Andreas Benzler wrote:
> Good morning Philip,
> 
> Some of you say Centos 7.0 works why not download this kernel from
>  vault.centos.org  and install with yum
>  install kernel…rpm?
> 
> Sincerely
> 
> Andy
> 
CentOS 7.0 works when installed but when you upgrade it to 7.2 the wifi 
device stops being recognised.

I'm going to do an install later today of 7.2 and see how it goes.

Tony
-- 
Linux nogs.tonyshome.ie 2.6.32-573.22.1.el6.x86_64 #1 SMP Wed Mar 23 
03:35:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7.2 laptop wireless Intel Corporation Centrino Wireless-N 2230 (rev c4)

2016-04-15 Thread Tony Molloy
On Friday 15 April 2016 08:34:06 Tony Molloy wrote:
> On Friday 15 April 2016 07:24:40 Andreas Benzler wrote:
> > Good morning Philip,
> >
> > Some of you say Centos 7.0 works why not download this kernel
> > from vault.centos.org <http://vault.centos.org/> and install with
> > yum install kernel…rpm?
> >
> > Sincerely
> >
> > Andy
> 
> CentOS 7.0 works when installed but when you upgrade it to 7.2 the
>  wifi device stops being recognised.
> 
> I'm going to do an install later today of 7.2 and see how it goes.
> 
> Tony
> 

OK I installed 7.2 ( 7-1511 Development workstation )

Anaconda allowed me to configure the wifi and it got an IP address from 
the router. So the wifi is working.

Reboot and no wireless device recognised.

NetworkManager only offers a wired and network proxy options for 
configuration.

iwl2000/2030 are installed and rfkill says the wireless is neither 
hard nor soft blocked.

So any ideas.

Tony
-- 
Linux nogs.tonyshome.ie 2.6.32-573.22.1.el6.x86_64 #1 SMP Wed Mar 23 
03:35:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7.2 laptop wireless Intel Corporation Centrino Wireless-N 2230 (rev c4)

2016-04-15 Thread Tony Molloy
On Friday 15 April 2016 13:48:58 Brandon Vincent wrote:
> On Fri, Apr 15, 2016 at 5:00 AM, Tony Molloy  
wrote:
> > So any ideas.
> 
> I may have missed this but what model laptop are we talking about?
> 
> Brandon Vincent
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
> 

In my case they are both Dell E65xx fairly old but still serviceable.

E6500 has

Network controller: Intel Corporation Ultimate N WiFi Link 5300

E6510 has
Network controller: Intel Corporation Centrino Ultimate-N 6300 
(rev 35)

Tony


-- 
Linux nogs.tonyshome.ie 2.6.32-573.22.1.el6.x86_64 #1 SMP Wed Mar 23 
03:35:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7.2 laptop wireless Intel Corporation Centrino Wireless-N 2230 (rev c4)

2016-04-15 Thread Tony Molloy
On Friday 15 April 2016 15:37:26 Tony Molloy wrote:
> On Friday 15 April 2016 13:48:58 Brandon Vincent wrote:
> > On Fri, Apr 15, 2016 at 5:00 AM, Tony Molloy 
> 
> wrote:
> > > So any ideas.
> >
> > I may have missed this but what model laptop are we talking
> > about?
> >
> > Brandon Vincent
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> 
> In my case they are both Dell E65xx fairly old but still
>  serviceable.
> 
> E6500 has
> 
> Network controller: Intel Corporation Ultimate N WiFi Link 5300
> 
> E6510 has
> Network controller: Intel Corporation Centrino Ultimate-N 6300
> (rev 35)
> 
> Tony
> 

My workaround.

On the Dell E6500

installed CentOS 7.0 from DVD ( development workstation )
   wifi works

updated to CentOS 7.1 ( 7.1503 ) using vault.centos.org 
   wifi works

updated to CentOS 7.2 ( 7.1511 ) using local repo
   wifi works

So I ended up with a working 7.2.

Hope this helps someone.

Tony.
   
 
-- 
Linux nogs.tonyshome.ie 2.6.32-573.22.1.el6.x86_64 #1 SMP Wed Mar 23 
03:35:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7.2 laptop wireless Intel Corporation Centrino Wireless-N 2230 (rev c4)

2016-04-20 Thread Tony Molloy
On Wednesday 20 April 2016 18:57:30 Joost wrote:
> Is NetworkManager-wifi installed?
> I remember after I installed Centos first time (7.0) wifi worked.
> When I later did a reinstall (7.2) during installation wifi worked
>  fine, but after a reboot not.
> Seems NetworkManager-wifi did not get installed by default.
> 
> On Wed, Apr 20, 2016 at 12:40 PM, Andreas Benzler
>  
> 
> wrote:
> > Ok, but still unclear where the problem is sitting.
> > Someone tested elrepro or my vanilla kernel
> >
> > http://centos.cms4all.org/centos/7/kernel/x86_64/ ?
> >
> > Sincerely
> >
> > Andy
> >
> > Am Dienstag, den 19.04.2016, 20:12 -0400 schrieb Philip V:
> > > Toshiba Satellite Pro P870
> > > Part PSPLFU-039011
> > >
> > > (I have the same symptoms as Tony reported.)
> > >
> > > On Fri, Apr 15, 2016 at 8:48 AM, Brandon Vincent
> > >
> > >  wrote:
> > > > On Fri, Apr 15, 2016 at 5:00 AM, Tony Molloy
> > > > 
> >
> > wrote:
> > > >> So any ideas.
> > > >
> > > > I may have missed this but what model laptop are we talking
> > > > about?
> > > >
> > > > Brandon Vincent
>

Anecdotal evidence only so take with a pinch of salt ;-)

I  installed 7.0 on a Dell laptop E6500 wifi worked.

I logged on remotely to do the update to 7.2 ( 7.1511 ) and at the 
same time I was pinging the laptop from another terminal. This should 
give me some idea of when wifi stopped working.

When the wifi stopped working, the pings stopped, in the update window 
the cleanup after the install was taking place and had stopped at 
cleanup of wpa-supplicant. Don't know what significance of that is.

Tony 

-- 
Linux nogs.tonyshome.ie 2.6.32-573.22.1.el6.x86_64 #1 SMP Wed Mar 23 
03:35:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Possible repo polllution

2012-11-30 Thread Tony Molloy

Hi,

I've just been checking my local copy of the CentOS repos. I found 
200+ i386/i686 packages  in both the updates/5/RPMS and 
updates/6/Packages directories.

I checked with my rsync site ( ftp.heanet.ie )  and the equivalent  UK 
site ( ftp.mirrorservice.org ) and they both carried these packages 
also.

Is this a case a repo pollution, it can't be necessary to have i386 
packages in the x86_64 updates. Just checking before I delete these 
packages.

Thanks.

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


Re: [CentOS] Possible repo polllution

2012-11-30 Thread Tony Molloy
On Friday 30 November 2012 14:21:12 Nicolas Thierry-Mieg wrote:
> Tony Molloy wrote:
> > Hi,
> >
> > I've just been checking my local copy of the CentOS repos. I
> > found 200+ i386/i686 packages  in both the updates/5/RPMS and
> > updates/6/Packages directories.
> >
> > I checked with my rsync site ( ftp.heanet.ie )  and the
> > equivalent  UK site ( ftp.mirrorservice.org ) and they both
> > carried these packages also.
> >
> > Is this a case a repo pollution, it can't be necessary to have
> > i386 packages in the x86_64 updates. Just checking before I
> > delete these packages.
> 
> no it's probably not repo pollution.
> try to google for multilib
> 
> for example:
> http://blog.nexcess.net/2012/07/19/64-bit-centos-installing-32-bit-
> packages/ ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 

Thanks Nicolas, John.

These repos are for a bunch of 64 servers, the only one of which 
requires 32bit packages is the one that runs Oracle ;-)

I might as well leave them there, disk space is cheap.

Thanks again.

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


Re: [CentOS] Large yum update

2013-01-19 Thread Tony Molloy
On Saturday 19 January 2013 03:51:53 E.B. wrote:
> Hi,
> 
> On about 8am GMT Jan 18, my server reported an unusually large
>  number of yum updates available.
> 
> I think this is due to the release of CentOS 5.9:
> 
> http://article.gmane.org/gmane.linux.centos.announce/7203
> 
> However, I just wanted to be a little paranoid, since this is
>  unusual for my normal yum update reports (over 100 updates
>  compared to a couple a week).  Can someone confirm my suspicion,
>  or is it possible I have a security issue on my hands?
> 
> Thank you
> 

Yep CentOS 5.9 was released on thursday. 100+ package updates 
depending on what you have installed. Upgraded several x64 and i686 
servers without problems yesterday.

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


Re: [CentOS] Not - Re: New DNS server up and running

2013-02-21 Thread Tony Molloy
On Thursday 21 February 2013 11:25:44 Robert Moskowitz wrote:
> On 02/21/2013 04:30 AM, James Hogarth wrote:
> > On 21 February 2013 01:28, Robert Moskowitz  
wrote:
> >> It looks like no system, internal or external could access the
> >> DNS on my new server.  IPTABLES was set for 53 both UDP and TCP.
> >> Firewall was OK. In fact a local system on the same subnet, thus
> >> NOT going through my firewall was denied access to the internal
> >> domain.  Localhost of course works.
> >>
> >> So it is either the Linux firewall and bind port randomization,
> >> or it is SELINUX.  How do I test to find out which?
> >>
> >> Since the new server is on the same IP address as the old, it is
> >> unplugged from the switch.  I can switch back and forth between
> >> to two boxes, only taking the time for ARP table updates.
> >>
> >> So I hope someone can point me to what I have missed.
> >
> > audit2allow -a will tell you if it's selinux ... and specifically
> > what is wrong...
> 
> Great.  I have to make notes on how to test about selinux
>  reporting.
> 
> > A quick test would be getenforce Permissive and restarting bind
> > ...
> 




Hi,

setenforce 0  sets SELinux to permissive
setenforce 1  sets it to enmforcing
sestatus to check the current status

You can use the following to build a custom SElinux module

#  Generate local policy
grep http  /var/log/audit/audit.log | audit2allow -m myhttp > 
myhttp.te

#  could also use grep  http to just get the http AVC

#  Compile the module
checkmodule -M -m -o local.mod myhttp.te

#  Create the package
semodule_package -o myhttp.pp -m local.mod

#  Load the module into the kernel
semodule -i myhttp.pp

Tony

















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


Re: [CentOS] Run multiple instance of apache

2013-05-28 Thread Tony Molloy
On Monday 27 May 2013 12:29:18 Rainer Duffner wrote:
> Am Mon, 27 May 2013 14:16:45 +0300
> 
> schrieb Mihamina Rakotomandimby :
> > On 2013-05-27 14:14, Rainer Duffner wrote:
> > > When your infrastructure is completely virtualized, it may make
> > > no sense.
> > > But some people still prefer to run on real hardware;-)
> >
> > What about using LXC? You can isolate 2 Apaches.
> 
> He doesn't want to dig into lxc either, I assume.
> He just wants to run two apache-instances.
> ;-)
> And does CentOS come with lxc?
> I don't think so...
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 

One more problem the OP may have is with ssl.conf. It listens by 
default on port 443 and you can't have both apache instances listening
on that port, the second instance will refuse to start. He'll need to 
change the port for one instance.

Ran into this problem when I tried to run  a separate instance of 
apache for backuppc.

Tony
-- 
Linux mufc.tonyshome.ie 2.6.32-358.6.2.el6.x86_64 #1 SMP Thu May 16 
20:59:36 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 404 Error

2013-06-16 Thread Tony Molloy
On Sunday 16 June 2013 06:19:33 Mark LaPierre wrote:
> Hey Y'all,
> 
> I got this error from yum
> 
> http://vault.centos.org/6.4/os/i386/repodata/repomd.xml: [Errno 14]
> PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
> 
> Has the path to the repo changed?
> http://vault.centos.org/6.4/os/i386/repodata/repomd.xml:

The 6.4 tree, the current point release, is not in the vault yet. 
Check out 

Tony
-- 
Linux mufc.tonyshome.ie 2.6.32-358.11.1.el6.x86_64 #1 SMP Wed Jun 12 
03:34:52 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] run script on cron job only run on first Saturdat every month???

2013-07-31 Thread Tony Molloy
On Tuesday 30 July 2013 22:58:34 John R Pierce wrote:
> On 7/30/2013 2:32 PM, Keith Keller wrote:
> > 15 04 1-7 * 6 /home/app/oracle/backup/monthlybk.sh
> 
> maybe...
> 
>   15 04 * * 6 test $(date +"%d") -le 07 &&
>  /home/app/oracle/backup/monthlybk.sh
> 
> (untested)

Run an incremental backup every day of the month except sundays

03 03 1-31 * * test `date +\%a` != Sun && /usr/local/bin/backup-rsch-
inc


Run a full backup on the first sunday of the month

07 03 1-7  * * test `date +\%a` =  Sun && /usr/local/bin/backup-rsch-
full


Tony



-- 
Linux mufc.tonyshome.ie 2.6.32-358.14.1.el6.x86_64 #1 SMP Tue Jul 16 
23:51:20 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Disappearing Network Manager config scripts

2014-05-05 Thread Tony Molloy
On Monday 05 May 2014 00:22:52 Evan Rowley wrote:
> When I started this thread a week ago, I certainly did not expect
>  this many replies. Without a doubt it seems Network Manager is a
>  controversial topic. I still haven't worked out my Network Manager
>  woes and just lost an hour troubleshooting a Golang webserver
>  which wouldn't start.
> 
> Apparently in Golang's net package, there is a DNS resolver
>  function that's called whenever a server is started. That function
>  depends on a working /etc/resolv.conf - As per usual, the
>  /etc/resolv.conf file turned out to be the blank template
>  NetworkManager always creates. The webserver starts now, but this
>  /etc/resolv.conf will certainly be blown away by NetworkManager
>  the next time the network service restarts.
> 
> I have one idea as to why this problem persists. This file:
> 
> ll /etc/sysconfig/network-scripts/ifcfg-eth0
> ...
> 
> -rw-r--r--. 1 root root44 Apr 26 22:21 ifcfg-eth0
> 
> 
> Is it meant to be executable? Being a configuration file, I'm
>  assuming it doesn't need to be. Am I wrong?
> 

A hack. Set up your resolv.conf as you need it.

Then as root chattr +i  /etc/resolv.conf

Now NM can configure the interfaces but can't change /etc/resolv.conf



Linux nogs.tonyshome.ie 2.6.32-431.11.2.el6.x86_64 #1 SMP Tue Mar 25 
19:59:55 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dual boot with 2 drives

2014-08-09 Thread Tony Molloy
On Saturday 09 August 2014 11:23:10 Alan McRae wrote:
> No problems Joe. I have done this multiple times.
> 
> I assume you have Fedora 20 on sda (the first disk) with
> the bootloader (grub2) on sda. Your BIOS will be set to boot sda.
> 
> You install CentOS 7 on sdb (obvious).
> 
> Your options are with the bootloader (grub2). If you install
> the bootloader on sdb the two systems will remain separate.
> You will have to change the BIOS to boot either sda (F20)  or sdb
>  (C7).
> 
> The way I prefer would be to install the new bootloader on sda
> (overwriting the current configuration).
> Your BIOS will still boot sda which will take you into
> the grub2 menus which will show both Fedora 20 and CentOS 7.
> 
> You need to be aware that in the above configuration sda will
> boot into /boot on sdb (C7) which will have the dual boot menus.
> Don't wreck this directory or you won't be able to boot F20
>  (easily).
> 
> The F20 and C7 installers are very good. They scan the disks for
> linux and Windows installations and add them into the boot menu for
>  you.
> 
> I have a laptop which boots C7, C6, F20, XP and 3 versions of
>  Android using grub2.
> 
> Alan
> 
 
I'v been trying to dual boot  windows 7 and CentOS 7 for a week now 
without any luck.

CentOS 5/6 and Fedora 20 recognise the Windows installation and place 
an entry for it on the boot menu.

CentOS 7 anaconda recognises the Windows 7 ntfs partition at 
installation time as unknown but doesn't place an entry for it in the 
grub2 boot files. Did you install CentOS 7 last.

Tony
-- 
Linux nogs.tonyshome.ie 2.6.32-431.23.3.el6.x86_64 #1 SMP Thu Jul 31 
17:20:51 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Upgrade to m7.0 retaining some existing partitions

2014-08-18 Thread Tony Molloy


Hi,

I want to install 7.0 replacing  an existing 6.5 installation.

When I choose custom partitioning I can delete the old 6.5 partitions 
and create new partitions 7.0 but there doesn't appear to be any way 
to retain an existing partition, say /home for instance, over the 
installation.

Am I just missing something obvious or any ideas on what the magic is.

Regards,

Tony
-- 
Linux nogs.tonyshome.ie 2.6.32-431.23.3.el6.x86_64 #1 SMP Thu Jul 31 
17:20:51 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrade to m7.0 retaining some existing partitions

2014-08-23 Thread Tony Molloy
On Friday 22 August 2014 14:00:45 you wrote:
> Le 19.08.2014 08:44, Tony Molloy a écrit :
> > I want to install 7.0 replacing  an existing 6.5 installation.
> >
> > When I choose custom partitioning I can delete the old 6.5
> > partitions and create new partitions 7.0 but there doesn't appear
> > to be any way to retain an existing partition, say /home for
> > instance, over the installation.
> >
> > Am I just missing something obvious or any ideas on what the
> > magic is.
> 
> Hi Tony
> 
> Did you receive an answer to your question ? I didn't see anything
> on the list ! I'm interested too.
> 
> Thank you


No but I sorted it out myself. I just took a chance, it was on a test 
server anyway ;-)

In the disk partitioning screen you will see the old 6.5 installation. 
Clicking on it will bring up the existing 6.5 partitions. Then select 
each of the existing partitions and a configuration menu comes up which 
allows you to reformat the partition if required. So just don't 
reformat the partitions you want to keep .They then become part of the 
new 7.0 installation.

Hope this helps.

Regards,
Tony



-- 
Linux nogs.tonyshome.ie 2.6.32-431.23.3.el6.x86_64 #1 SMP Thu Jul 31 
17:20:51 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] RPM install/upgrade problem

2014-09-24 Thread Tony Molloy

Hi,

For the last few updates I'm having a yum problem.

# yum update

gives the following error for e.g.

Running transaction
  Updating   : bash-4.2.45-5.el7_0.2.x86_64  1/10
Error unpacking rpm package bash-4.2.45-5.el7_0.2.x86_64
error: unpacking of archive failed on file /usr/bin/alias;5423b9bc: 
cpio: open
 

The same problem happens if I try to use rpm for the update so it 
appears to be an rpm problem rather than a yum one.

I've rebuilt the rpm databases successfully but tthe problem persists.

Regards,

Tony

-- 
Linux nogs.tonyshome.ie 2.6.32-431.29.2.el6.x86_64 #1 SMP Tue Sep 9 
21:36:05 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RPM install/upgrade problem

2014-09-29 Thread Tony Molloy
On Saturday 27 September 2014 00:20:17 Cliff Pratt wrote:
> It may be that you have a bad bash RPM from somewhere. I believe
>  that the cpio command works directly on the package so you could
>  try with cpio on the command line to see if it will open the RPM.
>  I suspect that it won't be able to.
> 
> Cheers,
> 
> Cliff

No, this was a server which had a copy of the centos repos stored 
locally. i actually wiped and redownloaded the updates from three 
separate sources with the same results. It wasn't just bash the latest 
kernel updates were also affected.

Funny thing was late last week it upgraded the bash rpm but failed on 
the bash-doc rpm.

So in the end I just reinstalled the server and everything went fine.

Thanks,

Tony.

> 
> On Thu, Sep 25, 2014 at 6:52 PM, Tony Molloy  
wrote:
> > Hi,
> >
> > For the last few updates I'm having a yum problem.
> >
> > # yum update
> >
> > gives the following error for e.g.
> >
> > Running transaction
> >   Updating   : bash-4.2.45-5.el7_0.2.x86_64  1/10
> > Error unpacking rpm package bash-4.2.45-5.el7_0.2.x86_64
> > error: unpacking of archive failed on file
> > /usr/bin/alias;5423b9bc: cpio: open
> >
> >
> > The same problem happens if I try to use rpm for the update so it
> > appears to be an rpm problem rather than a yum one.
> >
> > I've rebuilt the rpm databases successfully but tthe problem
> > persists.
> >
> > Regards,
> >
> > Tony,

> > --
> > Linux nogs.tonyshome.ie 2.6.32-431.29.2.el6.x86_64 #1 SMP Tue Sep
> > 9 21:36:05 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 

-- 
Linux nogs.tonyshome.ie 2.6.32-431.29.2.el6.x86_64 #1 SMP Tue Sep 9 
21:36:05 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS-7 re-install

2014-11-06 Thread Tony Molloy
On Thursday 06 November 2014 14:27:31 James B. Byrne wrote:
> On Wed, November 5, 2014 19:41, Richard wrote:
> >  Original Message 
> >
> >> Date: Wednesday, November 05, 2014 15:53:53 -0500
> >> From: "James B. Byrne" 
> >> To: centos@centos.org
> >> Subject: [CentOS] CentOS-7 re-install
> >>
> >> I have booted the system from a live cd.  I am looking at a
> >> 1.1GB volume that I presume is the /boot partition I created in
> >> the installer.  Inside I see this:
> >>
> >> config-3.10.0-123.el.x86_64
> >> /grub
> >> /grub2
> >> initramfs-0-rescue-[md5. . .].img
> >> initramfs-3.10.0-123.el.x86_64
> >> initrd-plymouth.img
> >> symvers-3.10.0-123.el.x86_64
> >> System-map-3.10.0-123.el.x86_64
> >> vmlinuz-0-rescue-[md5 as above]
> >> vmlinuz-3.10.0-123.el.x86_64
> >>
> >> /grub contains:
> >>  splash.xpm.gz
> >>
> >> /grub2 contains:
> >>  /themes
> >>
> >> /grub2/themes contains:
> >> /system
> >>
> >> /grub2/themes/system contains:
> >>
> >>   nothing at all
> >>
> >> So, what does CentOS-7 boot from?  I take it that this is not
> >> normal?  So where are the boot configuration files?  Note, that
> >> I have only been working on this system through the GUI and I I
> >> did was install, update, played around with Gnome3, installed
> >> KDE, shutdown and re-installed over the original.
> >>
> >> So, whatever happened it is not because of anything one can only
> >> screw up from the cli.  Since the re-install I have not been
> >> able to boot from the HDD. Seeing as there are no boot
> >> configuration files I can see why booting is a problem.  But,
> >> how does the installer operate such that these critical files
> >> were not provided?
> >
> > The /boot/grub2 directory should have the files:
> >
> > device.map
> > grub.cfg
> > grubenv
> >
> > The grub.cfg looks kind of like grub/grub.conf and can be
> > generated using grub2-mkconfig (based on the files in /etc/grub.d
> > and /etc/default/grub).
> >
> > If you booted from a live cd I suspect that the full boot setup
> > isn't completed on the installed system, which would be why you
> > don't seem to be seeing the grub2 boot files.
> 
> I booted from the liveCD simply to see what the regular installer
>  had done to the HDD.  Eventually I did install from the liveCD and
>  that has allowed the system to boot from the HDD again.
> 
> I am sort of perplexed as to why there is no simple provision to
>  reuse the entire disk as I recall was the case with previous
>  versions of CentOS.  Why the laborious requirement to delete each
>  mount point from an install one wishes to remove entirely?
> 
> In any case, I have gotten past the difficulty and have built zfs
>  for 3.10.0-123-9.2.  Now to see if I can figure out how to rebuild
>  the system using zfs

Hi James,

>From an old email of mine to the list.

>  > 
> Hi Tony
> 
> Did you receive an answer to your question ? I didn't see anything
> on the list ! I'm interested too.
> 
> Thank you


No but I sorted it out myself. I just took a chance, it was on a test 
server anyway ;-)

In the disk partitioning screen you will see the old 6.5 installation. 
Clicking on it will bring up the existing 6.5 partitions. Then select 
each of the existing partitions and a configuration menu comes up which 
allows you to reformat the partition if required. So just don't 
reformat the partitions you want to keep .They then become part of the 
new 7.0 installation.

Hope this helps.

Regards,
Tony



-- 
Linux nogs.tonyshome.ie 2.6.32-431.23.3.el6.x86_64 #1 SMP Thu Jul 31 
17:20:51 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


-- 
Linux nogs.tonyshome.ie 2.6.32-504.el6.x86_64 #1 SMP Wed Oct 15 
04:27:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS-7 re-install

2014-11-07 Thread Tony Molloy
On Friday 07 November 2014 13:43:42 James B. Byrne wrote:
> On Thu, November 6, 2014 10:02, Tony Molloy wrote:
> > Hi James,
> >
> > From an old email of mine to the list.
> >
> >> Hi Tony
> >>
> >> Did you receive an answer to your question ? I didn't see
> >> anything on the list ! I'm interested too.
> >>
> >> Thank you
> >
> > No but I sorted it out myself. I just took a chance, it was on a
> > test server anyway ;-)
> >
> > In the disk partitioning screen you will see the old 6.5
> > installation. Clicking on it will bring up the existing 6.5
> > partitions. Then select each of the existing partitions and a
> > configuration menu comes up which allows you to reformat the
> > partition if required. So just don't reformat the partitions you
> > want to keep .They then become part of the new 7.0 installation.
> >
> > Hope this helps.
> 
> That is exactly what I ended up doing.  It just seems a little odd
>  to me to require that amount of manual effort when one wants to
>  reuse the entire disk for a fresh install.  I seem to recall that
>  in 6.5 one could simply tell the installer to do exactly that.

It's called progress ;-)

> 
> In any case, somehow I experienced the situation that, even though
>  I had 'deleted' each of the old mount points, the CentOS-7
>  installer would not reuse the original boot partition space but
>  instead created a new one.  I am not sure what was going on or
>  what I did that caused this.  In the end I rebooted from the
>  liveCD and used the disk utility to manually remove all of the
>  partitions on the HDD and then re-installed from the minimal DVD. 
>  That seems to have returned the partition table to something I am
>  more comfortable with.
> 

-- 
Linux nogs.tonyshome.ie 2.6.32-504.el6.x86_64 #1 SMP Wed Oct 15 
04:27:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Frefox update from firefox-60.2.0-1.el7.centos.x86_64 to 60.2.1-1.el7.centos.x86_64 lost master password

2018-10-03 Thread Tony Molloy
On Wed, 2018-10-03 at 12:08 +0200, Nicolas Thierry-Mieg wrote:
> On 10/03/2018 11:34 AM, Rob Kampen wrote:
> > Hi list,
> > 
> > Did an update to firefox last night and rebooted over night.
> > 
> > Today I find firefox started without asking for master password -
> > funny 
> > me thinks.
> > 
> > Try to log in to a web service I use and find that my password does
> > not 
> > appear.
> > 
> > Check preferences and find that no master password is set and the 
> > password list / table is empty.
> > 
> > As I do not trust my passwords to the cloud I do not save these to
> > my 
> > firefox profile . so back to manual entry for all my sites
> > wow 
> > going to be a slow month as I reset scores of passwords.
> > 
> > Any one else have this problem and any clues as to what causes
> > this? I 
> > am concerned if this should happen again, as I have saved passwords
> > for 
> > many scores of web services.
> 
> Hi,
> 
> haven't had that, but restoring logins.json and key3.db in 
> ~/.mozilla/firefox/.../ from your latest backup should do the trick.
> 

I had the same problem. Upgraded to the latest firefox last saturday
everything looked ok all day. Logged in on monday to find my master
password and all my stored passwords were gone. Unfortunately I had
done a backup of the home directories later on saturday. So restoring
the key3.db and logins.json files didn't work.

The problem seems to be with the key3.db file. When the latest firefox
(re)creates it, it has the wrong permissions

-rw---.  1 molloyt molloyt1137 Oct  3 16:09 logins.json
-rw---.  1 molloyt molloyt   16384 Oct  3 14:48 key3.db


I removed firefox, deleted the .mozilla directory and reinstalled
firefox. But the problem remains.

1. Delete the logins.json and key3.db files
2. Start firefox key3.db file created with the above permissions and
   selinux context looks ok
3. Set master password and a few account passwords
4. Check they're there in preferences, ok
   logins.json file created with above permissions
5. login/out a few times to the accounts to make sure everything
   works,ok
6. Shutdown firefox and restart it, account settings ok and working
   but key3.db file gone
7. Shutdown firefox and restart it, master password and accounts gone
   check recreated key3.db file and it has permissions as above.

I'm stumped.
Any ideas gratefully accepted ;-)

Tony.
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Frefox update from firefox-60.2.0-1.el7.centos.x86_64 to 60.2.1-1.el7.centos.x86_64 lost master password

2018-10-04 Thread Tony Molloy
On Thu, 2018-10-04 at 21:27 +1300, Rob Kampen wrote:
> On 04/10/18 05:45, Akemi Yagi wrote:
> > On Wed, Oct 3, 2018 at 9:19 AM Stephen John Smoogen  > om> wrote:
> > 
> > > It would seem that the problem is with upstream-upstream's (aka
> > > Firefox) cleaning up of items that are not supposed to be there
> > > after
> > > Firefox 58
> > > 
> > > https://bugzilla.mozilla.org/show_bug.cgi?id=1475775
> > > 
> > > It looks like it is deleting files it thinks should have been
> > > converted to a newer more secure version.. but don't seem to be
> > > for
> > > some reason. I am not sure if those files will just removed again
> > > every time you restore them.
> > 
> > That link added to the related RHBZ:
> > 
> > https://bugzilla.redhat.com/show_bug.cgi?id=1633932
> 
> Yes, that seems to describe what I am experiencing. As I usually keep
> FF 
> open for days at a time, it has taken a while to show up. Will now
> try the
> 
> $ export NSS_DEFAULT_DB_TYPE="sql"
> 
> > 
> > Akemi
> > 


Hi Akemi,

That sorted the problem for me, thanks.
Now to start re-entering all my previously stored passwords. Lucky I
have a list of sites if not the usernames/passwords ;-(

Regards Tony
> > ___
> > 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
-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Frefox update from firefox-60.2.0-1.el7.centos.x86_64 to 60.2.1-1.el7.centos.x86_64 lost master password

2018-10-05 Thread Tony Molloy
On Fri, 2018-10-05 at 17:55 +1300, Rob Kampen wrote:
> On 05/10/18 01:27, Tony Molloy wrote:
> > On Thu, 2018-10-04 at 21:27 +1300, Rob Kampen wrote:
> > > On 04/10/18 05:45, Akemi Yagi wrote:
> > > > On Wed, Oct 3, 2018 at 9:19 AM Stephen John Smoogen  > > > il.c
> > > > om> wrote:
> > > > 
> > > > > It would seem that the problem is with upstream-upstream's
> > > > > (aka
> > > > > Firefox) cleaning up of items that are not supposed to be
> > > > > there
> > > > > after
> > > > > Firefox 58
> > > > > 
> > > > > https://bugzilla.mozilla.org/show_bug.cgi?id=1475775
> > > > > 
> > > > > It looks like it is deleting files it thinks should have been
> > > > > converted to a newer more secure version.. but don't seem to
> > > > > be
> > > > > for
> > > > > some reason. I am not sure if those files will just removed
> > > > > again
> > > > > every time you restore them.
> > > > 
> > > > That link added to the related RHBZ:
> > > > 
> > > > https://bugzilla.redhat.com/show_bug.cgi?id=1633932
> > > 
> > > Yes, that seems to describe what I am experiencing. As I usually
> > > keep
> > > FF
> > > open for days at a time, it has taken a while to show up. Will
> > > now
> > > try the
> > > 
> > > $ export NSS_DEFAULT_DB_TYPE="sql"
> > > 
> > > > Akemi
> > > > 
> > 
> > Hi Akemi,
> > 
> > That sorted the problem for me, thanks.
> > Now to start re-entering all my previously stored passwords. Lucky
> > I
> > have a list of sites if not the usernames/passwords ;-(
> > 
> > Regards Tony
> 
> works for me too - will just need to make sure this goes somewhere
> safe 
> to ensure survival after a reboot.

Put it in your .bash_profile. Then it will be set in your environment
each time you boot.

Regards, Tony.

> > > > ___
> > > > 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
-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] EPEL update?

2018-12-04 Thread Tony Molloy
On Mon, 2018-12-03 at 07:44 -0500, Stephen John Smoogen wrote:
> On Mon, 3 Dec 2018 at 06:00, isdtor  wrote:
> > 
> > Hi,
> > 
> > OT for this list, but maybe I can get some pointers - how hard is
> > it to get some packages updated in EPEL? The project web site sends
> > you from link to link, and the ML web interface is horrible. No
> > interest here to become a package maintainer or regular
> > contributor.
> > 
> 
> If you have interest in being a package maintainer or regular
> contributor it can be very hard to get packages updated. EPEL is
> trying to mainly deal with people who want long term supported
> package
> sets with limited manpower to do so.
> 
> > I have taken it upon myself to rebuild MATE from Fedora 29, seeing
> > that the current EPEL-7 packages are four revisions behind. Also
> > updated a few packages to their latest upstream version.
> 
> If you are needing the latest upstream versions... I would say you
> are
> probably going to need to maintain these things yourself. As much as
> you want/need the latest MATE or some other item there are other
> people who don't and EPEL package maintainers can't satisfy both
> demands.
> 
> > 
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> 
> 

The problem is that the current version of Mate in the EPEL repos
prevents updating from 7.5 to 7.6. There is a dependency problem with
libgtop.

For example trying to update marco gives you.

Resolving Dependencies
--> Running transaction check
---> Package marco.x86_64 0:1.16.1-3.el7 will be installed
--> Processing Dependency: libgtop-2.0.so.10()(64bit) for package:
marco-1.16.1-3.el7.x86_64
--> Finished Dependency Resolution
Error: Package: marco-1.16.1-3.el7.x86_64 (epel)
   Requires: libgtop-2.0.so.10()(64bit)
 You could try using --skip-broken to work around the problem

The same dependency holds for several mate packages.

So either hold back on the update until mate is updated or build it
yourself are the choices..

Regards,

Tony.

> 
-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] EPEL update?

2018-12-04 Thread Tony Molloy
On Tue, 2018-12-04 at 09:16 -0800, Alice Wonder wrote:
> On 12/04/2018 09:08 AM, Tony Molloy wrote:
> 
> > 
> > The same dependency holds for several mate packages.
> > 
> > So either hold back on the update until mate is updated or build it
> > yourself are the choices..
> > 
> 
> Using EPEL-testing also solves the problem in many cases, might also
> be 
> able to build a temporary compat library package for old version of 
> libgtop until MATE packages are updated.
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

Yep I'm just running up a VM to test the epel-testing solution.

Regards,

Tony
-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] EPEL update?

2018-12-04 Thread Tony Molloy
On Tue, 2018-12-04 at 12:56 -0500, Stephen John Smoogen wrote:
> On Tue, 4 Dec 2018 at 12:18, Richard  net> wrote:
> > 
> > 
> > 
> > > Date: Tuesday, December 04, 2018 17:08:52 +
> > > From: Tony Molloy 
> > > 
> > > On Mon, 2018-12-03 at 07:44 -0500, Stephen John Smoogen wrote:
> > > > On Mon, 3 Dec 2018 at 06:00, isdtor  wrote:
> > > > > 
> > > > > Hi,
> > > > > 
> > > > > OT for this list, but maybe I can get some pointers - how
> > > > > hard is
> > > > > it to get some packages updated in EPEL? The project web site
> > > > > sends you from link to link, and the ML web interface is
> > > > > horrible. No interest here to become a package maintainer or
> > > > > regular contributor.
> > > > > 
> > > > 
> > > > If you have interest in being a package maintainer or regular
> > > > contributor it can be very hard to get packages updated. EPEL
> > > > is
> > > > trying to mainly deal with people who want long term supported
> > > > package
> > > > sets with limited manpower to do so.
> > > > 
> > > > > I have taken it upon myself to rebuild MATE from Fedora 29,
> > > > > seeing that the current EPEL-7 packages are four revisions
> > > > > behind. Also updated a few packages to their latest upstream
> > > > > version.
> > > > 
> > > > If you are needing the latest upstream versions... I would say
> > > > you
> > > > are
> > > > probably going to need to maintain these things yourself. As
> > > > much
> > > > as you want/need the latest MATE or some other item there are
> > > > other
> > > > people who don't and EPEL package maintainers can't satisfy
> > > > both
> > > > demands.
> > > > 
> > > > > 
> > > > > ___
> > > > > CentOS mailing list
> > > > > CentOS@centos.org
> > > > > https://lists.centos.org/mailman/listinfo/centos
> > > > 
> > > > 
> > > 
> > > The problem is that the current version of Mate in the EPEL repos
> > > prevents updating from 7.5 to 7.6. There is a dependency problem
> > > with libgtop.
> > > 
> > > For example trying to update marco gives you.
> > > 
> > > Resolving Dependencies
> > > --> Running transaction check
> > > ---> Package marco.x86_64 0:1.16.1-3.el7 will be installed
> > > --> Processing Dependency: libgtop-2.0.so.10()(64bit) for
> > > package:
> > > marco-1.16.1-3.el7.x86_64
> > > --> Finished Dependency Resolution
> > > Error: Package: marco-1.16.1-3.el7.x86_64 (epel)
> > >    Requires: libgtop-2.0.so.10()(64bit)
> > >  You could try using --skip-broken to work around the problem
> > > 
> > > The same dependency holds for several mate packages.
> > > 
> > > So either hold back on the update until mate is updated or build
> > > it
> > > yourself are the choices..
> > > 
> > > Regards,
> > > 
> > > Tony.
> > 
> > The epel-testing repo resolves these dependencies, so include it
> > when
> > updating and things should be ok -- I just updated a mate desktop
> > system with no issues (it pulled about half a dozen items from
> > -testing).
> 
> 
> The maintainer of the Mate packages did not push the updated packages
> to EPEL until after CentOS-7.6 was out because he did not want to
> break 7.5 users. Now that 7.6.1810 is released, it should get
> promoted
> to epel in the next couple of days.
> 
> 

Great, thanks.

Tony
> 
-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C7 on Dell Precision 7530

2019-03-11 Thread Tony Molloy
On Fri, 2019-03-08 at 18:25 +0100, wwp wrote:
> Hello,
> 
> does anybody have experience with installing and running CentOS 7 on
> Dell Precision 7530 series (w/ Intel gfx chipset if that matters)?
> It can be bought w/ Ubuntu 16.04 LTS pre-installed (which doesn't
> attract me at all), but prior to use such hw model at work, I'd like
> to
> understand where I'm going to. Especially after my bad experiences
> installing C7 on "modern" (read since skylake variants) hardware
> whereas Ubuntu variants went better, gosh. Or maybe I should wait for
> C8.
> 
> Of course I did dig the Internet for intel, found very few stuff and
> this: https://access.redhat.com/ecosystem/hardware/3431551
> 
> Regards,
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

I see you got no replies to your question so here goes.

I've got CentOS 7 running on a Dell Precision 7510 workstation. It has NVidia 
graphics 
but I've never had problems with Intel graphics on any CentOS box before. The 
install was 
straight forward and it runs like a dream. 

YMMV ;-)
-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Possible Font problem with CentOS 7

2019-11-06 Thread Tony Molloy


Hi,

I've got a possible font problem with a fully updated CentOS 7 system.

An example with the man command.

#man kill

Should return the following

KILL(1) User Commands   KILL(1)

NAME
   kill - terminate a process

SYNOPSIS
   kill [-s signal|-p] [-q sigval] [-a] [--] pid...
   kill -l [signal]


but what I actually get is the following

KILL(1)   User CommandsKILL(1)


   kill - terminate a process


[ signal| ] [ sigval] [ ] [ ] pid...
[signal]

Notice the missing text.

If I select the text and paste it into an editor I see the missing
text. So it's there just not displaying on the screen.

I also notice the effect with links embedded in e-mails. I use
evolution. Embedded links do not appear in the e-mail but if I hover
over a link location then it appears in the text box at the bottom of
the page and I can select it.

I suspect I'm missing some common font(s).

Any ideas.

Regards,

Tony






-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Possible Font problem with CentOS 7

2019-11-07 Thread Tony Molloy
On Wed, 2019-11-06 at 13:57 -0600,
> This is caused by the colour profile settings in your terminal
> program (gnome-terminal, mate-terminal, whatever).
> 
> Edit-Prefrences-Colors
> 
> I generally just check "use colors from system theme" but I suppose
> that would depend on what you're using for a system theme.  But the
> setting you need to fix is under Text and Background Color.
> 

Thanks, that sorted the terminal problem. Now for the e-mail problem.

Regards,

Tony

> On Wed, 06 Nov 2019 19:45:22 +
> Tony Molloy wrote:
> 
> > 
> > Hi,
> > 
> > I've got a possible font problem with a fully updated CentOS 7
> > system.
> > 
> > An example with the man command.
> > 
> > #man kill
> > 
> > Should return the following
> > 
> > KILL(1) User Commands   KILL(1)
> > 
> > NAME
> >kill - terminate a process
> > 
> > SYNOPSIS
> >kill [-s signal|-p] [-q sigval] [-a] [--] pid...
> >kill -l [signal]
> > 
> > 
> > but what I actually get is the following
> > 
> > KILL(1)   User CommandsKILL(1)
> > 
> > 
> >kill - terminate a process
> > 
> > 
> > [ signal| ] [ sigval] [ ] [ ] pid...
> > [signal]
> > 
> > Notice the missing text.
> > 
> > If I select the text and paste it into an editor I see the missing
> > text. So it's there just not displaying on the screen.
> > 
> > I also notice the effect with links embedded in e-mails. I use
> > evolution. Embedded links do not appear in the e-mail but if I
> > hover
> > over a link location then it appears in the text box at the bottom
> > of
> > the page and I can select it.
> > 
> > I suspect I'm missing some common font(s).
> > 
> > Any ideas.
> > 
> > Regards,
> > 
> > Tony
> > 
> > 
> > 
> > 
> > 
> > 
> > -- 
> > Tony Molloy 
> > Home
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> > 
> 
> 
-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Possible Font problem with CentOS 7

2019-11-07 Thread Tony Molloy
On Wed, 2019-11-06 at 20:19 +, liam.p.oto...@gmail.com wrote:
> CAUTION: This email originated from outside of the University of
> Limerick. Do not click on links or open attachments unless you
> recognize the sender's email address and know the content is safe.
> On Wed, 06 Nov, 2019 at 19:45:22 +, Tony Molloy wrote:
> > 
> > Hi,
> > 
> > I've got a possible font problem with a fully updated CentOS 7
> > system.
> > 
> > An example with the man command.
> > 
> > #man kill
> > 
> > Should return the following
> > 
> > KILL(1) User Commands   KILL(1)
> > 
> > NAME
> >kill - terminate a process
> > 
> > SYNOPSIS
> >kill [-s signal|-p] [-q sigval] [-a] [--] pid...
> >kill -l [signal]
> > 
> > 
> > but what I actually get is the following
> > 
> > KILL(1)   User CommandsKILL(1)
> > 
> > 
> >kill - terminate a process
> > 
> > 
> > [ signal| ] [ sigval] [ ] [ ] pid...
> > [signal]
> > 
> > Notice the missing text.
> > 
> > If I select the text and paste it into an editor I see the missing
> > text. So it's there just not displaying on the screen.
> > 
> > I also notice the effect with links embedded in e-mails. I use
> > evolution. Embedded links do not appear in the e-mail but if I
> > hover
> > over a link location then it appears in the text box at the bottom
> > of
> > the page and I can select it.
> > 
> > I suspect I'm missing some common font(s).
> > 
> > Any ideas.
> > 
> > Regards,
> > 
> > Tony
> 
> Greetings from Cork.
> 
> What terminal emulator are you using? Assuming it's gnome-terminal
> (the default), what
> is the output of the commands
> 
> gsettings get org.gnome.desktop.interface monospace-font-name
> 
'Monospace 11'

> and
> 
> fc-match monospace
>
DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"


I got the solution for the terminal problem. It was a setting in the
terminal preferences settings which I had unticked. So now for the
e-mail problem. This I assume is also a preferences problem with either
my theme selection or with evoloution itself.

Thanks for the reply,

Tony 
-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] What about Mate Desktop on Centos 8?

2019-12-06 Thread Tony Molloy
On Wed, 2019-12-04 at 20:18 +0100, age...@meddatainc.com wrote:
> CAUTION: This email originated from outside of the University of
> Limerick. Do not click on links or open attachments unless you
> recognize the sender's email address and know the content is safe.
> On 11/25/2019 11:14 PM, isdtor wrote:
> > > > Enable and start httpd. Write a build script that builds the
> > > > rpms in order, transfers them to the local repo, runs
> > > > createrepo, repeat. mozo needs python 3.5 and I couldn't do
> > > > that in mock (SCLo rh-python35).
> > > > 
> > > 
> > > You kindly offered a working version of Mate 1.20 - does that
> > > offer still stand? If so, I am interested in installing it on C
> > > 7.
> > 
> >  
> > At this point, that would be a bit painful. I rebuilt the C7 vm
> > here and lost all the rpms, so I'd have to rebuild them from the
> > sources I posted online. For which I'd have to recreate the build
> > script.
> > 
> > At least those files are still online ...
> > 
> > There was a recent post to the list where someoen ported the Fedora
> > rpms, does that help you?
> > 
> 
> I see, that is indeed unfortunate. Although I have been using Linux
> for some time, I am a complete beginner to compiling etc.
> 
> Do you have notes left?
> 

You can install MATE for CentOS 8 from the stenstorp repo

https://copr.fedorainfracloud.org/coprs/stenstorp/MATE/


I've been using it for some time with no problems.

Tony

-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] What about Mate Desktop on Centos 8?

2019-12-06 Thread Tony Molloy
On Fri, 2019-12-06 at 20:28 +, tony.mol...@ul.ie wrote:
> > > > 
> > > > You kindly offered a working version of Mate 1.20 - does that
> > > > offer still stand? If so, I am interested in installing it on C
> > > > 7.

Oh you were looking for mate-1.20 for CentOS 7. Sorry for the noise,
should read the e-mail before replying ;-(
-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


  1   2   >