Re: [CentOS] The future of centos

2015-04-06 Thread Niki Kovacs

Le 04/04/2015 18:57, Bill Maltby (C4B) a écrit :

Been UNIX (programming and user) since 1978, Linux since some early
Slackware distributions, CentOS since 4.x. Will now be looking for
something staying truer to the original UNIX concepts but full-featured
and stable - may not be available, but I've got to at least look.


I'm using Slackware and CentOS, and I'm happy with both. The former may 
be just what you are looking for. The bone-headed installer hasn't 
changed much since the early versions, building software from source is 
dead easy (without tossing a monkey wrench in the package manager), and 
everything JustWorks(tm). I have a few production servers and many 
desktop clients running Slackware, and I'm quite happy with it. I'm 
using CentOS for stuff that Slackware can't do (FreeIPA, etc.)


Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] RAID1 bootloader configuration on CentOS 6.x and 7

2015-03-29 Thread Niki Kovacs

Hi,

The CentOS wiki sports a page about setting up software RAID1 on CentOS 
5.x. There's a section about making both members of the RAID1 bootable 
by setting up GRUB on both disks.


Now I wonder how this should be done on CentOS 6.x and 7. I have two 
sandbox machines in my office, one running a minimal CentOS 6.6, the 
other one with a CentOS 7 installation.


Correct me if I'm wrong, but I guess the setup on CentOS 6.6 is similar 
to the one described on the wiki page for CentOS 5.x, something like:


grub device (hd0) /dev/sda
grub device (hd1) /dev/sdb
grub root (hd0,0)
grub setup (hd0)
grub root (hd1,0)
grub setup (hd1)
grub quit

Now how would that work with the new GRUB2 under CentOS 7? Or maybe it's 
already installed on both disks, but how would I know that?


Cheers,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] kmod-fglrx not available on CentOS 7?

2015-03-27 Thread Niki Kovacs

Hi,

The subject says it all. I'm currently busy installing a CentOS 7 based 
desktop on a client's machine, an HP Compaq with an ATI video card.


# lspci | grep -i vga
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. 
[AMD/ATI] RS780C [Radeon 3100]


I wanted to give the proprietary video driver a spin, so I configured 
ELRepo, but curiously enough, there seems to be no kmod-fglrx driver 
available.


Why is that so?

Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Not getting updates?

2015-03-27 Thread Niki Kovacs

Le 27/03/2015 20:30, Mark Haney a écrit :

But to give an example, we run several Ubuntu 14.04 LTS  virtual machines
and I've have a dozen or so security related updates that I've not seen for
CentOS, like openssl (which I do have installed on it) and gnutls.  I know
package names don't always match up, but these are recent known
vulnerabilities and I don't like the feeling I'm not securing my systems
properly.


I've just setup a few CentOS 7 machines, using the minimal CD. After the 
initial reboot, I have 78 MB worth of updates. Everything looks quite 
normal.


Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Facebook CentOS group close to 15.000 members!

2015-03-26 Thread Niki Kovacs

Le 26/03/2015 11:27, Прокси a écrit :

Too bad it's not in English. It would be interesting to follow your
posts as you discover CentOS more and more, given that I also used
Slackware.


Well, the *nix bits are international :o)

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] RHEL/CentOS bugfixing policy for LibreOffice, Firefox, Thunderbird?

2015-03-25 Thread Niki Kovacs

Hi,

RHEL/CentOS releases 5.x, 6.x and 7.x are all shipping reasonably recent 
versions of Firefox ESR, Thunderbird ESR and LibreOffice. Until recently 
I've been using Slackware Linux as a base system for client's desktops 
and workstations. Since my primary aim is reliability, I always tried to 
opt for the most stable releases, so for example I'd rather go for 
LibreOffice 4.2.8 than 4.3.1.


A question just crossed my mind: does RHEL include software like 
LibreOffice, Firefox, Thunderbird as is from upstream, or is there 
some RHEL-specific quality control and bugfixing for this kind of software?


Cheers,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RHEL/CentOS bugfixing policy for LibreOffice, Firefox, Thunderbird?

2015-03-25 Thread Niki Kovacs

Le 25/03/2015 10:46, Lars Hecking a écrit :

  rpm -q --changelog should give you an idea.


Thanks. That's exactly what I've been looking for. And perusing the 
results gives me so many reasons to stick with CentOS.


Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.x desktop specs: minimum requirements

2015-03-24 Thread Niki Kovacs

Le 24/03/2015 09:45, Ashish Yadav a écrit :

Try considering Bodhi and Puppy Linux also.


Thanks but no. As I already stated, I have my own blend of Slackware for 
this. My question was: I want to install CentOS (and not $OTHER_DISTRO) 
on these machines, so what are the minimum specs?


--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.x desktop specs: minimum requirements

2015-03-24 Thread Niki Kovacs

Le 24/03/2015 09:52, Phil Wyett a écrit :

RHEL version min/max specs can be found:

https://access.redhat.com/articles/rhel-limits


Thanks! That's exactly the document I was looking for.

Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.x desktop specs: minimum requirements

2015-03-24 Thread Niki Kovacs

Le 24/03/2015 08:34, John R Pierce a écrit :

I'd be looking at something like TinyLinux or DamnSmallLinux on those.


I don't want anything else than CentOS for the job.

I used to install my own heavily customized version of Slackware on 
these machines (http://www.microlinux.fr/slackware/), but this was a bit 
of a hassle to maintain.


CentOS 5.x is running perfectly well on these old PC's. My question was 
more about what the 6.x installer needs to start. Once the base system 
is installed, I know how to configure a lightweight desktop.


Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 6.x desktop specs: minimum requirements

2015-03-24 Thread Niki Kovacs

Hi,

I often have to deal with relatively obsolete hardware in schools, 
public libraries, small town halls, etc. I still have a handful of 
CentOS 5.x installations around for these, but I wonder what CentOS 6.x 
desktop specs are, e. g. the minimum requirements (in terms of CPU and 
RAM) to reasonably run it. Will a battered first-generation P-IV with 
512 MB RAM be sufficient? How much RAM does 6.x's graphical installer 
require to even start? Or is it better to opt for CentOS 5.x on this 
sort of dinosaur?


Cheers,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Facebook CentOS group close to 15.000 members!

2015-03-23 Thread Niki Kovacs

Le 23/03/2015 17:26, Les Mikesell a écrit :

There is a real simple answer to privacy on facebook.  Just don't post
anything there that you would not want to be public. Just like this
mail list.


I recently joined that list and wanted to publish a simple link to my 
technical blog dedicated to CentOS (http://kikinovak.wordpress.com). 
There's no commercial interest behind it, only the wish to share my 
personal configurations. The Facebook group sees it as self-promotion 
and doesn't want to publish it. On the other hand, you're allowed to 
publish jokes without any problem.


I couldn't quite grasp the concept behind it, so I left the group.

Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Samba shares not appearing

2015-03-16 Thread Niki Kovacs

Le 16/03/2015 10:18, Earl A Ramirez a écrit :

I replicated your settings on a CentOS 7 on a KVM, I did not see the
samba server when I click on Browse Network, however when I enter
smb://server_IP_address/ I was able to see the shares.

If Im not mistaken the 'nmb' service is responsible for browsing,
therefore I stopped it and I was not longer able to see the shares from
a windows or samba client.

What is the output of:
$ smbclient -L samba_server_host-or-IP -U samba_user
from one of the samba clients?


OK, I experimented some more, and here's what I got.

I replaced the system on the two sandbox client machines by a standard 
vanilla CentOS+GNOME desktop. At first I couldn't browse any samba 
shares, but then I figured out that the standard desktop configuration 
blocks some outgoing ports in the firewall. So I simply disabled the 
firewall, and I could browse the shares, connect to them, create files 
and directories, etc. Which means the server setup looks OK so far. I 
did edit one minor detail in my smb.conf:


[global]
workgroup = WORKGROUP
server string = Serveur de fichiers AMANDINE
netbios name = amandine
dns proxy = yes
domain master = yes

I moved the netbios name from uppercase to lowercase, after a bit of RTFM.

Now the desktop client setups I usually install start from a quite 
stripped-down GNOME configuration. I described the installation process 
here:


https://kikinovak.wordpress.com/poste-de-travail/

It essentially installs to 1. install the base system and configure it. 
2. install X11 and configure WindowMaker 3. Install a minimal GNOME and 
a collection of selected applications.


On such a minimal client, I have these Samba packages installed:

[root@bernadette:~] # rpm -qa | grep samba
samba-common-4.1.1-38.el7_0.x86_64
samba-client-4.1.1-38.el7_0.x86_64
samba-libs-4.1.1-38.el7_0.x86_64

Unfortunately I can neither browse any Samba shares, nor connect to them 
directly. So something else must be missing, but what?


Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Samba shares not appearing

2015-03-16 Thread Niki Kovacs

Le 16/03/2015 10:18, Earl A Ramirez a écrit :

I replicated your settings on a CentOS 7 on a KVM, I did not see the
samba server when I click on Browse Network, however when I enter
smb://server_IP_address/ I was able to see the shares.

If Im not mistaken the 'nmb' service is responsible for browsing,
therefore I stopped it and I was not longer able to see the shares from
a windows or samba client.

What is the output of:
$ smbclient -L samba_server_host-or-IP -U samba_user
from one of the samba clients?


Here's what I got. My Samba test server is amandine.microlinux.lan, my 
two test client machines are bernadette.microlinux.lan and 
raymonde.microlinux.lan. From either of these client machines, I can't 
browse the network, but I can do what you suggested, e. g. :


Ctrl + L == smb://amandine

This shows the shares, and I can access them correctly.

Here's what the suggested smbclient command from one of the client 
machines looks like:


[kikinovak@bernadette ~]$ smbclient -L amandine -U kikinovak
Enter kikinovak's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 4.1.1]

Sharename   Type  Comment
-     ---
Public  Disk  Partage Public
ConfidentielDisk  Partage Confidentiel
IPC$IPC   IPC Service (Serveur de fichiers AMANDINE)
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 4.1.1]

Server   Comment
----
AMANDINE Serveur de fichiers AMANDINE
NAS

WorkgroupMaster
----
WORKGROUPAMANDINE

So it looks like browsing does not work. What now?


--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Samba shares not appearing

2015-03-16 Thread Niki Kovacs

Le 16/03/2015 17:59, Niki Kovacs a écrit :


On such a minimal client, I have these Samba packages installed:

[root@bernadette:~] # rpm -qa | grep samba
samba-common-4.1.1-38.el7_0.x86_64
samba-client-4.1.1-38.el7_0.x86_64
samba-libs-4.1.1-38.el7_0.x86_64

Unfortunately I can neither browse any Samba shares, nor connect to them
directly. So something else must be missing, but what?


OK, I just found the culprit. The desktop client was missing the 
gvfs-smb package. I installed it, and now everything works fine.


Problem solved.

Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Samba shares not appearing

2015-03-16 Thread Niki Kovacs

Hi,

I'm currently fiddling with Samba, trying to make it work on CentOS 7. 
Before that, I ran Samba successfully in a mixed environment with 
Slackware64 14.1 on the server and Slackware/Windows Seven on the client 
side.


I have three sandbox machines running CentOS 7. One has a minimal 
install with only the samba and samba-client packages. Just to be on the 
safe side for fiddling, SELinux is disabled, there's no firewall, etc.


I installed the 'samba' and 'samba-client' packages and edited a custom 
/etc/samba/smb.conf like this:


# /etc/samba/smb.conf

[global]
workgroup = WORKGROUP
server string = Serveur de fichiers AMANDINE
netbios name = AMANDINE
dns proxy = yes
domain master = yes
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 2
bind interfaces only = yes
interfaces = 192.168.2.0/24 localhost
hosts allow = 192.168.2. 127.
security = user
passdb backend = tdbsam
unix password sync = no
invalid users = root
encrypt passwords = yes
guest account=smbguest
map to guest = bad user
force group = users
create mode = 0660
directory mode = 0770
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes

[Public]
path = /srv/samba/public
comment = Partage Public
public = yes
only guest = yes
read only = no

[Confidentiel]
path = /srv/samba/confidentiel
comment = Partage Confidentiel
read only = no
invalid users = root nobody smbguest


Note: I explicitly disabled printing because Samba apparently refused to 
start, complaining about missing printers. And I did not forget to 
create a handful of Samba users (smbguest as well as normal users).



On the server, I have this:


# smbclient -L localhost -N
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 4.1.1]

Sharename   Type  Comment
-     ---
Public  Disk  Partage Public
ConfidentielDisk  Partage Confidentiel
IPC$IPC   IPC Service (Serveur de fichiers AMANDINE)
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 4.1.1]

Server   Comment
----
AMANDINE Serveur de fichiers AMANDINE
NAS

WorkgroupMaster
----
WORKGROUPAMANDINE

On the desktop clients (running CentOS 7 + GNOME), when I click on 
Explorer le réseau (I think it is Browse Network in english), I 
don't see any server appearing. The 'samba-client' package is installed 
on the clients.


Now I'm a bit clueless. Any suggestions on what to try next?

Cheers,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Custom user profile for GNOME 3?

2015-03-15 Thread Niki Kovacs

Le 03/03/2015 14:00, Nux! a écrit :

Niki,

Look at dconf / gsettings.

HTH
Lucian


OK, I finally got around to play with it. It looks like GNOME 3 stores 
all of its user settings in ~/.config/dconf/user. I tried copying that 
over recursively to /etc/skel, and it works. New users get the exact 
same profile.


thanks!

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 7 on Dell Inspiron with ATI Radeon HD 6320 video card

2015-03-15 Thread Niki Kovacs

Hi,

I'm currently installing CentOS 7 on a client's Dell Inspiron laptop. 
Here's the video card:


# lspci | grep -i vga
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. 
[AMD/ATI] Wrestler [Radeon HD 6320]


Most of the time, I either have to deal with Intel or NVidia graphic 
chipsets. As far as I understand, I can choose either the free 'radeon' 
driver or the proprietary 'fglrx' driver with this video card.


I'm not too worried about performance, since this will essentially be a 
laptop for office productivity. On the other hand, I do worry about 
driver stability. I vaguely remember having seen freeze problems with 
these cards.


Which driver should I use for a most stable setup?

Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7 on Dell Inspiron with ATI Radeon HD 6320 video card

2015-03-15 Thread Niki Kovacs

Le 15/03/2015 20:09, Jay Leafey a écrit :

Like you I've mostly dealt with nVidia or Intel video.  I had some
painful initial issues with the fglrx driver, but once I became more
accustomed to the quirks it was quite stable.  The wiki at elrepo was
helpful.  This was on desktop systems, I know the portable chipsets
used in the laptops are a bit different.


I've experimented a bit with both, and went with the free radeon driver, 
which seems stable.


On a side note, the laptop gave me some headaches with the Broadcom 
BCM4313 wireless driver. After some research in the CentOS wiki and a 
page on ELrepo, I managed to configure it. I took some notes here:


https://kikinovak.wordpress.com/2015/03/15/configurer-une-carte-wifi-broadcom-bcm4313-sous-centos-7/

Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SquidAnalyzer: minor trouble building RPM

2015-03-11 Thread Niki Kovacs

Le 11/03/2015 16:55, Les Mikesell a écrit :

By the way - if you are new to Centos and RH-style in general


I'm not. In 2009 I published a book about Linux system administration 
basics, based on CentOS 5.3.


http://tinyurl.com/no254g

That being said, I'm doing extensive RTFM to catch up with what's 
happened since then, especially in 7.x.


Cheers,

Niki


--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Tasks in /etc/cron.daily on CentOS 7?

2015-03-11 Thread Niki Kovacs

Hi,

I just configured SquidAnalyzer, a nifty little network statistics tool 
that I'm using mainly in school networks to monitor network usage.


I want to run the '/usr/bin/squid-analyzer' script once a day. I took a 
peek in /etc/cron.daily, and the package already installed an 
/etc/cron.daily/0squidanalyzer script.


I wanted to know at what time CentOS ran the cron.daily scripts, so I 
typed crontab -l, but there was only no cronjobs defined for root.


Here's how things look on a public Slackware64 14.0 server I administrate:

# crontab -l
...
# Run hourly cron jobs at 47 minutes after the hour:
47 * * * * /usr/bin/run-parts /etc/cron.hourly 1 /dev/null
#
# Run daily cron jobs at 4:40 every day:
40 4 * * * /usr/bin/run-parts /etc/cron.daily 1 /dev/null
#
# Run weekly cron jobs at 4:30 on the first day of the week:
30 4 * * 0 /usr/bin/run-parts /etc/cron.weekly 1 /dev/null
#
# Run monthly cron jobs at 4:20 on the first day of the month:
20 4 1 * * /usr/bin/run-parts /etc/cron.monthly 1 /dev/null

How is this handled on CentOS 7?

Cheers,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] SquidAnalyzer: minor trouble building RPM

2015-03-11 Thread Niki Kovacs

Hi,

I'm using the SquidAnalyzer network analysis tool in combination with 
Squid. Up until now, I've been running Slackware Linux on my servers. I 
built a custom package that installs SquidAnalyzer to 
/var/www/vhosts/squidreport/html. Then I setup an Apache virtual host 
for SquidAnalyzer's pages.


Since I'm migrating my servers from Slackware to CentOS, I'd like to 
build a corresponding RPM package for SquidAnalyzer. I downloaded the 
sources here:


http://squidanalyzer.darold.net/download.html

Then I set up a local build environment as described in the CentOS wiki.

The source tarball already contains a squidanalyzer.spec file in the 
packaging/RPM subdirectory. So I copied that spec file over to 
~/rpmbuild/SPECS and the source tarball to ~/rpmbuild/SOURCES. The 
version information in the spec file is wrong, it indicates 6.2, but the 
version of SquidAnalyzer is 6.2-1.


Unfortunately when I insert the correct version in the spec file, I get 
this:


$ rpmbuild -ba --clean squidanalyzer.spec
error: line 5: Illegal char '-' in: Version:6.2-1

What can I do now?

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SquidAnalyzer: minor trouble building RPM

2015-03-11 Thread Niki Kovacs

Le 11/03/2015 09:40, Niki Kovacs a écrit :

Unfortunately when I insert the correct version in the spec file, I get
this:

$ rpmbuild -ba --clean squidanalyzer.spec
error: line 5: Illegal char '-' in: Version:6.2-1


I'll answer that myself, since I just found the culprit. There's a 
version mismatch between the tarball and the extracted source directory. 
Simply renaming the tarball to version 6.2 fixed it.


Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SquidAnalyzer: minor trouble building RPM

2015-03-11 Thread Niki Kovacs

Le 11/03/2015 12:52, Joseph L. Brunner a écrit :

Thanks for the info.

Any reason you're leaving slackware now?


Yes. As much as I appreciate Slackware's bone-headed philosophy, the 
installer, the simple startup scripts, the general Keep-It-Simple 
approach and the overall robustness, the absence of PAM has been a real 
showstopper for me.


Until now the only way to setup centralized authentication and roaming 
profiles is to use a combination of NIS and NFS, which is far from ideal 
in terms of security.


I suggested the inclusion of PAM in a public poll in the Slackware forum 
on LinuxQuestions.org, which got mixed results. About half of the 
Slackware users welcomed the idea, the other half got pretty angry, and 
the result turned into a flamefest.


The idea had been to somewhat open up Slackware to the enterprise world, 
but as far as I can reckon, the word enterprise curiously enough seems 
to have a bad taste for a significant portion of Slackware's user base.


After this heated exchange, I decided to take a pragmatic approach and 
choose a more appropriate tool as a base for my business. So here I am.


Cheers,

Niki

PS: after a few years on LQ, the general tone on the CentOS mailing list 
seems like the Alban Berg Quartet after Slayer@Hellfest. :o)

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Running the Wine emulator on CentOS 7

2015-03-10 Thread Niki Kovacs

Le 10/03/2015 12:12, Fabian Arrotin a écrit :

While it works it's quite slow so probably better then to stick with
CentOS 6 and wait for something lighter than Gnome3/Gnome-shell as
Desktop Environment (xfce/mate/$other)


Until recently I've been using a beefed-up Xfce-on-steroids for older 
hardware.


http://www.microlinux.fr/desktop_linux.php

As soon as I have some time, I guess I'll set up a private repo and try 
to build Xfce 4.12 for CentOS 7 (if nobody does it before).


Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Running the Wine emulator on CentOS 7

2015-03-10 Thread Niki Kovacs

Le 10/03/2015 12:08, Fabian Arrotin a écrit :

Yeah, as said, I built those initially, but haven't tracked those, so
if Epel updated some of the required packages, you'll have that issue.
Feel free to just exclude those conflicting packages from epel.repo
and that would normally work :
exclude=wine* openal*

Remove also those packages (if still installed on disk) and then you
should be able to install wine (both x86_64 and i386)


Thanks very much! I followed your advice, and things worked out.

I wrote a short blog entry about the installation process.

https://kikinovak.wordpress.com/2015/03/10/installer-wine-sous-centos-7/

Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Running the Wine emulator on CentOS 7

2015-03-09 Thread Niki Kovacs

Le 09/03/2015 13:02, Johnny Hughes a écrit :

I was just getting ready to build those, I need them:)  .. how about we
put them (or newer ones, if available) in i686 extras.


On a side note, I wonder when - and if - a 32-bit version of CentOS will 
eventually become available. I'm managing a small IT company in South 
France, and I have to deal with a considerable amount of legacy hardware 
in schools and town halls, mostly first generation Pentium IV with 
something like 1 GB of RAM. In general, folks are happy as long as they 
don't have to upgrade their hardware when moving from Windows to Linux. 
These old PCs may be dinosaurs, but apparently it takes a meteor strike 
to wipe them.


At the moment this kind of hardware is running my personal blend of 
32-bit Slackware Linux 14.0 or 14.1. I'm planning to install CentOS 6.x 
on it, but I think it would be perfectly able to run a 32-bit version of 
CentOS 7.


Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Running the Wine emulator on CentOS 7

2015-03-09 Thread Niki Kovacs

Le 08/03/2015 01:53, Nux! a écrit :

There are some 32bit RPMs (slightly older) here:
http://arrfab.net/attic/RPMS/7/x86_64/


I tried to install these, but I ran into some trouble. Here's what I 
tried to do.


I'm using the yum-priorities plugin. The official CentOS repos are 
configured with a priority of 1. Besides that, I'm using the EPEL and 
Nux-dextop third party repos, each with a priority of 10.


I created an /etc/yum.repos.d/wine.repo file:

[wine]
enabled=1
priority=5
name=Wine repository
baseurl=http://arrfab.net/attic/RPMS/7/$basearch/
gpgcheck=0

I gave it a priority of 5, since I want the wine-* packages to have 
precedence over those present in EPEL.


But when I try this:

# yum install wine

... here's what I get:

===

Error:  Multilib version problems found. This often means that the root 
cause is something else and multilib version checking is just 
pointing out that there is a problem. Eg.:


1. You have an upgrade for openal-soft which is missing some 
dependency that another package requires. Yum is trying to 
solve this by installing an older version of openal-soft of the 
different architecture. If you exclude the bad architecture 
yum will tell you what the root cause is (which package 
requires what). You can try redoing the upgrade with 
--exclude openal-soft.otherarch ... this should give you an error 
message showing the root cause of the problem.


2. You have multiple architectures of openal-soft installed, but
yum can only see an upgrade for one of those architectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.

3. You have duplicate versions of openal-soft installed already.
You can use yum check to get yum show these errors.

...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).

Protected multilib versions: openal-soft-1.15.1-3.el7.arrfab.i686 != 
openal-soft-1.16.0-2.el7.x86_64




Now before I'm wrecking my system, I thought I'd rather ask your advice. 
What can I do to install this Wine version cleanly?


Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Running the Wine emulator on CentOS 7

2015-03-09 Thread Niki Kovacs

Le 10/03/2015 01:52, Johnny Hughes a écrit :

We really should have this very soon after the 7.1 x86_64 release.  I am
building all the packages for both as we do 7.1.

But, so far the new kernel is not building 32 bit:(


Thank you for your quick response. I am looking forward to that very much.

Out of curiosity, I gave PUIAS/Springdale a spin. They have a 32-bit 
version of 7, although it's not advertised anywhere, and I stumbled over 
it more or less by accident while searching through their repositories. 
It runs nice on one of my sandbox PCs. Though I'd rather have a 32-bit 
CentOS 7.


As far as Wine is concerned, I guess the best solution will be to wait 
until you put a 32-bit version in [extra].


Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Running the Wine emulator on CentOS 7

2015-03-07 Thread Niki Kovacs

Hi,

Up until recently, I've been running Wine 1.6.2 on my workstation under 
Slackware64 14.1. I used it to emulate a handful of legacy apps that ran 
under Windows XP. They worked perfectly with that setup.


After migrating the workstation from Slackware to CentOS 7, I installed 
the Wine packages, but none of my applications run. I only get an error 
message about wrong EXE format. And that's it.


Any idea what's going on?

Cheers,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Running the Wine emulator on CentOS 7

2015-03-07 Thread Niki Kovacs

Le 07/03/2015 18:24, Ned Slider a écrit :

I'm guessing you are either going to need to build/install a 32-bit
version of wine or will need to find 64-bit versions of your Windows
applications.


Is it possible to build a 32-bit version of Wine on 64-bit CentOS 7 ? A 
curt yes or no will do. Eventually I'll RTFM for the details.


Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Squid on CentOS 7: few questions

2015-03-06 Thread Niki Kovacs

Hi,

I recently migrated my office's server from Slackware64 14.1 to CentOS 
7. Right now I'm in the process of configuring the Squid web proxy. I 
edited the default /etc/squid/squid.conf, and here's what I have so far:


--8--
# /etc/squid/squid.conf

# Nom d'hôte du serveur Squid
visible_hostname amandine.microlinux.lan

# Définitions
acl localnet src 192.168.2.0/24 # RFC1918 possible internal network
acl SSL_ports port 443
acl Safe_ports port 80  # http
acl Safe_ports port 21  # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70  # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535  # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT

# Règles d'accès
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnet

# Port du proxy
http_port 3128

# Taille du cache dans la RAM
cache_mem 256 MB

# Vidage système
coredump_dir /var/spool/squid

# Durée de vie des fichiers sans date d'expiration
refresh_pattern ^ftp:   144020% 10080
refresh_pattern ^gopher:14400%  1440
refresh_pattern -i (/cgi-bin/|\?) 0 0%  0
refresh_pattern .   0
--8--

The proxy is working as expected. I have a few questions for fine-tuning 
though.


1. Squid's main logs are stored in /var/log/squid/access.log. I'd like 
to setup logfile rotation for that, since it can become quite big. How 
do you handle this? With Squid's intern 'logfile_rotate' directive or 
with logrotate? What I'd like to do is rotate this logfile about once a 
week.


2. Which user is Squid supposed to run as under CentOS? On my Slackware 
server I had the following:


cache_effective_user nobody
cache_effective_group nobody

What's an orthodox setting for CentOS?

3. The access rules are a bit minimal. Do they seem OK to you for a LAN? 
Any suggestions?


Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Squid on CentOS 7: few questions

2015-03-06 Thread Niki Kovacs

Le 06/03/2015 21:08, Les Mikesell a écrit :



The rpm should have configured logrotate:
rpm -q --list squid |grep logrotate
will show where the config file lands.



OK



The rpm should have created the squid user and group:
rpm -q --scripts squid
will show what it ran to do that.


OK




Unless you want to restrict outbound access, the main thing is the acl
to permit access from your local network source addresses (and no
others).   I'd recommend an external firewall or at least iptables
blocking inbound internet access to port 3128 also.



The LAN server here already has Iptables configured to redirect HTTP 
traffic to 3128 transparently.


Thanks for your detailed answer. That was very helpful!

Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Something like apt-cacher for CentOS/RHEL?

2015-03-06 Thread Niki Kovacs

Hi,

For some time I've fiddled with Debian and Ubuntu LTS. There's one 
really nice feature for local networks: apt-cacher, a package proxy for 
APT.


My company is in the remote South French countryside, and more often 
than not, schools and public libraries only have some very limited 
Internet access with relatively low bandwidth, which can make the 
updating process very tedious. A package cache comes in very handy in 
such situation.


Do you know if something like this exists for RPM-based distributions?

Cheers,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Strange crash after NVidia driver installation from ELRepo

2015-03-03 Thread Niki Kovacs



Le 03/03/2015 18:45, Scott Robbins a écrit :

This might have to do with the NVidia update, explained on the elrepo
pages.

http://elrepo.org/tiki/kmod-nvidia

You may have an older card that will require the 340xx versions of the
various NVidia tools.


No, it's a GT520 which is supposed to work with the latest driver.

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Strange crash after NVidia driver installation from ELRepo

2015-03-03 Thread Niki Kovacs



Le 03/03/2015 19:25, Jonathan Billings a écrit :

One of the things that the nvidia driver adds is nouveau.modeset=0
rdblacklist=nouveau to the kernel arguments.  Do you see them?  I
know that we saw the kernel panic when the nouveau driver was loaded
on a el6.6 system with an NVidia K620, so perhaps when you brought in
X11 you also installed the nouveau drivers?


One thing I did this time was to make sure there weren't any 
incompatible drivers (like 'nouveau') installed *before* actually 
installing and configuring kmod-nvidia. Now everything works as expected.


I can't be sure 100 %, but I think this was the culprit.

Cheers,

Niki


--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Custom user profile for GNOME 3?

2015-03-03 Thread Niki Kovacs

Hi,

I wonder where - and eventually how - GNOME 3 stores its user 
preferences. I'd like to create a custom user profile, with slightly 
different settings than the default ones:


* don't show home folder on ~/Desktop
* don't show Trash
* use custom default wallpaper
* stretch wallpaper instead of zooming
* use different default icon theme
* etc.

Until now I've done this successfully with desktop environments like 
GNOME 2, Xfce or KDE. I just copied over the relevant files from 
~/.config, ~/.kde4 (IIRC), ~/.gconf or whatever to /etc/skel, and newly 
created users had their settings ready.


Anybody knows how I can manage this with GNOME 3?

Cheers,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Package group X Window System has disappeared

2015-02-27 Thread Niki Kovacs



Le 27/02/2015 16:01, m.r...@5-cent.us a écrit :

That's*weird*  . Why would you even want hidden groups?


Weird and... not very intelligent. To say it politely.

:o)

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Package group X Window System has disappeared

2015-02-27 Thread Niki Kovacs

Hi,

Until last week, I could install a CentOS 7 based desktop using the 
following approach:


1. Install minimal system.

2. yum groupinstall X Window System

3. yum install gdm gnome-classic-session gnome-terminal liberation-fonts

4. Install applications as needed.

This morning, the package group X Window System seems to have 
disappeared. This is embarrassing.


What happened?

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Easy way to strip down CentOS?

2015-02-26 Thread Niki Kovacs

Le 26/02/2015 15:53, David Both a écrit :

Ok, I understand, now. I just leave multiple desktops in place and
switch between them as I want. But perhaps you have reasons to do it as
you do. That is one thing I really appreciate about Linux, the fact that
there are many, many ways to accomplish almost everything and that what
is right and works for me may not be what works best for you.

Your scripting style is irrelevant so long as it gets the job done for
you. And one tenet the Unix/Linux Philosophy is, automate everything,
which is what you have done.


I've written a new blog post about the subject here:

https://kikinovak.wordpress.com/2015/02/27/revenir-a-une-installation-minimale/

Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Easy way to strip down CentOS?

2015-02-26 Thread Niki Kovacs



Le 26/02/2015 15:00, David Both a écrit :

Perhaps I have not been following closely enough, but why go backwards?
Why not start with a minimal installation and then add only those
packages that are needed for your situation?


Here's why.

I'm currently experimenting with CentOS on my workstation, trying out 
different desktop environments like GNOME3, KDE, MATE, Xfce. But at the 
same time, I'm also working on that same workstation, for example 
developing websites on a local LAMP stack, using multimedia apps like 
Audacity to edit some audio tracks for my training courses, etc.


When switching from one desktop environment to another for the sake of 
trying it out, there's always tons of cruft on the system, even after a 
yum groupremove Old Desktop Environment. And I don't want to do a 
fresh reinstallation, because I have all my data and files in place, and 
this is a RAID 1 installation, so it's not exactly trivial to reinstall 
and put everything back in place.


Anyway, I spent a couple hours experimenting, and I found a satisfying 
solution. It's not very elegant, but it works. Here goes.


1. First, make a list of the packages contained in a minimal 
installation. This is easy, since I can do a minimal installation in a 
virtual guest, and then run the following little script:


#!/bin/bash
#
# create_package_list.sh
#
# (c) Niki Kovacs, 2014

TMP=/tmp
RPMLIST=$TMP/rpmlist.txt
PKGLIST=$TMP/pkglist.txt
rm -f $RPMLIST $PKGLIST
rpm -qa | sort  $RPMLIST
sed 's/-[^-]*-[^-]*\.[^.]*\.[^.]*$//' $RPMLIST  $PKGLIST

2. I copy that package list to the 'core' file in my Git repo and run 
the following script on the system I want to prune:


#!/bin/bash
#
# purge_system.sh
#
# (c) Niki Kovacs, 2014

CWD=$(pwd)
TMP=/tmp

RPMLIST=$TMP/rpmlist.txt
PKGLIST=$TMP/pkglist.txt
PKGINFO=$TMP/pkg_database

rpm -qa | sort  $RPMLIST

sed 's/-[^-]*-[^-]*\.[^.]*\.[^.]*$//' $RPMLIST  $PKGLIST

PACKAGES=$(egrep -v '(^\#)|(^\s+$)' $PKGLIST)

rm -rf $RPMLIST $PKGLIST $PKGINFO
mkdir $PKGINFO

# Create core package database
echo
echo +==
echo | Creating core package database...
echo +==
echo
sleep 3
CORE=$(egrep -v '(^\#)|(^\s+$)' $CWD/../pkglists/core)
for PACKAGE in $CORE; do
  printf .
  touch $PKGINFO/$PACKAGE
done

unset CRUFT

# Check installed packages against core package database
echo
echo
echo +
echo | Checking for packages to be removed from your system...
echo +
echo
sleep 3
for PACKAGE in $PACKAGES; do
  if [ -r $PKGINFO/$PACKAGE ]; then
continue
  else
printf .
CRUFT=$CRUFT $PACKAGE
  fi
done

echo
echo

# Remove all non-core packages
yum remove $CRUFT

I've tested this a few times, and it works as expected. I know my 
scripting style is a bit hodge-podge. If you have a more elegant 
solution, I'm always open for suggestions.


Cheers,

Niki


--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Easy way to strip down CentOS?

2015-02-26 Thread Niki Kovacs



Le 25/02/2015 23:00, Peter a écrit :

I haven't tried this, but see if it works:
yum shell
remove *
install @minimal
run


I get Package group minimal does not exist

What now?

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Easy way to strip down CentOS?

2015-02-26 Thread Niki Kovacs



Le 26/02/2015 10:30, Leon Fauster a écrit :

# rpm -qa --last

Lists the last installed package first. That way back would be one way to strip 
it down.


Here's a completely empiric approach, tried out on three different 
machines. It's not perfect, but it's already quite usable :


https://kikinovak.wordpress.com/2015/02/26/elaguer-un-systeme-centos/

Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Replacement for NIS/NFS?

2015-02-25 Thread Niki Kovacs



Le 24/02/2015 08:41, Andrew Holway a écrit :

+1 for freeipa. It is an extremely well integrated domain controller with a
functionality similar to Microsoft Active Directory.


I want to thank everybody for their numerous and detailed answer posts 
to this thread. Looks like FreeIPA is the way to go. I guess I'll check 
it out in the weeks and months to come.


Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Easy way to strip down CentOS?

2015-02-25 Thread Niki Kovacs

Hi,

I wonder if there's an easy way to strip down an installation to the 
bare minimum, e. g. the packages you get when you select minimum 
installation.


In Slackware, the bone-headed package manager slackpkg has a few nice 
options, among which 'slackpkg clean-system', which removes all 
third-party packages in one single operation, or 'slackpkg remove 
package_group', which does exactly that.


I know CentOS has yum groupinstall/groupremove etc. but as far as I can 
tell, if I only have a handful of packages from a package group 
installed, yum grouplist lists the group as not installed, so there's 
not an easy way to tell.


You may wonder why I want to do this. I have CentOS installed on some 
sandbox machines here, and I like to fiddle with different desktops and 
setups just for the sake of experimenting.


Cheers,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Easy way to strip down CentOS?

2015-02-25 Thread Niki Kovacs



Le 25/02/2015 19:36, John R Pierce a écrit :

I install from the 'minimum' ISO, and get that off the bat, then just
install the packages I need with yum


I do the same, but my question is: how to do that the other way around? 
Let's say you start from the base system, then install a couple dozen 
command-line utilities from cowsay to whois, then you install the X 
Window System group, a couple dozen fonts, then the WindowMaker window 
manager, then a handful of X applications... how do you manage from 
there to get back to exactly the base system you had from the start? I 
know this may sound a little academic, but it's for a little private 
experiment here.


Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Easy way to strip down CentOS?

2015-02-25 Thread Niki Kovacs



Le 25/02/2015 20:18, Brian Mathis a écrit :

I don't think there's a single yum command that lets you roll back to the
packages the were installed at a given point in time.


Maybe a good idea would be to find one or a handful of packages that the 
whole desktop and/or graphical subsystem depends on. Removing this one 
package - or this handful of packages, but which? - would already result 
in removing everything X11-related. After that, I can always manually 
sort out the remaining command-line stuff.


Niki


--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Transparent GNOME Terminal in CentOS 7?

2015-02-25 Thread Niki Kovacs



Le 24/02/2015 13:51, Jim Perrin a écrit :

Might also be worth mentioning that supposedly around the 7.2 timeframe,
gnome is scheduled to be bumped to a more modern version.
https://bugzilla.redhat.com/show_bug.cgi?id=1174442

In theory this should put transparent terminal support back in
gnome-terminal.


This is great news. Thanks for the heads-up.

In my humble opinion, KDE deserves a similar bump to 4.14, the latest 
4.x release.


Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Replacement for NIS/NFS?

2015-02-23 Thread Niki Kovacs

Hi,

Over the last few years, I've been using a rather bone-headed solution 
to implement centralized authentication and roamin user profiles in 
Linux-based networks: a combination of NIS and NFS.


I'm aware it's not ideal in terms of security, but it's been running in 
our local school since 2010, and it just works. The current setup is 
based on Slackware Linux on both server and desktop clients.


Here's the relevant documentation (which I wrote):

http://docs.slackware.com/howtos:network_services:roaming_profiles

BTW, the first two years this solution worked perfectly with CentOS 5.x 
on the server and on the desktop clients.


I'm currently migrating from Slackware to CentOS, and I'm looking for a 
business-grade replacement of this more or less obsolete configuration.


I've read about various existing solutions, and I'm not quite sure in 
which direction to go from here: FreeIPA? 389 Directory Server? 
LDAP+LAM-Manager?


Here's what I want:

1. Users should be manageable through a GUI, probably a web interface, 
so the client can create, manage and delete them eventually.


2. Home directories should be created/deleted automagically under the hood.

3. Every user should be able to login on any machines and find his or 
her files and preferences.


What can you suggest? Is there some robust and well-documented solution 
that works more or less out of the box and doesn't make me jump through 
burning loops?


I'm mainly using CentOS 7, but I'll also have to use CentOS 6.x since in 
our school we have some older hardware that won't run 7.x.


Cheers from the sunny South of France,

Niki Kovacs
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Transparent GNOME Terminal in CentOS 7?

2015-02-22 Thread Niki Kovacs

Hi,

I like working with transparent terminals. Unfortunately, this feature 
seems to have been removed from GNOME Terminal in CentOS 7.


Anybody knows if there's a workaround to get it back?

Cheers,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Transparent GNOME Terminal in CentOS 7?

2015-02-22 Thread Niki Kovacs



Le 22/02/2015 16:19, Johnny Hughes a écrit :

terminator in the Nux!dextop repo for C7 has transparent backgrounds.


Thanks!

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Masquerading (packet forwarding) on CentOS 7

2015-02-19 Thread Niki Kovacs

Hi,

I just migrated my office's server from Slackware64 14.1 to CentOS 7. So 
far everything's running fine, I just have a few minor details to work out.


I removed the firewalld package and replaced it by a simple Iptables script:


--8
#!/bin/sh
#
# firewall-lan.sh

IPT=$(which iptables)
MOD=$(which modprobe)
SYS=$(which sysctl)
SERVICE=$(which service)

# Internet
IFACE_INET=enp2s0

# Réseau local
IFACE_LAN=enp3s0
IFACE_LAN_IP=192.168.2.0/24

# Relais des paquets (yes/no)
MASQ=yes

# Tout accepter
$IPT -t filter -P INPUT ACCEPT
$IPT -t filter -P FORWARD ACCEPT
$IPT -t filter -P OUTPUT ACCEPT
$IPT -t nat -P PREROUTING ACCEPT
$IPT -t nat -P POSTROUTING ACCEPT
$IPT -t nat -P OUTPUT ACCEPT
$IPT -t mangle -P PREROUTING ACCEPT
$IPT -t mangle -P INPUT ACCEPT
$IPT -t mangle -P FORWARD ACCEPT
$IPT -t mangle -P OUTPUT ACCEPT
$IPT -t mangle -P POSTROUTING ACCEPT

# Remettre les compteurs à zéro
$IPT -t filter -Z
$IPT -t nat -Z
$IPT -t mangle -Z

# Supprimer toutes les règles actives et les chaînes personnalisées
$IPT -t filter -F
$IPT -t filter -X
$IPT -t nat -F
$IPT -t nat -X
$IPT -t mangle -F
$IPT -t mangle -X

# Désactiver le relais des paquets
$SYS -q -w net.ipv4.ip_forward=0

# Politique par défaut
$IPT -P INPUT DROP
$IPT -P FORWARD ACCEPT
$IPT -P OUTPUT ACCEPT

# Faire confiance à nous-même
$IPT -A INPUT -i lo -j ACCEPT

# Ping
$IPT -A INPUT -p icmp --icmp-type echo-request -j ACCEPT
$IPT -A INPUT -p icmp --icmp-type time-exceeded -j ACCEPT
$IPT -A INPUT -p icmp --icmp-type destination-unreachable -j ACCEPT

