Hello,
Running httpd-2.2.3-43.el5.centos.3 on CentOS release 5.5 (Final), I
have :
$ ps -Ze
LABEL PID TTY TIME CMD
user_u:system_r:httpd_t 12833 ?00:00:00 httpd
Is it normal for httpd to have this context (user_u:system_r:httpd_t) ?
I was expe
Hello,
I am trying to create a custom policy, but with no succes :
$ cat < foo.te
module local 1.0;
require {
type httpd_sys_script_exec_t;
type httpd_sys_script_t;
class lnk_file read;
}
#= httpd_sys_script_t ==
allow httpd_sys_script_t httpd_sys
Le lun 17 jan 2011 14:32:22 CET, Daniel J Walsh a écrit:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 01/17/2011 08:25 AM, Philippe Naudin wrote:
> > Hello,
> >
> > I am trying to create a custom policy, but with no succes :
> >
>
Le lun 17 jan 2011 18:15:34 CET, aurfal...@gmail.com a écrit:
> Hi all,
>
> is any one aware quotas not working in 5,5?
>
> I'm using XFS as a file system.
>
> My fstab has the appropriate usrquota,grpquota but when I try to run;
> quotacheck -cug /foo
>
> I get;
>
> quotacheck: Can't find fi
Le ven 28 jan 2011 03:28:22 CET, kellyremo a écrit:
> [ ... ]
> $ while $TORF; do ping -W 1 -c 1 bix.hu >& /dev/null && ping
> -W 1 -c 1 www.yahoo.com >& /dev/null && TORF=false ||
> TORF=true; done
> $
>
> It just doesn't work.
>
> Goal: if theres no internet connection, then the oneliner m
Le lun 21 fév 2011 10:31:38 CET, James Bensley a écrit:
> I'm stuck trying to work this one out and my Google skills are
> apparently lacking today.
>
> This is a test bash script;
>
> #!/bin/bash
>
> do something | tee a.log
>
> if [ $? -ne 0]; then
> echo broken
> fi
What about :
{ do som
Hello,
Is it possible to downgrade to an old version of a package on epel ? I
am in troubles with the new dokuwiki-0-0.6.20101107.a.el5, and cannot
find dokuwiki-0-0.4.20091225.c.el5.noarch...
Thanks,
--
Philippe
___
CentOS mailing list
CentOS@centos
Le mar 08 mar 2011 22:04:27 CET, Nico Kadel-Garcia a écrit:
> On Tue, Mar 8, 2011 at 11:59 AM, Ned Slider wrote:
> > On 08/03/11 16:55, Ned Slider wrote:
> >> On 08/03/11 15:53, Philippe Naudin wrote:
> >>> Hello,
> >>>
> >>> Is it possible t
Hello,
On a machine with CentOS-5.6, I need libvorbis >= 1.2, so I have
recompiled and packaged libvorbis.
But I get the following error :
$ rpm -U /usr/src/redhat/RPMS/x86_64/libvorbis-1.2.3-phn.1.x86_64.rpm
/usr/src/redhat/RPMS/x86_64/libvorbis-devel-1.2.3-phn.1.x86_64.rpm
package li
[ replying to myself ]
Le mar 26 avr 2011 11:20:44 CEST, Philippe Naudin a écrit:
> ...
> Who knows how to make rpm understand than 1.2.3 is newer than 1.1.2 ?
> I have tried :
> %define name libvorbis
> Name: %{name}
> Provides: %{name} = %{version}-%{release}
>
Le mar 26 avr 2011 04:34:58 CEST, Johnny Hughes a écrit:
> CentOS, Red Hat and Fedora use an NEVR model
> (Name-Epoch-Version-Release) for version control.
>
> This command shows that libvorbis has an epoch of 1:
>
> [root@m4500 ~]# rpm -q --qf '%{epoch}\n' libvorbis
> 1
>
> The default Epoch,
Le mer 04 mai 2011 12:48:39 CEST, Laurent CREPET a écrit:
> [...]
> However, since:
> - my settings have not been modified recently
> - logrorate and squid packages have not been updated by CentOS 5.6 (see below)
> ...an issue with glibc ?
Squid and logrotate work just fine here :
$ rpm -q squid
Le mer 04 mai 2011 15:03:06 CEST, Laurent CREPET a écrit:
> [root@stargate ~]# logrotate -d -v -f /etc/logrotate.d/squid
> [snip ]
> So, logrotating squid logs by hand works. Now, when logrotate is started from
> /etc/cron.daily/logrotate, it processes more log files. It has consequences
> on sy
t is ok that this disk do
> not exist any more?
If a software RAID has been removed, don't forget :
mdadm --misc --zero-superblock /dev/sdX
where sdX is every disk that was part of the RAID.
--
Philippe Naudin
UMR MISTEA : Mathématiques, Informatique et STatistique pour
l'
="smartd"
name="megadev0" dev=tmpfs ino=8284
scontext=system_u:system_r:fsdaemon_t:s0
tcontext=system_u:object_r:removable_device_t:s0 tclass=chr_file
Changing the context (of megadev0) to fixed_disk_device_t solves the
problem, but is this the best solution ?
Thanks,
--
to Internet ?
TIA,
--
Philippe Naudin
UMR MISTEA : Mathématiques, Informatique et STatistique pour
l'Environnement et l'Agronomie
INRA, bâtiment 29 - 2 place Viala - 34060 Montpellier cedex 2
tél: 04.99.61.26.34, fax: 04.99.61.29.03, mél: nau...@supagro.inra.fr
__
Le mer 07 déc 2011 09:12:24 CET, Johnny Hughes a écrit:
> On 12/07/2011 09:03 AM, Philippe Naudin wrote:
> > Hello,
> >
> > While yum is configured to use a proxy, like this :
> > [base]
> > name=CentOS-$releasever - Base
> >
> > mirrorlist=http
he available
> tape size. I haven't used bacula but it looks like it might be good
> if you want a mix of online and tape storage and can deal with the
> agent installs.
In this last scenario, dar (http://dar.linux.free.fr/doc/Features.html)
works just fine and don't need a
l 6
> %zmj_bjam_flags '-j 4'
> %packager Zomojo
> %_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}
> rpm -qa | grep i[3,6]86
> :~#
>
> Nothing other than x86_64 packages
Maybe also, in the case there is something broken in the yum database :
yum li
S01:39 0:01 /usr/sbin/httpd
Apache running as "init_t" is a call for troubles.
$ ps awuxZ | grep [a]pache
system_u:system_r:httpd_t apache ... /usr/sbin/httpd
> [root@g6950-21025 ~]# ls -lZ /var/www/html/robots.txt
> -rw-rw-rw- root root system_u:object_r:httpd_s
Le ven 06 jan 2012 02:41:02 CET, Bennett Haselton a écrit:
> On 1/6/2012 2:24 AM, Philippe Naudin wrote:
> > Apache running as "init_t" is a call for troubles.
> Is it? OK, any idea what caused that and how to fix it?
No, sorry. Your httpd comes from CentOS ?
Afaik, y
Le ven 06 jan 2012 04:21:14 CET, Bennett Haselton a écrit:
> On 1/6/2012 4:11 AM, Philippe Naudin wrote:
> > Le ven 06 jan 2012 02:41:02 CET, Bennett Haselton a écrit:
> >
> >> On 1/6/2012 2:24 AM, Philippe Naudin wrote:
> >>> Apache running as "init_t
--. naudin biom system_u:object_r:xauth_home_t:s0 .Xauthority
I don't have this problem on a CentOS-5.7 server with the same
configuration.
Any idea (other than ssh) on how to solve it ?
Thanks,
--
Philippe Naudin
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
https://www1.montpellier.inra.fr/intranet/intracampus/logiciels/consult/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
(grep sudo /var/log/secure) that the user and the
command are exactly what you have in /etc/sudoers ? And how is your
SELinux ?
This works for me in /etc/sudoers :
Defaultsrequiretty
User_Alias TARTUFFE=naudin
Defaults:TARTUFFE !requiretty
--
Philippe Naudin
monitor is still pending).
I use the temperature of the UPS :
$ upsc onduleurgeneral...@onduleur.lasb ups.temperature
023.0
(http://www.networkupstools.org/)
I have checked : it is a quite correct, if heavy, thermometer !
--
Philippe Naudin
___
Cent
sresize -fi /dev/sda1
If it reports any problem, undo what has been done with fdisk.
Restart Windows and let it do its FS check.
This has worked for me, but as always : ymmv, be careful.
--
Philippe Naudin
___
CentOS mailing list
CentOS@centos.org
h
ybe one in the sysinternal tools)...
Windows defrag doesn't "compact" the FileSystem ; ntfsresize does if
necessary.
Larry should have a look at "man ntfsresize" :
http://linux.die.net/man/8/ntfsresize
--
Philippe Naudin
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
o use mkswap -f in this case ?
(If that matters, the swap is intended for a virtual machine, and
the host where I am using mkswap is a CentOS-6 server.)
Thanks,
--
Philippe Naudin
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/ma
Le Mon, 23 Aug 2010 14:08:17 +0200,
Eric Doutreleau a écrit :
> hi
>
> i m trying to install centos5 on my poweredge 2950 with no luck.
> the raid controler is
> LSI Logic / Symbios Logic MegaRAID SAS 1078 (rev 04)
I don't know for a 2950, but for a PE 1950 I have :
alias scsi_hostadapter megar
can enlightenment me ?
>
> take a look at /etc/rc.d/init.d/network
>
> thats the script that runs all that other stuff to fire up all the
> networking interfaces defined.
>
> its moderately complicated.
Or easier : /usr/share/doc/initscripts-*/sysconfig.txt
--
Philippe
How exactly to use the tag "Obsoletes:" in a spec file ?
I need to offer texlive to users on Centos-5.6, so I packaged it (based
on a Mandriva src.rpm), and that works.
But I want rpm to *replace* tetex by texlive, instead of just adding
texlive, when users do a :
$ yum install texlive
(we have
Le mar 31 mai 2011 15:31:17 CEST, Simon Matter a écrit:
> > How exactly to use the tag "Obsoletes:" in a spec file ?
> >
> > I need to offer texlive to users on Centos-5.6, so I packaged it (based
> > on a Mandriva src.rpm), and that works.
> >
> > But I want rpm to *replace* tetex by texlive, ins
Le mar 31 mai 2011 19:26:35 CEST, Ljubomir Ljubojevic a écrit:
> ...
> Something is obviously wrong, and does not work like it should. I gave
> up and just removed old version and installed new one.
Well, I think you are right : Obsoletes doesn't work, or at least need
more documentation about
Le mer 01 jun 2011 11:37:15 CEST, lo...@lagendijk.xs4all.nl a écrit:
> > Hello Philippe,
> >
> > On Tue, 2011-05-31 at 16:27 +0200, Philippe Naudin wrote:
> >> Here is what I have tried :
> >> Provides: tetex = %{version}
> >> Obsoletes: tetex <
y not too much :
- edit (create if necessary) /etc/postfix/sender_cannonical
a...@borg.xxx.lan some.addr...@some.real.server.for.the.bounces
- edit main.cf :
sender_canonical_maps = hash:/etc/postfix/sender_cannonical
- rehash /etc/postfix/sender_cannonical and reload postfix
Good lu
e a way to
read an ext3 filesystem, completely disabling recovery and any
write operation ?
Thanks,
--
Philippe Naudin
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
Le lun 29 aoû 2011 15:23:12 CEST, Hakan Koseoglu a écrit:
> On 29 August 2011 15:18, Philippe Naudin
> wrote:
> > Hi,
> >
> > I want to do something *bad* : to mount an already mounted ext3
> > partition.
> Use a clustering file system (i.e., ocfs2) instead.
I n
7; or a related long option is
not permitted for use with /usr/bin/rsync (arg was .is)
Sep 7 20:35:01 lasbHOME scponly[12764]: requested command (/usr/bin/rsync
--server -logDtpXrze.is --delete-after etc...) tried to use disallowed argument
As I don't have the time to make more trials, I simply
8.975/58.975/0.000 ms
--
Philippe Naudin
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
Le Fri, 7 May 2010 09:01:17 +0100,
"Simon Billis" a écrit :
> Can you confirm the routing on the two boxes - is there anything different?
> I would also check the routing on the upstream routers - it is possible that
> one of your ingress/egress routers has a static entry that is causing
> issues
Hi all,
I am trying to boot from a HD created as a copy of a running system
(and it doesn't work, and I don't understand why ...)
This is the system to be copied :
File-systemSize Used Avail Use% Mounted on
/dev/hda1 2.0G 797M 1.1G 43% /
tmpfs 506M
Le Tue, 08 Jun 2010 13:42:44 +0200,
Mogens Kjaer a écrit :
> On 06/08/2010 01:26 PM, Philippe Naudin wrote:
> ...
> > mount: error mounting /dev/root on /sysroot as auto: No such device
> ...
> > I have certainly forgotten something, but I am unable to find what...
&
Le Tue, 08 Jun 2010 14:30:40 +0200,
Mogens Kjaer a écrit :
> On 06/08/2010 02:13 PM, Philippe Naudin wrote:
> ...
> >>> mount: error mounting /dev/root on /sysroot as auto: No such device
> ...
> > Any idea ?
>
> /etc/fstab looks good; now what's in your
OK, I still don't understand what exactly went wrong, but my system
boot nicely now. I think the problem was here :
> Trying to resume from /dev/hda3
> No suspend signature on swap, not resuming.
> Creating root device.
> Mounting root filesystem.
> mount: error mounting /dev/root on /sysroot as a
on time
> ...
Compare the execution time to the timeout option of your smtp server.
I don't know about exim, but on my postfix I added :
smtpd_timeout = 30m
Another possibility is to "spool" the mail, something like :
rsync ...options... 2>&1 > LOGFILE
echo -e "finis
Le ven. 23 nov. 2012 10:42:19 CET, Philippe Naudin a écrit:
> ...
> rsync ...options... 2>&1 > LOGFILE
> echo -e "finished pushing to the backup \n$LOGFILE"
Nonsense, sorry.
If the output is short, you can do :
LOGS=$(rsync ... 2>&1)
echo -e "finis
Le mer. 14 mars 2012 09:08:46 CET, Peter Kjellström a écrit:
> On Tuesday 13 March 2012 13.20.01 m.r...@5-cent.us wrote:
> > Peter Kjellström wrote:
> > > On Tuesday 13 March 2012 13.41.53 Philippe Naudin wrote:
> > >> Hello,
> > >>
>
Le mer. 14 mars 2012 18:14:31 CET, Peter Kjellström a écrit:
> On Wednesday 14 March 2012 11.50.37 Philippe Naudin wrote:
> > Thanks all for your answers.
> >
> > Actually, my problem concern lvm, not mkswap.
>
> No, afaict there's nothing wrong with your lvm. T
"official"
*Office. It is far from perfect, because it don't work if I just do
yum update openoffice, I have to uninstall openoffice* ooobasis* and
then install again openoffice (or libreoffice now).
So : me too ;)
(I am interested to hear about a better way
drive. Is there a way to
> check the disks individually to see if any are failing, or throwing hard
> or scsi transport errors?
You can try : man smartctl
smartd can access individual disks behind (supported) RAID controllers.
--
Philippe Naudin
_
Le ven. 20 avril 2012 19:24:37 CEST, Ljubomir Ljubojevic a écrit:
> On 03/19/2012 11:28 AM, Philippe Naudin wrote:
> > I am also using a meta-package to ease installation of "official"
> > *Office. It is far from perfect, because it don't work if I just do
> &
?
--
Philippe Naudin
UMR MISTEA : Mathématiques, Informatique et STatistique pour
l'Environnement et l'Agronomie
INRA, bâtiment 29 - 2 place Viala - 34060 Montpellier cedex 2
tél: 04.99.61.26.34, fax: 04.99.61.29.03, mél: nau...@supagro.inra.fr
Hello,
The support for Broadcom Corporation BCM4313 802.11b/g/n Wireless is
native in the kernel since 2.6.37 (module brcm80211, renamed brcmsmac
since 2.6.39).
But is it backported to some kernel available for CentOS ?
Thanks,
--
Philippe Naudin
Le ven. 25 mai 2012 09:42:14 CEST, Phil Schaffner a écrit:
> Philippe Naudin wrote on 05/25/2012 08:39 AM:
> > Hello,
> >
> > The support for Broadcom Corporation BCM4313 802.11b/g/n Wireless is
> > native in the kernel since 2.6.37 (module brcm80211, rename
Le ven. 25 mai 2012 13:45:27 CEST, Akemi Yagi a écrit:
> On Fri, May 25, 2012 at 7:45 AM, Philippe Naudin
> wrote:
> > Le ven. 25 mai 2012 09:42:14 CEST, Phil Schaffner a écrit:
>
> >> Check http://elrepo.org/tiki/kmod-compat-wireless to see if it supports
> >>
me to some useful doc ?
P.S. I'm surprised to see gdm and X running on tty1 (in runlevel 5,
not 3). Is it correct ?
Thanks for your help,
--
Philippe Naudin
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
log files specified in
> /etc/rsyslog.conf.
It means that writing to this logfile is not followed by a sync.
--
Philippe Naudin
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
gt; logging in a very verbose manner."
>
> Now whether that minus is still supported under C6 I can't tell you :) .
It seems this is no more necessary.
From http://www.rsyslog.com/doc/v3compatibility.html : "In rsyslog v3,
syncing has been turned off by default."
OTOH,
Hello,
IIRC, the exit status of "yum install foo bar" was (long ago !) 0 only
if foo *and* bar could be installed.
Nowadays, it is 0 if foo *or* bar (or both) are correctly installed.
Is there a way to get the old behavior ?
Thanks,
--
Phili
ng around, it is not advised.
Thanks,
--
Philippe Naudin
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
entos box later (which I am silently injecting
> [installing] into that env after handwaving the xp).
You can also try with bash :
while IFS="," read A B C ; do echo "$B,$C,$A" ; done < infile
Regards,
--
Philippe Naudin
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
e since it works without firewall), in the firewall (for example, if
it blocks DNS requests), or in the network configuration.
Regards,
--
Philippe Naudin
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
63 matches
Mail list logo