Re: [CentOS] CentOS-6 - LogWatch

2015-09-15 Thread Always Learning

On Tue, 2015-09-15 at 10:28 -0400, James B. Byrne wrote:


> Does anyone know of a current Logwatch script for cyrus-imapd? And
> where it can be obtained?

Tampering with an existing Logwatch script may seem daunting but, as I
have no Perl skills, it was relative easy to produced a more useful
display. Note the amended script should be placed
in /etc/logwatch/scripts/services/your-choice-of-file-name

(1)  If your cyrus-imap is similar to the Exim script, there are 2 main
parts:-

(a)  identifying the information and accumulating it; and

(b)  printing the data.


(2)  In the standard Exim script I located lines like:-

> elsif ( $ThisLine =~ /[Rr]ecipient verify fail/)
{$RecipVerify{$ThisLine}++;}

> elsif ( $ThisLine =~ /[Ss]ender verify fail/ )
{$SendVerify{$ThisLine}++;}

and inserted my own tests like these (I was testing on error messages I
created which were prefixed with a self-chosen code)


elsif ($ThisLine =~ /A02\]/)
{ $a02++;
  $temp1 = substr($ThisLine,0,20).": ";# date

  $temp2 = index($ThisLine," H="); # sender's host
  $temp2+= 3;
  $temp2 = substr($ThisLine,$temp2);

  $temp3 = index($temp2,":");
  $temp1 = $temp1 . substr($temp2,0,$temp3);

  @a02   = (@a02, $temp1."\n");
  $temp1 = '';
  $temp2 = '';
  $temp3 = '';
}


The Perl seems similar to PHP. $a = a variable; @a = an array

The second main part prints the data. In the original Exim script it
looks like this


> if ( %SmtpConnection ) {
>  print "\n--- SMTP Connection Issues \n";
>  foreach $ThisOne (keys %SmtpConnection) {
> $bb = $SmtpConnection{$ThisOne};
> print "  $ThisOne: $bb Time(s)\n";
>  }
>   }

My inserted coding is this ...

if(@c01) {print "\n--- C01 : Spam rejected = $c01\n @c01";}
if(@c02) {print "\n--- C02 : Senders denied = $c02\n";}

The first line prints a heading and a total, new line and then lists the
examples. The second line prints only a heading and a total.

If your script is similar to the standard Exim script then it should be
possible to, using the log file for guidance, to construct your own
script.

You can ignore unwanted log file lines by testing like this ...

> elsif ($ThisLine =~ /xxx/) {}


-- 
Regards,

Paul.
England, EU.  England's place is in the European Union.

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


Re: [CentOS] Chromium on CentOS 7

2015-09-15 Thread Jonathan Billings
On Sep 15, 2015, at 4:33 PM, Moty Fux  wrote:
> Did anyone manage to install chromium on CentOS 7?
> I tried and got this error:
> 
> Error: Package: chromium-31.0.1650.63-2.el6.x86_64 (chromium-el6)
>   Requires: libudev.so.0()(64bit)
> 
> Tried to do several things among them is creating a sym link from
> libudev.so.1 to libudev.so.0, didn't work :(

Why are you trying to install the CentOS6 version of Chromium on CentOS7?


--
Jonathan Billings 


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


Re: [CentOS] BackupPC is not easy to setup

2015-09-15 Thread kpolberg



On 09/13/2015 03:48 PM, Timothy Murphy wrote:

Timothy Murphy wrote:


I thought I'd write a 1-page note to myself of the steps I took,
in preparation for CentOS-8...
I have a couple of questions that this raises.

1. Why exactly does backuppc want to ssh to root?
Is this just a way of running BackupPC as root?

2. The graphical interface seems to be treated as an extra,
but what other way is there of accessing BackupPC?
Is there a CLI approach?
If so, where is the list of transfer requests kept?

Another small query.
I see that BackupPC starts 6 copies of httpd running,
but so far only 2 have ever been used.
Can this number (6) be changed?