# Connexions établies
$IPT -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT

# SSH local
$IPT -A INPUT -p tcp -i $IFACE_LAN --dport 22 -j ACCEPT

# SSH limité en provenance de l'extérieur
$IPT -A INPUT -p tcp -i $IFACE_INET --dport 22 -m state \
 --state NEW -m recent --set --name SSH
$IPT -A INPUT -p tcp -i $IFACE_INET --dport 22 -m state \
 --state NEW -m recent --update --seconds 60 --hitcount 2 \
 --rttl --name SSH -j DROP
$IPT -A INPUT -p tcp -i $IFACE_INET --dport 22 -j ACCEPT

# DNS
$IPT -A INPUT -p tcp -i $IFACE_LAN --dport 53 -j ACCEPT
$IPT -A INPUT -p udp -i $IFACE_LAN --dport 53 -j ACCEPT

# DHCP
$IPT -A INPUT -p udp -i $IFACE_LAN --dport 67:68 -j ACCEPT

# Activer le relais des paquets
if [ $MASQ = 'yes' ]; then
 $IPT -t nat -A POSTROUTING -o $IFACE_INET -s $IFACE_LAN_IP \
   -j MASQUERADE
 $SYS -q -w net.ipv4.ip_forward=1
fi

# Enregistrer les connexions refusées
$IPT -A INPUT -j LOG --log-prefix +++ IPv4 packet rejected +++
$IPT -A INPUT -j REJECT

# Enregistrer la configuration
$SERVICE iptables save
--8

As you can see, the script is also supposed to handle IP packet 
forwarding (masquerading).


Once I run firewall-lan.sh manually, everything works as expected.

When I restart the server, Iptables rules are still the same. The only 
thing that's not activated is IP forwarding. So as far as I can tell, 
iptables rules are stored, but packet forwarding returns to its pristine 
state (not activated).


What would be an orthodox way of handling this? Put 
net.ipv4.ip_forward=1 in /etc/sysctl.conf? Something else?


Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?

2015-02-19 Thread Niki Kovacs

Le 19/02/2015 11:03, Chris Murphy a écrit :

This is a false dichotomy. I reject it. There's too much fact to the
contrary. My mom has done an OS installation, she is most definitely
not an admin.


I'd say your mom is an admin in the sense that chickens fly and horses swim.

:o)

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Masquerading (packet forwarding) on CentOS 7

2015-02-19 Thread Niki Kovacs

Le 19/02/2015 13:19, Dennis Jacobfeuerborn a écrit :

The other thing i would recommend is to replace the iptables script with
the iptables-service package. That package uses iptables-restore to load
the iptables rules from /etc/sysconfig/iptables on boot and you can use
iptables-save to store the iptables rules there when you make changes.


The script does make use of the iptables-service package. Take a look at 
the last line :o)


--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Masquerading (packet forwarding) on CentOS 7

2015-02-19 Thread Niki Kovacs

Le 19/02/2015 13:00, Peter a écrit :

On 02/19/2015 11:58 PM, Niki Kovacs wrote:

What would be an orthodox way of handling this? Put
net.ipv4.ip_forward=1 in /etc/sysctl.conf?


Yes.


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



Thanks !

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?

2015-02-18 Thread Niki Kovacs

Le 18/02/2015 09:59, Niki Kovacs a écrit :

└─sdd3  8:51   0  76,4G  0 part
   └─md127   9:127  0   229G  0 raid5 /

Any idea what's going on ?


Ooops, just saw it. /dev/sdd3 apparently has the wrong size.

As to why this is so, it's a mystery.

I'll investigate further into this. (Since this is the office's gateway, 
I'll take some time to respond eventually. No server = no Internet :oD)


Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?

2015-02-18 Thread Niki Kovacs

Le 18/02/2015 09:24, Michael Volz a écrit :

Hi Niki,

md127 apparently only uses 81.95GB per disk. Maybe one of the partitions has 
the wrong size. What's the output of lsblk?


[root@nestor:~] # lsblk
NAME  MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda 8:00 232,9G  0 disk
├─sda1  8:10   3,9G  0 part
│ └─md126   9:126  0   3,9G  0 raid1 [SWAP]
├─sda2  8:20   200M  0 part
│ └─md125   9:125  0   200M  0 raid1 /boot
└─sda3  8:30  76,4G  0 part
  └─md127   9:127  0   229G  0 raid5 /
sdb 8:16   0 232,9G  0 disk
├─sdb1  8:17   0   3,9G  0 part
│ └─md126   9:126  0   3,9G  0 raid1 [SWAP]
├─sdb2  8:18   0   200M  0 part
│ └─md125   9:125  0   200M  0 raid1 /boot
└─sdb3  8:19   0  76,4G  0 part
  └─md127   9:127  0   229G  0 raid5 /
sdc 8:32   0 232,9G  0 disk
├─sdc1  8:33   0   3,9G  0 part
│ └─md126   9:126  0   3,9G  0 raid1 [SWAP]
├─sdc2  8:34   0   200M  0 part
│ └─md125   9:125  0   200M  0 raid1 /boot
└─sdc3  8:35   0  76,4G  0 part
  └─md127   9:127  0   229G  0 raid5 /
sdd 8:48   0 232,9G  0 disk
├─sdd1  8:49   0   3,9G  0 part
│ └─md126   9:126  0   3,9G  0 raid1 [SWAP]
├─sdd2  8:50   0   200M  0 part
│ └─md125   9:125  0   200M  0 raid1 /boot
└─sdd3  8:51   0  76,4G  0 part
  └─md127   9:127  0   229G  0 raid5 /

Any idea what's going on ?

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?

2015-02-18 Thread Niki Kovacs

Le 18/02/2015 09:24, Michael Volz a écrit :

md127 apparently only uses 81.95GB per disk. Maybe one of the partitions has 
the wrong size. What's the output of lsblk?


I just spent a few hours experimenting with the CentOS 7 installer in a 
VirtualBox guest with four virtual hard disks. I can now confirm this is 
a very stupid bug in the (very stupid) installer. Or at least one more 
random weirdness. Here goes.


The new installer is organized around mount points, which have to be 
defined first. OK, so I first define my mountpoint /boot, set it to 200 
MB (which is enough), define it to be RAID level 1 across four disks 
with an ext2 filesystem. So far so good.


Next step is similar, swap mountpoint is 2 GB, also RAID level 1 across 
four disks.


Finally, the / (root partition) mountpoint is supposed to take up the 
full amount of remaining disk space. In my virtual guest, I defined 4 X 
40 GB to fiddle with. The installer shows me something like 38.6 GB, 
which looks like the remaining space on each disk's partition.


Now I define RAID level 5 across four disks...

... and here it comes.

Once RAID level 5 is defined, I have to REDEFINE the maximum disk space 
by putting in a random large number, for example 4 X 40 GB = 160 GB. 
Because what is meant here is THE TOTAL RESULTING AMOUNT OF DISK SPACE 
IN THE RAID 5 ARRAY, AND NOT THE MAXIMUM SIZE OF A DISK PARTITION. So 
once I fill that field with 160 GB, the installer automagically sets 
it to 106.8 GB, which is in effect the maximum available disk space 
using RAID 5.


Usability anyone?

Cheers from the sunny South of France,

Niki Kovacs
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?

2015-02-18 Thread Niki Kovacs

Le 18/02/2015 23:12, Chris Murphy a écrit :

installer is organized around mount points is correct, and what gets
mounted on mount points? Volumes, not partitions.


Says who?

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?

2015-02-18 Thread Niki Kovacs

Le 19/02/2015 05:43, Chris Murphy a écrit :

My personal view on installers is extremely biased toward the user
staying out of trouble, they shouldn't have to read documentation for
a GUI installer.


A *user* never has to even see - or use - an installer. A USER has to 
USE a computer,  by which I mean the applications he or she needs to get 
some work done.


The person who gets to be confronted by an OS installer is not a user, 
it's an ADMIN, which is an entirely different thing. An ADMIN should 
RTFM (a lot) and know his way about what you call esoteric things 
earlier in this thread (disks, partitions, volumes).


My company (http://www.microlinux.fr) installs complete Linux-based 
networks for schools, town halls, public libraries etc. here in South 
France. For now, most of my server and desktop solutions are based on a 
highly modified version of Slackware Linux, with some CentOS and some 
RHEL here and there. I'm currently planning on migrating everything to 
CentOS in the long run.


One of the founding principles of my company is the constant SEPARATION 
BETWEEN USING A COMPUTER AND ADMINISTRATING IT. A user never ever has to 
worry about things that pertain to system administration, and it would 
be very wrong if he or she ever has to deal with such a thing as an 
installer. For what it's worth, some of my users don't even know that 
this thing that they're using every day is called Linux under the hood. 
To them, it's just the machine that's running things like their library 
management software, or whatever.


So, as an admin, what I want from an installer is FLEXIBILITY... and not 
an assistant that reminds me of Microsoft Office's infamous Clippy and 
expects me to jump through burning loops to configure the system as I 
want it.


Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?

2015-02-18 Thread Niki Kovacs

Le 18/02/2015 23:12, Chris Murphy a écrit :

What is NOT obvious: for single device installs, if you omit the size
in the create mount point dialog, the size of the resulting volume
will consume all remaining space. But since there's no way to preset
raid5 at the time a mount point is created (raid5 is set after the
fact), there isn't a clear way to say use all remaining space for
this. There's just a size field for the volume, and a space available
value in the lower left hand corner.


Well, maybe it's just me. I've started Linux on Slackware 7.1 and used 
pretty much every major and minor distribution under the sun. I know my 
way around Slackware, Debian, CentOS, FreeBSD, Gentoo, Arch and many 
more, and my favourite installer is - and will always be - Slackware's 
bone-headed NCurses installer that lets the admin do pretty much what he 
wants - and needs - to do. CentOS 5.x's text mode installer got pretty 
close, but then, for mysterious reasons, Red Hat decided to cripple it 
into oblivion. Go figure.


I love CentOS, been using it since 4.x. But frankly, CentOS 7's 
installer is an abomination.


All's well that ends well. It only took me a day and a half to figure 
out how to configure RAID 5 using the graphical assistant. Something I 
could have done in less than three minutes using fdisk and mdadm --create.


Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?

2015-02-17 Thread Niki Kovacs

Hi,

I just replaced Slackware64 14.1 running on my office's HP Proliant 
Microserver with a fresh installation of CentOS 7.


The server has 4 x 250 GB disks.

Every disk is configured like this :

* 200 MB /dev/sdX1 for /boot
* 4 GB /dev/sdX2 for swap
* 248 GB /dev/sdX3 for /

There are supposed to be no spare devices.

/boot and swap are all supposed to be assembled in RAID level 1 across 4 
disks.


The / partition is supposed to be assembled in RAID level 5 across 4 disks.

With Slackware I created the arrays manually like this:

  # mdadm --create /dev/md1 --level=1 --raid-devices=4 --metadata=0.90
/dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1
  # mdadm --create /dev/md2 --level=1 --raid-devices=4 --metadata=0.90
/dev/sda2 /dev/sdb2 /dev/sdc2 /dev/sdd2
  # mdadm --create /dev/md3 --level=5 --raid-devices=4 --metadata=0.90
/dev/sda3 /dev/sdb3 /dev/sdc3 /dev/sdd3

Using this setup, I had 650 MB of disk space on /dev/md3.

Now I tried to do the same thing with CentOS 7. Everything seemed to 
work at first, but here's what I got now:


[root@nestor:~] # df -h
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
/dev/md127 226G1,1G  213G   1% /
devtmpfs   1,4G   0  1,4G   0% /dev
tmpfs  1,4G   0  1,4G   0% /dev/shm
tmpfs  1,4G8,5M  1,4G   1% /run
tmpfs  1,4G   0  1,4G   0% /sys/fs/cgroup
/dev/md125 194M 80M  101M  45% /boot
/dev/sde1  917G 88M  871G   1% /mnt

The root partition (/dev/md127) only shows 226 G of space. So where has 
everything gone?


[root@nestor:~] # cat /proc/mdstat
Personalities : [raid1] [raid6] [raid5] [raid4]
md125 : active raid1 sdc2[2] sdd2[3] sdb2[1] sda2[0]
  204736 blocks super 1.0 [4/4] []

md126 : active raid1 sdd1[3] sdc1[2] sdb1[1] sda1[0]
  4095936 blocks super 1.2 [4/4] []

md127 : active raid5 sdc3[2] sdb3[1] sdd3[4] sda3[0]
  240087552 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] 
[]

  bitmap: 0/1 pages [0KB], 65536KB chunk

unused devices: none

[root@nestor:~] # mdadm -D /dev/md127
/dev/md127:
Version : 1.2
  Creation Time : Wed Feb 18 06:49:01 2015
 Raid Level : raid5
 Array Size : 240087552 (228.97 GiB 245.85 GB)
  Used Dev Size : 80029184 (76.32 GiB 81.95 GB)
   Raid Devices : 4
  Total Devices : 4
Persistence : Superblock is persistent

  Intent Bitmap : Internal

Update Time : Wed Feb 18 08:04:26 2015
  State : active
 Active Devices : 4
Working Devices : 4
 Failed Devices : 0
  Spare Devices : 0

 Layout : left-symmetric
 Chunk Size : 512K

   Name : localhost:root
   UUID : cfc13fe9:8fa811d8:85649402:58c4846e
 Events : 4703

Number   Major   Minor   RaidDevice State
   0   830  active sync   /dev/sda3
   1   8   191  active sync   /dev/sdb3
   2   8   352  active sync   /dev/sdc3
   4   8   513  active sync   /dev/sdd3

Apparently no spare devices have been created. So why do I only have 226 
GB of disk space under CentOS, when I had roughly 650 GB under Slackware?


I'm a bit lost here. Any suggestions?

Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?

2015-02-17 Thread Niki Kovacs

Le 18/02/2015 08:09, Niki Kovacs a écrit :



Apparently no spare devices have been created. So why do I only have 226
GB of disk space under CentOS, when I had roughly 650 GB under Slackware?



An idea just crossed my mind. Could it be that 'df' is reporting a wrong 
partition size on the RAID 5 array? And how can I check if this is the case?



--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7 on dual-monitor workstation?

2015-02-16 Thread Niki Kovacs

Le 16/02/2015 10:32, Nux! a écrit :

Currently Gnome 3 is OK with multiple monitors, especially when run in the classic 
mode.
Elrepo continues to be the recommended way to install nvidia drivers, 
nvidia-detect will suggest the correct kmod you need e.g.:

yum install nvidia-detect  yum install `nvidia-detect`


OK thanks very much !

BTW, I'm happily using the Nux repo. Keep up the good work.

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LC_COLLATE variable?

2015-02-15 Thread Niki Kovacs

Le 15/02/2015 16:38, Michael Volz a écrit :

Hi,

to my knowledge

echo LC_COLLATE=fr_FR.UTF-8  /etc/locale.conf

is the right way to do that.


Thanks! If I remember correctly, CentOS 5.x and 6.x had an 
/etc/sysconfig/i18n file for that.


Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LC_COLLATE variable?

2015-02-15 Thread Niki Kovacs

Le 15/02/2015 16:38, Michael Volz a écrit :

Hi,

to my knowledge

echo LC_COLLATE=fr_FR.UTF-8  /etc/locale.conf

is the right way to do that.


Unfortunately that didn't work. Putting  LC_COLLATE in /etc/locale.conf 
does nothing.


Now what?

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 7 on dual-monitor workstation?

2015-02-15 Thread Niki Kovacs

Hi,

My workstation is currently running Slackware Linux 14.1 64-bit, and I'm 
considering replacing that by CentOS 7, which I've already installed on 
my laptop.


The PC has an NVidia GeForce GT 520 video card with two 19'' monitors 
attached to it. I'm using the proprietary 'nvidia' driver.


I vaguely remember having read somewhere that RHEL/CentOS 7 with GNOME 3 
had trouble with dual monitors. Now since this is my main workhorse PC, 
I thought I'd rather ask before migrating, just to be on the safe side.


Anybody on this list running CentOS 7 on a similar hardware configuration?

If I remember correctly from the time spent with CentOS 5.x, the 
proprietary 'nvidia' drivers are best configured using the third-party 
ELRepo package repository. Correct me if I'm wrong.


Cheers,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Custom wallpaper on CentOS 7?

2015-02-14 Thread Niki Kovacs

Le 14/02/2015 13:22, Earl A Ramirez a écrit :

I believe that you can change your desktop from 'Tweak Tool', which can
be found under | Application | Utilities, under the Desktop option you
will see Picture URI. On my desktop I simply right click on the desktop
and select 'Change Background'.

You can also change the background from the settings.


Thanks. The wallpaper can be changed indeed using Tweak Tool. But 
there's no way custom imported wallpapers can be made to appear in the 
preview window.


I'm right now discovering GNOME 3 Classic, and I must say I like it. On 
the other hand, the missing wallpaper review is really a bad design.


Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] LC_COLLATE variable?

2015-02-14 Thread Niki Kovacs

Hi,

I'm running my CentOS 7 desktop in french. LANG is set to fr_FR.UTF-8.

In GNOME 3, the menu entries are listed in alphabetical order. 
Unfortunately, entries beginning with an accented character (like 
Éditeur de texte) appear at the bottom of the list.


I know that in order to correct this, I have to set the LC_COLLATE 
variable to fr_FR.UTF-8. What would be a sensible place to do this 
system-wide under CentOS 7?


Cheers,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Custom wallpaper on CentOS 7?

2015-02-14 Thread Niki Kovacs

Hi,

I just installed CentOS 7 + GNOME on my Asus S300 laptop. So far 
everything runs very nice and smoothly, and I'm quite happy with it.


Curiously enough, I can't seem to be able to set a custom wallpaper. I 
tried various locations like /usr/share/backgrounds, 
/usr/share/backgrounds/gnome and /usr/share/backgrounds/images, but the 
images don't appear in the wallpaper selection window.


Any suggestions?

Cheers,

Niki Kovacs
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] KISS networking with CentOS 7

2015-02-10 Thread Niki Kovacs

Le 10/02/2015 15:35, Niki Kovacs a écrit :



So far, no way to bring either eth0 or eth1 up. What am I doing wrong
here? Is NetworkManager now a mandatory part of the base system? Some
other mistake somewhere else? I'm a bit puzzled here.



I'll answer that myself, after some more experimenting. Apparently, 
reverting to the traditional ethX interface naming scheme creates some 
unexpected behavior. I decided to keep the new persistent naming scheme 
(enp2s0 and enp3s1 on my server), and from there, everything works like 
expected.


Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Central hostname management?

2015-02-10 Thread Niki Kovacs

Hi,

Our local school has a 100 % Slackware Linux network with two servers 
and 14 desktop clients.


The main server is running Dnsmasq, and he's providing static IP 
addresses to the desktop clients. Hostnames are also managed centrally.


All client machines only have this in /etc/hosts:

127.0.0.1 localhost.localdomain localhost

And in /etc/HOSTNAME:

localhost.localdomain

The hostname gets sent to each of the desktop clients by the server. The 
big advantage is I can manage everything centrally from the server. One 
line in /etc/dnsmasq.conf, and that's it. Client installs can all be 
cloned with Ghost4Linux.


Now I'm trying to do the same thing on CentOS 7.

/etc/hosts:

127.0.0.1 localhost.localdomain localhost (IPv6 is disabled)

/etc/hostname:

localhost

I'm experimenting with all this while reading the RHEL Networking Guide. 
I understand CentOS 7 is using hostnamectl to manage the hostname.


In that case, what do I have to do? Can hostnamectl be somewhat disabled 
and/or removed?


Cheers,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] KISS networking with CentOS 7

2015-02-10 Thread Niki Kovacs

Le 10/02/2015 17:20, m.r...@5-cent.us a écrit :

Please explicate - offlist is fine. I really dislike the naming
convention I was installing on a new HP dl560 g8, and it came up with
ensf1 (which is*great*  fun if you're trying to do a pxeboot build)


The CentOS FAQ explains how to restore the traditional naming scheme:

http://wiki.centos.org/FAQ/CentOS7#head-31ebc6642958a0df12304d6aab9a49034a3b7802

That being said, everything works fine now with the new interface names. 
I guess I'll just have to get used to it. Feels a bit like FreeBSD. :oD


Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] KISS networking with CentOS 7

2015-02-10 Thread Niki Kovacs

Hi,

I'm currently experimenting with CentOS 7 on a couple of installations. 
I'm reasonably proficient with CentOS 5.x and 6.x.


I'd like to manage networking using a more traditional approach (Keep It 
Simple Stupid). Here's what I tried so far, starting from a minimal install:


Install net-tools (to be able to use ifconfig).

Get rid of NetworkManager:

# yum remove NetworkManager*

Add 'net.ifnames=0' and 'biosdevname=0' to kernel boot options to name 
interfaces eth0, eth1, etc.


Edit '/etc/sysconfig/network-scripts/ifcfg-eth{0,1}' like I did under 
previous versions.


Eventually, edit '/etc/udev/rules.d/70-persistent-net.rules' to switch 
interfaces:


# /etc/udev/rules.d/70-persistent-net.rules
#
# eth0
SUBSYSTEM==net, ACTION==add, DRIVERS==?*, \
  ATTR{address}==00:1e:c9:42:84:7b, ATTR{type}==1, \
  KERNEL==eth*, NAME=eth0
# eth1
SUBSYSTEM==net, ACTION==add, DRIVERS==?*, \
  ATTR{address}==00:30:f1:6a:2f:40, ATTR{type}==1, \
  KERNEL==eth*, NAME=eth1

So far, no way to bring either eth0 or eth1 up. What am I doing wrong 
here? Is NetworkManager now a mandatory part of the base system? Some 
other mistake somewhere else? I'm a bit puzzled here.


Cheers,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7 : create RAID arrays manually using mdadm --create ?

2015-02-09 Thread Niki Kovacs

Le 10/02/2015 02:01, Chris Murphy a écrit :

It's useful to know what layout you want. The installer will neither
create, nor let you use, what it thinks are ill-advised layouts. The
main reason I can think of for pre-creating md devices is to use a
non-default chunk/strip size.


I'd like to be able to create either a simple RAID 1 layout with two 
disks, with a separate /boot partition, or a simple RAID 5 layout with 4 
disks, with a separate /boot partition too.


The layouts are described in this little Slackware-based HOWTO I wrote, 
and which I'm using on my servers. It's in French, but the command-line 
bits are universal :o)


http://www.microlinux.fr/slackware/Linux-HOWTOs/LAN-Server-HOWTO.txt

Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Recommendations for good CentOS 7 documentation

2015-02-09 Thread Niki Kovacs

Le 09/02/2015 23:01, Eero Volotinen a écrit :

How about redhat documentation?


Yes, it's OK too. I didn't ask about all the existing documentation out 
there. I was just curious about any specific recommendations you can 
make, good books, good online documentation, etc.


Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Recommendations for good CentOS 7 documentation

2015-02-09 Thread Niki Kovacs

Hi,

I'm looking for recommendations for documentation about the 
specificities of RHEL/CentOS 7.x. It can be either online or in printed 
book format, and I'm fluent in german, french and english.


I have a good books about 5.x: RHEL 5 Unleashed from Sams, 
Foundations of CentOS Linux and The Definitive Guide to CentOS, both 
from Apress.


Can anyone recommend anything similar on 7.x?

Cheers from South France,

Niki Kovacs
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 7 : create RAID arrays manually using mdadm --create ?

2015-02-09 Thread Niki Kovacs

Hi,

When installing CentOS 7, is there a way to

1. leave the GUI installer and open up a console
2. create RAID arrays manually using mdadm --create
3. get back in the GUI installer and use the freshly created /dev/mdX 
arrays?


I tried to do this, but the installer always exits informing me that he 
can't create the RAID arrays (since they're already created, duh).


Any suggestions?

Cheers,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Traditional network interface naming scheme vs. persistent naming

2015-02-04 Thread Niki Kovacs

Hi,

I'm currently experimenting with CentOS 7 in order to get a grasp of 
everything that's new.


After having read the FAQ entry on network interface names, I decided to 
revert to the tradictional interface naming scheme by adding the 
relevant kernel options to the bootloader. This went well, I have now 
two interfaces names 'eth0' and 'eth1' as expected.


In my office I have another server with two network interface cards, 
running Slackware64 14.1. On a stock Slackware installation, as soon as 
there is more than one NIC, the system creates a file 
/etc/udev/rules.d/70-persistent-net.rules, which looks like this:


 # PCI device 0x8086:/sys/devices/pci:00/:00:02.0/:02:00.0 
(e1000e)
SUBSYSTEM==net, ACTION==add, DRIVERS==?*, 
ATTR{address}==2c:27:d7:15:54:a1, ATTR{dev_id}==0x0, 
ATTR{type}==1, KERNEL==eth*, NAME=eth0


# PCI device 0x8086:/sys/devices/pci:00/:00:04.0/:03:00.0 
(e1000e)
SUBSYSTEM==net, ACTION==add, DRIVERS==?*, 
ATTR{address}==00:22:64:8a:4c:c2, ATTR{dev_id}==0x0, 
ATTR{type}==1, KERNEL==eth*, NAME=eth1


Usually I have a 50 % chance of getting the network interface right 
(well, according to Murphy, I have more like a 100 % chance of getting 
it wrong the first time :oD). In that case, I simple edit the 
70-persistent-net.rules file, permutate the eth0 and eth1 entries 
and then reboot.


How would I go about that under CentOS with traditional interface names? 
The 70-persistent-net.rules file doesn't exist. Do I have to create it 
from scratch?


Cheers,

Niki Kovacs
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Traditional network interface naming scheme vs. persistent naming

2015-02-04 Thread Niki Kovacs

Le 04/02/2015 18:48, m.r...@5-cent.us a écrit :

That directory, and that file, exist in CentOS, also, since 6. And the new
naming... it's*so*  much easier to deal with... yeah, right, I'll run the
install, and wait till it hangs, so I can see that the NIC is named, what
was it, on that HP last month, oh, yeah, I need to use ip -f inet link,
far simpler than ifconfig, yes, it's ens3f0

 mark why would I*possibly*  prefer a same-on-every-box eth0?*

* For the satire-impaired, this is satire.


LOL !!!

After a bit more experimenting, looks like I've found a clean solution 
for this. Simply create the /etc/udev/rules.d/70-persistent-net.rules 
file from scratch and edit it like this:


# /etc/udev/rules.d/70-persistent-net.rules
#
# eth0
SUBSYSTEM==net, ACTION==add, DRIVERS==?*, \
  ATTR{address}==00:1e:c9:42:84:7b, ATTR{type}==1, \
  KERNEL==eth*, NAME=eth0
# eth1
SUBSYSTEM==net, ACTION==add, DRIVERS==?*, \
  ATTR{address}==00:30:f1:6a:2f:40, ATTR{type}==1, \
  KERNEL==eth*, NAME=eth1

Reboot, and everything's working as expected.

Cheers,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Broadcom wireless card: installation script for Linux-STA driver

2014-12-14 Thread Niki Kovacs

Hi,

I just installed CentOS 6.6 on my HP Pavilion DM1 laptop. The wireless 
card is only poorly supported in the default setup, so I decided to 
write an installation script for the Linux-STA driver, which works 
perfectly.


https://github.com/kikinovak/centos/blob/master/6.x/broadcom-sta/broadcom-sta.sh

Grab the files:

# git clone https://github.com/kikinovak/centos

Run the script:

# cd centos/6.x/broadcom-sta
# broadcom-sta.sh

Reboot and you're ready to go.

Cheers,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Broadcom wireless card: installation script for Linux-STA driver

2014-12-14 Thread Niki Kovacs

Le 14/12/2014 15:02, Jonathan Billings a écrit :

Did you try the drivers provided by elrepo?

http://elrepo.org/tiki/wl-kmod


No. I read the CentOS wiki page here, which states that ELRepo doesn't 
provide these drivers due to licence restrictions, and that the user has 
to build them manually.


http://wiki.centos.org/HowTos/Laptops/Wireless/Broadcom?action=show

:o)

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dropbox on CentOS 6?

2014-12-14 Thread Niki Kovacs

Le 12/12/2014 06:14, Chris a écrit :

just use the Fedora RPM from Dropbox. It's working fine. The files
included and a German posting is at

http://chris-blog.net/2014/07/dropbox-unter-centos-installieren/


I just tested this on a fresh installation of CentOS 6.6 (in 
VirtualBox). I downloaded the Fedora RPM (32-bit), installed it (using 
yum localinstall) and started it using the new Internet  Dropbox menu 
entry.


1. A progression bar Downloading Dropbox menu appears.

2. A second progression bar Unpacking... appears.

3. Then nothing happens.

4. 'ps aux' shows a busy 'dropbox' process.

YMMV, but this does *not* work on CentOS 6.6.

Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dropbox on CentOS 6?

2014-12-14 Thread Niki Kovacs

Le 11/12/2014 09:04, Sorin Srbu a écrit :

The procedure described onhttps://www.dropbox.com/install?os=lnx  has worked for me 
on several occasions before on CentOS 6.0  6.5.
Haven't done it on 6.6 yet, but I doubt it'd be any different.

What problems have you run into??


I just tried it again in a fresh VM of CentOS 6.6 (minimal GNOME desktop 
+ handful of needed applications).


I followed the instructions step by step (there are only two).

I downloaded Dropbox, launched the daemon manually as described...

... and nothing happens.

Any suggestions?

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Remote Git vs. GNOME on CentOS 6.6: cannot open display

2014-12-13 Thread Niki Kovacs

Hi,

I just installed a fresh CentOS 6.6 desktop. It's a client's machine, it 
is physically installed on a testbench in my office. Usually, when I 
perform installations, I start with the base system on the testbench, 
and once networking is configured, I SSH into it and then do all the 
fine-tuning remotely.


My configuration files, scripts and HOWTOs are all stored in a Github 
repository. The problem I have with the default configuration of Git 
under CentOS is that GNOME hijacks Git's authentication process. 
Meaning whenever Git asks for credentials, this happens in a very ugly 
authentication window. But the real problem is in a remote session, 
where I can't use Git anymore. Here's what I get:


[root@optiplex-330 ~]# git clone 
https://kikino...@github.com/kikinovak/centos

Initialized empty Git repository in /root/centos/.git/

(gnome-ssh-askpass:2440): Gtk-WARNING **: cannot open display:

Anyone knows how to stop this annoying behavior? I'm typing these lines 
on a Slackware64 14.1 + KDE installation, and when I use Git on this 
machine, credentials are always asked for in the terminal itself, not in 
a GUI popup.


Cheers,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Remote Git vs. GNOME on CentOS 6.6: cannot open display

2014-12-13 Thread Niki Kovacs

Le 13/12/2014 15:22, Niki Kovacs a écrit :

Hi,

I just installed a fresh CentOS 6.6 desktop. It's a client's machine, it
is physically installed on a testbench in my office. Usually, when I
perform installations, I start with the base system on the testbench,
and once networking is configured, I SSH into it and then do all the
fine-tuning remotely.

My configuration files, scripts and HOWTOs are all stored in a Github
repository. The problem I have with the default configuration of Git
under CentOS is that GNOME hijacks Git's authentication process.
Meaning whenever Git asks for credentials, this happens in a very ugly
authentication window. But the real problem is in a remote session,
where I can't use Git anymore. Here's what I get:

[root@optiplex-330 ~]# git clone
https://kikino...@github.com/kikinovak/centos
Initialized empty Git repository in /root/centos/.git/

(gnome-ssh-askpass:2440): Gtk-WARNING **: cannot open display:

Anyone knows how to stop this annoying behavior?


I'll answer this myself, since I just found the solution:

# unset SSH_ASKPASS

... will do the trick.

Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dropbox on CentOS 6?

2014-12-11 Thread Niki Kovacs

Le 11/12/2014 10:58, Liam O'Toole a écrit :

That procedure works for me up to and including 6.6. It would indeed be
helpful if the OP listed the particular problems they encountered.


I guess my mistake was to hunt down a Dropbox RPM package in various 
third-party repos. I'll try the command-line procedure that's advertised 
on the Dropbox site.


Thanks everybody for your answers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] No package group X Window System in CentOS 7.0?

2014-12-10 Thread Niki Kovacs

Hi,

I'm currently experimenting with CentOS 7.0 in a few virtual guests, 
trying to install a reduced GNOME desktop as well as a minimal KDE 
desktop. I'm following this documentation:


http://www.dokuwiki.tachtler.net/doku.php?id=tachtler:centos_7_-_minimal_desktop_installation

I'm stuck at this point:

# yum groupinstall X Window System

Now I remember this from CentOS 5.x, when I began desktop installations 
with a minimal base system, then I added X11, configured it (using the 
minimal TWM), then added GNOME, then applications as needed.


Now there seems to be no more X Window System group. At least 'yum 
grouplist' knows nothing about it.


Any suggestions?

Cheers,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Dropbox on CentOS 6?

2014-12-10 Thread Niki Kovacs

Hi,

I just spent a couple of unnerving hours trying to make Dropbox work on 
CentOS 6.6.


Is there a way that

1. Actually works?

2. Doesn't include jumping through burning loops?

Cheers from the sunny south of France,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Moving back to CentOS + question about documentation

2014-12-09 Thread Niki Kovacs

Hi,

I'm a 47-year-old Austrian living in South France, and the manager of a 
small IT firm based on Linux and free software. A while back I have been 
a CentOS user, I was proficient with versions 4.x and 5.x, and I even 
published a book based on CentOS 5.x. After a stint on Debian, I based 
all my server and desktop solutions on Slackware 
(http://www.microlinux.fr/slackware/), which was my very first Linux 
distribution back in 2001, and for which I have kept a fondness.


Over the last few months, I was frustrated with Slackware, mainly due to 
the absence of PAM and the near impossibility to configure centralized 
authentication using LDAP. Currently I'm using central authentication 
for a few setups in local schools, and the configurations are based on 
NIS, which is far from ideal. So I remembered CentOS, which I hadn't 
really touched since 5.x, downloaded a few ISOs of 6.6 and 7.0, setup a 
few VMs, and after a couple of weeks of experimentation, I guess I'm at 
the point where I'm hooked back to CentOS, even on the desktop. I have 
my own local repository for RPM packages that are not included in EPEL, 
or when I need to tweak them, and the last client that wanted me to 
setup a workstation will have a highly customized desktop based on 
CentOS 6.6 (I haven't yet figured out all the new quirks in 7.0, so I 
decided to stay on the safe side).


I have some well written books about RHEL/CentOS 5.x, namely RHEL 5 
Unleashed by Tammy Fox, The Definitive Guide to CentOS by Peter 
Membrey, Tim Verhoeven and Ralph Angenendt and Foundations of CentOS 
Linux by Ryan Baclit. Can you suggest any good books about RHEL/CentOS 
6.x and/or 7.x? I like being able to sit in an armchair when I do some 
RTFM. :o)


Cheers from South France,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 5 text mode installer: minimum requirements?

2014-12-05 Thread Niki Kovacs

Hi,

A company I do some teaching for has a load of legacy hardware, among 
which a Dell Poweredge 1300 server. Rough specs: Pentium-III 500 MHz 
processor, 110 MB RAM, 3 x 9 GB SCSI disks. This thing is a dinosaur, 
and horribly loud, but apparently it takes a meteor strike to wipe it. I 
like using it for training purposes, mainly to poke fun at the Windows 
Server trainer, who complained that 8 GB RAM was a bit short to run 
all his various services. :o)


The last time I used it, I installed Slackware 14.1 successfully on it 
(init 3, no GUI, various services like Dnsmasq, NTP, Samba, Squid, a 
LAMP stack, etc.). I wonder if that thing would be able to boot CentOS 
5.11 in text mode. I vaguely remember the text mode installer requires a 
minimum of 128 MB RAM, but I can't seem to find some conclusive 
information on the subject.


Cheers,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ELRepo still active?

2014-12-05 Thread Niki Kovacs

Le 05/12/2014 19:03, Mark Milhollan a écrit :

Surely visiting the elrepo web site would have provided an answer even
more quickly.  Still, the list came through for you.


I just found out my mistake. There was a last modified entry for 2012, 
but this concerned only the FAQ page. Now I looked on another page, and 
it's october 2014. This was just bad luck.




As an aside, CentOS 5 is in phase 3 of support so unless you feel your
old PC can't handle CentOS 6 or 7 you would be well advised to consider
them instead.


I am planning on basing my main desktop and server configurations on 
CentOS 6.x and 7.x. I was only asking for CentOS 5.x, since here in 
South France, there are many people who have sometimes pathologically 
obsolete hardware. And I think CentOS 5.x is the best choice for legacy 
hardware that's more than 10 years old.


Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] ELRepo still active?

2014-12-04 Thread Niki Kovacs

Hi,

I'm currently installing CentOS 5.11 i386 on an old PC.

Is the ELRepo third-party repository still active and maintained?

Cheers,

Niki Kovacs
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ELRepo still active?

2014-12-04 Thread Niki Kovacs

Le 04/12/2014 14:24, Ned Slider a écrit :

Sure is. Although you would probably be better off asking on the elrepo
mailing list rather than the CentOS list.

Anything you are particularly interest in?


Not really, but I've been a CentOS user for a few years. Then migrated 
to Slackware, but it looks like I will use CentOS again soon. I knew 
CentOS 5.x very well (even published a book about it), so now I'm busy 
doing some RTFM, writing my own notes and catching up with  all the 
changes since I've last used CentOS.


I remember having used ELRepo for some exotic hardware, for proprietary 
NVidia drivers and the likes, hence my question.


Cheers,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Recommended way of handling iptables firewall in CentOS?

2014-10-13 Thread Niki Kovacs

Hi,

I'm planning to use CentOS 6.x on a handful of LAN servers. So far I've 
been using Slackware64 14.0 and 14.1 for the job.


I wonder what's the orthodox/recommended way of configuring and iptables 
firewall with CentOS. I understand there's the 
system-config-securitylevel-tui NCurses interface which allows defining 
a basic set of rules. But what about the handful of more advanced rules 
I have to configure?


Here's an example of an /etc/rc.d/rc.firewall script that I might use 
with Slackware. It contains mostly basic rules, and a couple of more 
advanced rules, one to limit SSH access, the other one to redirect HTTP 
traffic to Squid.


If I want to copy my actual firewall configuration to CentOS, what would 
be the recommended way? I started from a bare bones minimal CentOS 6.5 
installation, so system-config-securitylevel-tui is not even installed. 
Is it a good idea to try to configure /etc/sysconfig/iptables by hand? 
What do you suggest?


Cheers,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Recommended way of handling iptables firewall in CentOS?

2014-10-13 Thread Niki Kovacs

Le 13/10/2014 11:11, Reindl Harald a écrit :

just write a bash script which resets and configures iptables with the
iptables command and at the end of the script call /sbin/service
iptables save which writes the current rules to /etc/sysconfig/iptables
and so at boot the rules get loaded atomically


Thanks very much! I followed your advice, and here's a first version of 
a firewall script for a LAN server:


https://github.com/kikinovak/centos/blob/master/6.x/firewall/firewall-lan.sh

Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Recommended way of handling iptables firewall in CentOS?

2014-10-13 Thread Niki Kovacs

Le 13/10/2014 13:36, Ron Loftin a écrit :

Of course, if you are interested in something that will help you to
organize your rules, there is always Shorewall ( Shoreline Firewall )
which I have used for years and found very effective and time-saving.


Thanks for the suggestion, I'll look into it. Though I admit having a 
clear preference for the bare bones approach to all things Linux. My 
favorite configuration tool is Vi :o)


Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Hi again problem with minimal CentOS and Github

2014-10-11 Thread Niki Kovacs

Hi everybody,

I'm back to CentOS after a long period during which I've been using 
mainly Slackware. I still use Slackware for teaching and for my local 
clients (on servers and desktops), but right now, I'm planning to update 
my own documentation about CentOS, which is still based on version 5.x.


First things first. For the moment I have a sandbox server in my office 
with a minimal installation of CentOS 6.5. It's a very stripped 
installation, and I want to keep it that way, installing things only as 
I need them. So I did *not* do a yum groupinstall Base after the 
initial installation.


I installed Git and Vim and cloned my Github repository for CentOS. But 
when I make a modification and want to push it to Github, I get the 
following error:


# git push
error: The requested URL returned error: 403 Forbidden while accessing 
https://github.com/kikinovak/centos/info/refs

fatal: HTTP request failed

Now I think there must be some missing component in my CentOS 
installation, because my Slackware workstation in the same network can 
push things just fine.


Any idea what's missing here?

Cheers from the flooded South of France,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Hi again problem with minimal CentOS and Github

2014-10-11 Thread Niki Kovacs

Le 11/10/2014 11:03, Niki Kovacs a écrit :

# git push
error: The requested URL returned error: 403 Forbidden while accessing
https://github.com/kikinovak/centos/info/refs
fatal: HTTP request failed

Now I think there must be some missing component in my CentOS
installation, because my Slackware workstation in the same network can
push things just fine.


I'll answer this myself, since I just stumbled over the solution. It 
seems that the version of Git shipping with CentOS has a little problem 
with Github. The solution is to add the username to the URL like this:


# git remote set-url origin 
https://kikino...@github.com/kikinovak/centos.git


Cheers,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ntfs

2010-12-05 Thread Niki Kovacs
Ritika Garg a écrit :
 CentOS 5.5 is installed in the system. I installed the package 
 kmod-ntfs-2.1.27-3.el5.elrepo.x86_64.rpm
 I mounted Seagate external hard disk. I am able to copy contents from 
 the hard disk to the system but not from the system to the hard disk.
 

I've been following this thread, and I'm wondering: why bother with NTFS 
in the first place? If you have a mixed environment where you need 
Windows to access your external hard disk, you might as well format it 
with a FAT filesystem. Linux supports FAT natively, without making you 
jump through burning loops.

If you don't know how to achieve this, here's how :

1) Backup all your data.

2) Given your external disk is /dev/sda, launch fdisk, delete the NTFS 
partition and create a single FAT partition (hex code 0b).

3) Install 'dosfstools' and format your disk :

# mkfs.vfat /dev/sda1

4) From now on, mount your disk as FAT :

# mount [-t vfat] /dev/sda1 /mnt/disk

Cheers,

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


  1   2   3   4   5   6   >