1. It's just the default, it can easily be configured to start rsync 
through sudo, you need root privileges to backup all files.


2. You can do all operations through CLI, all of it is mentioned in the 
documentation. 
http://backuppc.sourceforge.net/faq/BackupPC.html#Step-7:-Talking-to-BackupPC


3. As mentioned earlier, this is just the default apache config. And can 
be altered through httpd.conf (though I wouldn't mess too much with it, 
the defaults are normally fine).


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


Re: [CentOS] [OT] linux on a PPC (mac mini)

2015-09-15 Thread Keith Keller
On 2015-09-15, Leon Fauster  wrote:
>> On 2015-09-15, wwp  wrote:
>>> 
>>> Searching the web, I see very few possibilities to install a recent (I
>>> need gnome2) GNU/Linux distro on such hardware. I gave Linux MintPPC 11
>>> (http://www.mintppc.org/content/list-macs) a try, but the netinstall
>>> iso simply fails in installing a boot loader that conserves the
>>> original OS/X partition even after many tries and workarounds.
>
> this also helps to boot 
>
> http://www.rodsbooks.com/refind/

rEFInd will work on EFI-based Macs, but not on old PPC Macs, which are
based on OpenFirmware (so grub won't work either).

--keith

-- 
kkel...@wombat.san-francisco.ca.us


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


Re: [CentOS] [OT] linux on a PPC (mac mini)

2015-09-15 Thread Leon Fauster
Am 15.09.2015 um 19:09 schrieb Keith Keller 
:
> On 2015-09-15, Leon Fauster  wrote:
>>> On 2015-09-15, wwp  wrote:
>> 
>> this also helps to boot 
>> 
>> http://www.rodsbooks.com/refind/
> 
> rEFInd will work on EFI-based Macs, but not on old PPC Macs, which are
> based on OpenFirmware (so grub won't work either).


you are right - its long time ago that i used a macmini and it 
was indeed intel based. Before that i used a powerbook and remember 
that the boot loader was http://mac.linux.be/content/yaboot 

--
LF




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


Re: [CentOS] [OT] linux on a PPC (mac mini)

2015-09-15 Thread Jeremy Hoel
Besides the other linux distros mentioned, you have another more retro type
choice

http://www.macworld.com/article/2363177/macs/turn-your-g4-era-mac-into-a-next-gen-amiga.html

On Tue, Sep 15, 2015 at 2:29 AM, wwp  wrote:

> Hello there,
>
>
> complete off-topic, sorry about this, but my former idea was to install
> a CentOS on an old mac mini (PPC!). Disappointed to see that PowerPC is
> not a supported architecture and that non ARM or Intel architecture are
> not managed by recent distros.. :-(.
>
> Searching the web, I see very few possibilities to install a recent (I
> need gnome2) GNU/Linux distro on such hardware. I gave Linux MintPPC 11
> (http://www.mintppc.org/content/list-macs) a try, but the netinstall
> iso simply fails in installing a boot loader that conserves the
> original OS/X partition even after many tries and workarounds.
>
> Any hint or experience would be welcome?
>
>
> Regards,
>
> --
> wwp
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] BackupPC is not easy to setup

2015-09-15 Thread Timothy Murphy
kpolb...@olberg.name wrote:

>>> 2. The graphical interface seems to be treated as an extra,
>>> but what other way is there of accessing BackupPC?
>>> Is there a CLI approach?
>>> If so, where is the list of transfer requests kept?

> 2. You can do all operations through CLI, all of it is mentioned in the
> documentation.
> http://backuppc.sourceforge.net/faq/BackupPC.html#Step-7:-Talking-to-BackupPC

Thank you for your response.
However, I don't believe this short section gives sufficient information
to configure and run BackupPC.
Basically, it just gives a way of finding out what is happening
while BackupPC is running.
(Also it finishes by advising you to use the GUI instead.)

For example, what command would you give to tell BackupPC
that you want to back up /var/www (to choose a directory at random)?

> 3. As mentioned earlier, this is just the default apache config. And can
> be altered through httpd.conf (though I wouldn't mess too much with it,
> the defaults are normally fine).

I don't think that is true.
The simplest way to configure BackupPC is to run it with user backuppc, 
by changing "User apache" to "User backuppc" in /etc/httpd/conf/httpd.conf .

-- 
Timothy Murphy  
gayleard /at/ eircom.net
School of Mathematics, Trinity College, Dublin


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


[CentOS] [OT] linux on a PPC (mac mini)

2015-09-15 Thread wwp
Hello there,


complete off-topic, sorry about this, but my former idea was to install
a CentOS on an old mac mini (PPC!). Disappointed to see that PowerPC is
not a supported architecture and that non ARM or Intel architecture are
not managed by recent distros.. :-(.

Searching the web, I see very few possibilities to install a recent (I
need gnome2) GNU/Linux distro on such hardware. I gave Linux MintPPC 11
(http://www.mintppc.org/content/list-macs) a try, but the netinstall
iso simply fails in installing a boot loader that conserves the
original OS/X partition even after many tries and workarounds.

Any hint or experience would be welcome?


Regards,

-- 
wwp


pgpXZHdUX1htl.pgp
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-virt] adding xen support to grub2 got segfault running grub2-mkimage

2015-09-15 Thread George Dunlap
FYI, your mail provider (yahoo.com) has asked all mail providers to
treat any mail that doesn't come directly from their servers as spam
-- this includes mail from mailing lists.

As a result a large number of people will never see mail sent to any
mailing list from this address, since the message will end up in their
spam folder.

You might consider either complaining to your mail provider to get
them to change their policy, or switching mail providers when sending
to mailing lists.

 -George

On Mon, Sep 14, 2015 at 6:49 AM, Mark Pryor  wrote:
> There is some interest lately in making a self-contained grub2 boot image -
> call it pvgrub2, used for booting paravirtual domU in xen where a grub2
> config is installed.
>
> First attempt
> --
> I first tried using the grub2*.src.rpm from the C7 vault.
>
> I configured as shown below
> https://blog.xenproject.org/2015/01/07/using-grub-2-as-a-bootloader-for-xen-pv-guests/
>
> for headers, I used xen-devel, xen-libs, xen-licenses from a recent build I
> did
> http://107.185.144.55/xen/cent7/dom0/RPMS/stable-4.5/mock/
>
> this gave a segfault from grub2-mkimage with a cmdline like
> /usr/bin/grub2-mkimage  -O x86_64-xen   -C auto  -d /usr/lib/grub/x86_64-xen
> -c ./grub-bootstrap.cfg -m ./memdisk.tar -o ./grub2-x86_64-xen.bin
> -v  ext2 fat file font fshelp gzio halt hashsum help legacycfg linux loadenv
> loopback part_dvh part_gpt part_msdos part_plan part_sun xfs xnu_uuid
> xnu_uuid_test xzio
>
> the image would finish if I cut down the module list to about 8 or less
> modules. This is not enough for a useful image .
>
> Second Attempt
> 
> In the same build env, I started with the git clone (see link). Now when
> running grub-mkimage I included all the modules in
> /usr/lib/grub/x86_64-xen/ and the image formed without error and works as
> expected as a xen bootloader.
>
> The only difference in the two builds is the size of grubX-mkimage: one is
> stripped and the other not.
>  Using the official grub2 C7 packages failed and a rogue build from git
> worked.
>
> regards,
> PryMar56
>
>
>
>
>
>
> ___
> CentOS-virt mailing list
> CentOS-virt@centos.org
> https://lists.centos.org/mailman/listinfo/centos-virt
>
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS] [OT] linux on a PPC (mac mini)

2015-09-15 Thread Leon Fauster
Am 15.09.2015 um 17:12 schrieb Keith Keller 
:
> On 2015-09-15, wwp  wrote:
>> 
>> Searching the web, I see very few possibilities to install a recent (I
>> need gnome2) GNU/Linux distro on such hardware. I gave Linux MintPPC 11
>> (http://www.mintppc.org/content/list-macs) a try, but the netinstall
>> iso simply fails in installing a boot loader that conserves the
>> original OS/X partition even after many tries and workarounds.
> 
> You might try Ubuntu or Debian.  Keep in mind that Macs present their
> own challenge beyond just a different architecture; they had a funky
> implementation of Open Firmware that was a major PITA to configure
> properly.  The Mac OF bootloader, yaboot, is pretty much abandonware at
> this point as well.



this also helps to boot 

http://www.rodsbooks.com/refind/

--
LF


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


Re: [CentOS] [OT] linux on a PPC (mac mini)

2015-09-15 Thread Keith Keller
On 2015-09-15, wwp  wrote:
>
> Searching the web, I see very few possibilities to install a recent (I
> need gnome2) GNU/Linux distro on such hardware. I gave Linux MintPPC 11
> (http://www.mintppc.org/content/list-macs) a try, but the netinstall
> iso simply fails in installing a boot loader that conserves the
> original OS/X partition even after many tries and workarounds.

You might try Ubuntu or Debian.  Keep in mind that Macs present their
own challenge beyond just a different architecture; they had a funky
implementation of Open Firmware that was a major PITA to configure
properly.  The Mac OF bootloader, yaboot, is pretty much abandonware at
this point as well.

--keith


-- 
kkel...@wombat.san-francisco.ca.us


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


Re: [CentOS] rsyslog for chrooted sftp users has stopped working -- Centos 6.6

2015-09-15 Thread Gordon Messmer

On 09/14/2015 06:49 PM, Jeff Cours wrote:

Unfortunately, the production server already has that setting, so it's back
to eliminating differences.


Log in to one of the chroot accounts, and while that session is open, 
check all of that user's processes in /proc.  Specifically, I'd check 
/proc//{root,cwd,fd}


Also check selinux enforcing on both hosts, and the SELinux attributes 
of the chroot dir, its dev directory and its log socket.

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


[CentOS-es] Consulta VPN ppp

2015-09-15 Thread César Martinez
Saludos amigos listeros aquí una consulta de un problema extraño que 
tengo, paso a detallar


Tengo un servidor Linux con centos 6.7 en este servidor está montada una 
VPN con pptpd la VPN funciona perfectamente bien cuando me conecto desde 
cualquier internet casero, el cliente en este caso Linux o widnows, se 
conecta perfectamente y puedo entrar a los archivos sin problemas y ver 
la red.


Ahora en mi oficina tengo un servidor Linux centos 6.7 el cual es proxy 
firewall, desde aquí trato de conectarme a la vpn entra al servidor pero 
no se conecta,  tengo abiertos los en el firewall puertos así



$IPT -A INPUT -p tcp --dport 1723 -j ACCEPT
$IPT -A INPUT -p tcp --dport 47 -j ACCEPT
$IPT -A INPUT -p udp --dport 47 -j ACCEPT
$IPT -A INPUT -p gre -j ACCEPT
$IPT -A OUTPUT -p gre -j ACCEPT
$IPT -A OUTPUT -p tcp --dport 1723 -j ACCEPT
$IPT -A OUTPUT -p udp --dport 1723 -j ACCEPT
$IPT -A OUTPUT -p tcp --dport 47 -j ACCEPT
$IPT -A OUTPUT -p udp --dport 47 -j ACCEPT

En el log del servidor me aparece esto

Sep 15 11:47:37 server pptpd[25875]: CTRL: Client XX.XX.XX.XXX control 
connection started
Sep 15 11:47:37 server pptpd[25875]: CTRL: Starting call (launching 
pppd, opening GRE)

Sep 15 11:47:37 server pppd[25876]: pppd 2.4.5 started by root, uid 0
Sep 15 11:47:37 server pppd[25876]: Using interface ppp0
Sep 15 11:47:37 server pppd[25876]: Connect: ppp0 <--> /dev/pts/0
Sep 15 11:48:07 server pppd[25876]: LCP: timeout sending Config-Requests
Sep 15 11:48:07 server pppd[25876]: Connection terminated.
Sep 15 11:48:07 server pppd[25876]: Modem hangup
Sep 15 11:48:07 server pppd[25876]: Exit.

Pruebo haciendo mi  teléfono celular como modem y el equipo se conecta bien

Sep 15 11:22:39 server pptpd[24026]: CTRL: Client XX.XX.XX.XX control 
connection started
Sep 15 11:22:40 server pptpd[24026]: CTRL: Starting call (launching 
pppd, opening GRE)

Sep 15 11:22:40 server pppd[24027]: pppd 2.4.5 started by root, uid 0
Sep 15 11:22:40 server pppd[24027]: Using interface ppp0
Sep 15 11:22:40 server pppd[24027]: Connect: ppp0 <--> /dev/pts/1
Sep 15 11:22:43 server pppd[24027]: peer from calling number XX.XX.XX.XX 
authorized
Sep 15 11:22:44 server pppd[24027]: MPPE 128-bit stateless compression 
enabled

Sep 15 11:22:44 server pppd[24027]: found interface eth1 for proxy arp
Sep 15 11:22:44 server pppd[24027]: local  IP address 192.168.2.1
Sep 15 11:22:44 server pppd[24027]: remote IP address 192.168.2.101

La pregunta es alguien sabe que más debo abrir no se si es en mi 
servidor o en servidor destino, gracias a todos los que puedan ayudarme


--
Saludos Cordiales

|César Martínez | Ingeniero de Sistemas | SERVICOM
|Tel: (593-2)554-271 2221-386 | Ext 4501
|Celular: 0999374317 |Skype servicomecuador
|Web www.servicomecuador.com Síguenos en:
|Twitter: @servicomecuador |Facebook: servicomec
|Zona Clientes: www.servicomecuador.com/billing
|Blog: http://servicomecuador.com/blog
|Dir. Av. 10 de Agosto N29-140 Entre
|Acuña y  Cuero y Caicedo
|Quito - Ecuador - Sudamérica

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


Re: [CentOS] LUKS encypted partition using --key-file can only be decrypted with --key-file

2015-09-15 Thread Gordon Messmer

On 09/14/2015 02:45 PM, Digimer wrote:

I tried this (cryptsetup --hash plain luksOpen /dev/sdb1 sdb1) but it
fails to recognize the passphrase at the command line still. When I
tried to use '--hash plain' on luksFormat, I get:


I don't know why Robert suggested that you try that.  It's wrong. You 
would only use that to provide a binary key to cryptsetup, not a 
passphrase as you're trying to do.


I can't replicate your problem.  Using --key-file works correctly for 
me.  You said that you used "cat -A" to verify that there's no newline 
in the key file.  I'd suggest that "od -c" is a better test.  cat 
doesn't even really need the -A to check for a newline; after printing a 
file to the terminal with cat, your prompt will appear on the same line 
as the file's content if the file has no newline (for most prompt 
definitions).


Anyway, below is the terminal output of a session where I create a LUKS 
device using --key-file and then open it by manually typing the passphrase.


# dd if=/dev/zero of=crypttest bs=1M count=100
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 0.0810213 s, 1.3 GB/s
# losetup -f crypttest
# echo -n thisismypassphrase > cryptfoo
# od -c cryptfoo
000   t   h   i   s   i   s   m   y   p   a   s   s   p   h r   a
020   s   e
022
# cryptsetup luksFormat --key-file cryptfoo /dev/loop0

WARNING!

This will overwrite data on /dev/loop0 irrevocably.

Are you sure? (Type uppercase yes): YES
# cryptsetup luksOpen /dev/loop0 cdev
Enter passphrase for /root/crypttest:
# ls -l /dev/mapper/cdev
lrwxrwxrwx. 1 root root 7 Sep 15 09:31 /dev/mapper/cdev -> ../dm-4

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


Re: [CentOS] [OT] linux on a PPC (mac mini)

2015-09-15 Thread Mike - st257
On Tue, Sep 15, 2015 at 4:29 AM, wwp  wrote:

> Hello there,
>
>
> complete off-topic, sorry about this, but my former idea was to install
> a CentOS on an old mac mini (PPC!). Disappointed to see that PowerPC is
> not a supported architecture and that non ARM or Intel architecture are
> not managed by recent distros.. :-(.
>

Yeah, PPC - your options are limited.

http://distrowatch.com/search.php?ostype=All=All=All=All=None=All=powerpc=All=All=Active

A number of years back I saved an XServe G4 from the trash and kept it
until the fans drove me crazy! ;-)
I used Finnix [http://www.finnix.org/] as a LiveCD/rescue environment.  I
believe I installed Debian on it at the time and can't recall any problems
with bootloader installation.

For me PPC wasn't worth the hassle (or the XServe noise!).


>
> Searching the web, I see very few possibilities to install a recent (I
> need gnome2) GNU/Linux distro on such hardware. I gave Linux MintPPC 11
> (http://www.mintppc.org/content/list-macs) a try, but the netinstall
> iso simply fails in installing a boot loader that conserves the
> original OS/X partition even after many tries and workarounds.
>
> Any hint or experience would be welcome?
>

Might try Debian (even the netinstall as well) just to see if it will
install successfully?


>
>
> Regards,
>
> --
> wwp
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
>


-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] linux on a PPC (mac mini)

2015-09-15 Thread Alice Wonder



On 09/15/2015 11:27 AM, Leon Fauster wrote:

Am 15.09.2015 um 19:09 schrieb Keith Keller 
:

On 2015-09-15, Leon Fauster  wrote:

On 2015-09-15, wwp  wrote:


this also helps to boot

http://www.rodsbooks.com/refind/


rEFInd will work on EFI-based Macs, but not on old PPC Macs, which are
based on OpenFirmware (so grub won't work either).



you are right - its long time ago that i used a macmini and it
was indeed intel based. Before that i used a powerbook and remember
that the boot loader was http://mac.linux.be/content/yaboot



Oh Geez I remember MKLinux DR3 on my Beige G3 - BootX I think it was - 
had to have a small HFS partition (couldn't be HFS+) with a blessed 
system folder.


That was my first distro.

I also ran Debian m68k on an SE/30 - that was an experience.

Not knowing who he was, I saw the network driver had been written by a 
college student name Alan Cox and so I sent an e-mail to the listed 
e-mail address to say thank you.

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


Re: [CentOS] [OT] linux on a PPC (mac mini)

2015-09-15 Thread Mauricio Tavares
On Tue, Sep 15, 2015 at 2:47 PM, Jeremy Hoel  wrote:
> Besides the other linux distros mentioned, you have another more retro type
> choice
>
> http://www.macworld.com/article/2363177/macs/turn-your-g4-era-mac-into-a-next-gen-amiga.html
>
  You know, I do have a G4 mini somewhere... I do wonder if it
also works under emulation (KVM AFAIK does support PPC).

> On Tue, Sep 15, 2015 at 2:29 AM, wwp  wrote:
>
>> Hello there,
>>
>>
>> complete off-topic, sorry about this, but my former idea was to install
>> a CentOS on an old mac mini (PPC!). Disappointed to see that PowerPC is
>> not a supported architecture and that non ARM or Intel architecture are
>> not managed by recent distros.. :-(.
>>
>> Searching the web, I see very few possibilities to install a recent (I
>> need gnome2) GNU/Linux distro on such hardware. I gave Linux MintPPC 11
>> (http://www.mintppc.org/content/list-macs) a try, but the netinstall
>> iso simply fails in installing a boot loader that conserves the
>> original OS/X partition even after many tries and workarounds.
>>
>> Any hint or experience would be welcome?
>>
>>
>> Regards,
>>
>> --
>> wwp
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> https://lists.centos.org/mailman/listinfo/centos
>>
>>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Chromium on CentOS 7

2015-09-15 Thread Richard


 Original Message 
> Date: Tuesday, September 15, 2015 23:33:39 +0300
> From: Moty Fux 
>
> Hi,
> 
> Did anyone manage to install chromium on CentOS 7?
> I tried and got this error:
> 
> Error: Package: chromium-31.0.1650.63-2.el6.x86_64 (chromium-el6)
>Requires: libudev.so.0()(64bit)
> 
> Tried to do several things among them is creating a sym link from
> libudev.so.1 to libudev.so.0, didn't work :(
> Any suggestions?
> 
> 10x.

Is there a reason to be trying to use the chromium built for C6
(because google was using libraries in their version that weren't
included in C6) on a C7 machine, rather than chrome directly from
the google repository? The google provided chrome (both stable and
beta) work well on C7.

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


[CentOS] Chromium on CentOS 7

2015-09-15 Thread Moty Fux
Hi,

Did anyone manage to install chromium on CentOS 7?
I tried and got this error:

Error: Package: chromium-31.0.1650.63-2.el6.x86_64 (chromium-el6)
   Requires: libudev.so.0()(64bit)

Tried to do several things among them is creating a sym link from
libudev.so.1 to libudev.so.0, didn't work :(
Any suggestions?

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


Re: [CentOS] BackupPC is not easy to setup

2015-09-15 Thread Nicolas Thierry-Mieg



On 09/15/2015 10:58 AM, Timothy Murphy wrote:

kpolb...@olberg.name wrote:


2. The graphical interface seems to be treated as an extra,
but what other way is there of accessing BackupPC?
Is there a CLI approach?
If so, where is the list of transfer requests kept?



2. You can do all operations through CLI, all of it is mentioned in the
documentation.
http://backuppc.sourceforge.net/faq/BackupPC.html#Step-7:-Talking-to-BackupPC


Thank you for your response.
However, I don't believe this short section gives sufficient information
to configure and run BackupPC.
Basically, it just gives a way of finding out what is happening
while BackupPC is running.
(Also it finishes by advising you to use the GUI instead.)

For example, what command would you give to tell BackupPC
that you want to back up /var/www (to choose a directory at random)?


That goes in the config file (typically the per-PC one for this kind of 
setting, since you won't back up the same dirs on all clients).

http://backuppc.sourceforge.net/faq/BackupPC.html#Configuration-File

The options are described in the following sections, that particular 
setting is described in the well named section:

http://backuppc.sourceforge.net/faq/BackupPC.html#What-to-backup-and-when-to-do-it

Really, the backuppc docs are pretty good.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS-6 - LogWatch

2015-09-15 Thread James B. Byrne

On Mon, September 14, 2015 21:28, Always Learning wrote:
>
> On Mon, 2015-09-14 at 14:51 -0400, James B. Byrne wrote:
>
>> The Logwatch imapd service script distributed with CentOS-6 does not
>> generate anything when I run logwatch --service all on a cyrus-imapd
>> host.  Is this expected behaviour?  Is there a separate script for
>> cyrus-imapd or are their configuration options required to get the
>> existing script to work.
>
> 1. Check there is data in the log file(s).

Yes.  We have cyrus-imapd logging to /var/log/maillog.  This appears
to be the default setting as I can find no explicit reference to
maillog in either /etc/imapd.conf or /etc/cyrus.conf and none to imapd
in /etc/rsyslog.conf.

>
> 2. Ensure Logwatch has the correct location and names of your log
> files.
>
> Check:  /usr/share/logwatch/default.conf/logfiles/ - there should be a
> 'imapd' file there. I don't use imapd and there is no such file on my
> instances of C6.

I do not have one either.

yum provides /usr/share/logwatch/default.conf/logfiles/imapd.conf
Loaded plugins: etckeeper, fastestmirror, priorities, refresh-packagekit
Loading mirror speeds from cached hostfile
 * base: centos.mirror.rafal.ca
 * epel: mirror.steadfast.net
 * extras: less.cogeco.net
 * updates: mirror.netflash.net
No Matches found

The Logwatch related files that reference imapd are these:

find /usr/share/logwatch -type f | xargs grep -l imapd
/usr/share/logwatch/default.conf/services/imapd.conf
/usr/share/logwatch/default.conf/services/secure.conf
/usr/share/logwatch/scripts/services/secure
/usr/share/logwatch/scripts/services/cron
/usr/share/logwatch/scripts/services/courier
/usr/share/logwatch/scripts/services/imapd


Maillog is referenced in
/usr/share/logwatch/default.conf/services/imapd.conf:

cat /usr/share/logwatch/default.conf/services/imapd.conf
###
#

###

# You can put comments anywhere you want to.  They are effective for the
# rest of the line.

# this is in the format of  = .  Whitespace at the beginning
# and end of the lines is removed.  Whitespace before and after the =
sign
# is removed.  Everything is case *insensitive*.

# Yes = True  = On  = 1
# No  = False = Off = 0

Title = "IMAP"

# Which logfile group...
LogFile = maillog

# Only give lines pertaining to courier...
# I'm not sure if this is complete, especially for the new webmail
daemon in 0.44.1
#but you will get at least all currently supported logs
*OnlyService = (imapd|imapd-ssl|imapsd)

*RemoveHeaders =

# vi: shiftwidth=3 tabstop=3 et


The only executable(sic) script available in
/usr/share/logwatch/scripts/services/ referred to in
/usr/share/logwatch/default.conf/services/imapd.conf is imapd and that
script is specifically tailored to courier-imap.  Which is likely the
reason that it reports nothing.

Which brings me back to my original question.  Where can one find a
current Logwatch script for cyrus-imap log analysis?  The cyrus-imapd
specific logwatch script that I have found and have placed into
/etc/logwatch/scripts/services/imapd is old and has errors.  I can
probably fix the errors but my Perl skills are inadequate to do
anything more.

Does anyone know of a current Logwatch script for cyrus-imapd? And
where it can be obtained?


-- 
***  e-Mail is NOT a SECURE channel  ***
Do NOT transmit sensitive data via e-Mail
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte & Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

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


Re: [CentOS] C6 firefox esr h.264 support on youtube

2015-09-15 Thread wwp
Hello John,


On Fri, 11 Sep 2015 14:18:50 +0100 (BST) John Hodrien  
wrote:

> On Fri, 11 Sep 2015, Denniston, Todd A CIV NAVSURFWARCENDIV Crane wrote:
> 
> > If anyone has clues on how to build and add  just a portion of
> > gst-plugins-bad into the existing EL OS set of gstreamer plugins, please
> > share (even URL pointers).
> >
> > [1] http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/ext/openh264
> > [2] https://en.wikipedia.org/wiki/OpenH264
> > [3] http://www.openh264.org/
> >
> > Even when this disclaimer is not here:
> > I am not a contracting officer. I do not have authority to make or modify 
> > the terms of any contract.  
> 
> All we did was rebuild the CentOS 6 packages tweaking the SPEC so that it was
> configured with:
> 
> --enable-gstreamer=0.10
> 
> h264 then worked once you'd got the appropriate gstreamer plugins installed.

Thanks for the tip!

I retrieved CentOS 6.7's firefox-38.2.1-1.el6.x86_64 srpm and rebuilt
it with the --enable-gstreamer=0.10 changes in .spec file, rebuilt on
my CentOS 6.5 system, and it works like a charm (htm5test.org and
youtube detect the h264 support etc.).


Regards,

-- 
wwp


pgpBQFrf7eeEJ.pgp
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos