Displaying 20 results from an estimated 50000 matches similar to: "yum install, and exit status"
2011 Dec 07
2
yum with a proxy
Hello,
While yum is configured to use a proxy, like this :
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
proxy=http://proxy.lasb:3128
it still make some attempts to connect
2012 Apr 26
0
restorecon and sudo
Hello,
On CentOS-6.2, these two commands (on the same machine) give me
different results :
# restorecon -r /var/www/html/Centos/ # (as root)
$ sudo restorecon -r /var/www/html/Centos/ # (as an unprivileged user)
/var/www/html/Centos/ is a symlink to /mnt/packages/Centos/
In the first case, I get :
# ls -Z /var/www/html/Centos/
drwxr-xr-x. naudin biom system_u:object_r:httpd_sys_content_t
2011 Nov 03
1
CentOS-5.7 + megaraid + SELinux : update problem
Hello,
After updating to CentOS-5.7, I have a (small) problem :
The context of /dev/megadev0 is now defined
(in /etc/selinux/targeted/contexts/files/file_contexts) as
system_u:object_r:removable_device_t:s0.
This cause smartmontools to fail :
avc: denied { read write } for pid=2847 comm="smartd"
name="megadev0" dev=tmpfs ino=8284
2012 May 25
2
support for Broadcom BCM4313
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
2011 Aug 29
1
mounting an ext3 filesystem "-o ro"
Hi,
I want to do something *bad* : to mount an already mounted ext3
partition.
Mounting "-o bind" is not an option, this partition is mounted by
different virtual machines. NFS is the right way to go, so I want
another one :-)
I have no problem mounting this partition read-only, but it seems
that actually it is not really read-only. From /var/log/messages :
Aug 29 11:26:43 xen02
2011 May 31
2
the tag Obsoletes: in spec files
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 a local repo here).
So I added this line in texlive.spec :
Obsoletes: tetex
and of
2012 Jan 13
1
SELinux and rsh+xauth
Hello,
I have a strange (for me) problem with these two machines :
- Client, a CentOS-5.7 workstation ;
- Server, a CentOS-6.2 headless, up-to-date server.
From Client, I want to use xauth on Server with the help of rsh (yes, I
know, ssh and all this sort of things... another time.)
When SELinux is in permissive mode on Server, all these commands
perform as expected :
rsh Server
2012 Mar 13
2
mkswap, lvm and bootbits sectors
Hello,
I am confused by a warning from mkswap :
When making a swap on a LVM volume, I see the following warning :
mkswap: /dev/vg_SDB1/swap_test6_64: warning: don't erase bootbits
sectors on whole disk. Use -f to force.
Setting up swapspace version 1, size = 1048572 KiB
Is it safe to use mkswap -f in this case ?
(If that matters, the swap is intended for a virtual machine, and
the
2012 Jun 05
1
gnome / gdm mess
Hello,
My first attempt to install Gnome is not a bright success.
If I boot in runlevel 5, using gdm, I get the login screen, but after
login I get sometimes only the root window (no icons, no toolbar, no
menu, nothing but keyboard shortcuts), sometimes the icons are here but
not the toolbars...
If I use startx from runlevel 3, everything is fine.
As I don't know Gnome, I have very
2012 Aug 01
1
SELinux : please explain ...
Hello,
This is somehow off-topic, since the problem appears on a modified
CentOS-6.2 (turned into a xen-4.1 host) : I get SELinux errors, and
I'm not able to understand them.
From audit2why :
type=AVC msg=audit(1343724164.898:298772): avc: denied { mac_admin } for pid=12399 comm="restore" capability=33 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
2011 Sep 08
1
rsync -x does not do the same on EL 5.6 and 5.7
Hi,
We re doing backups of all filesystems to a dedicated server using "rsync
-x". Now, the latest CentOS versions (5.7/6.x) come with rsync-3.0.6
instead of rsync-2.x. That's nice but unfortunately it doesn't do the same
as 2.x in certain situations.
The problem is with the -x option, which does not delete content under a
mount point anymore. It was my impression that this is
2011 Oct 28
2
read failed after messages of non existing harddisks
Hi,
some time ago I removed some physical disks from a server and now I'm
still getting dmesg messages like:
sd 0:2:2:0: SCSI error: return code = 0x00040001
end_request: I/O error, dev sdc, sector 0
And all lvm tools still grumbel about that disks too:
/dev/sdb: read failed after 0 of 4096 at 0: Eingabe-/Ausgabefehler
/dev/sdb: read failed after 0 of 4096 at 1746969493504:
2011 Mar 08
2
Epel and yum downgrade : possible ?
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
2012 Nov 23
2
centos 6.3, cron and mail script output
Hi all
I have a '/etc/cron.daily/push-to-backup' script which the content is:
#!/bin/bash
/usr/bin/rsync [... long options line ...]
echo "finished pushing to the backup"
Launched manually, it's OK.
Waiting for cron to execute it,
In the "/var/log/cron", I see the starting time and the finish time, and
I see it take about 10 minutes to make the job.
2012 Apr 12
0
Xen-4.1 : Serial port from domU ?
Hello,
With Xen-4, is it still possible to access some serial device
(an UPS in my case) from a domU ?
I can''t get it to work : ttyS0 is here in dom0 ( as shown by
commands like grep serial /proc/ioports ; dmesg | grep ttyS ;
stty -aF /dev/ttyS0 ) but not from a domU :
$ grep serial /proc/ioports
$ dmesg | grep ttyS
$ stty -aF /dev/ttyS0
stty: /dev/ttyS0: Input/output error
$ ls
2007 Jun 13
1
installing GRASS-R packages
Hi,
I tried to install R packages required for the GRASS-R interface by
using the following command (copied from
http://www.geog.uni-hannover.de/grass/statsgrass/grass6_r_install.html):
/install.packages (c("sp", "spgrass6","rgdal","maptools"), dependencies
=TRUE)/
rgdal package was installed successfully;
There were problems to find 'sp' and
2015 Oct 20
0
Re: [PATCH 2/2] actions: turn some params into RelativePathnameList (RHBZ#1174551).
On Tuesday 20 October 2015 15:22:22 Richard W.M. Jones wrote:
> On Tue, Oct 20, 2015 at 03:50:31PM +0200, Pino Toscano wrote:
> > On Tuesday 20 October 2015 14:43:53 Richard W.M. Jones wrote:
> > > On Tue, Oct 20, 2015 at 01:59:10PM +0200, Pino Toscano wrote:
> > > > Use RelativePathnameList as type for lists of relative paths, as used in
> > > > some
2011 Apr 26
3
updating libvorbis
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 libvorbis-1.1.2-3.el5_4.4.x86_64 (which is newer than libvorbis-1.2.3-phn.1.x86_64) is already
2019 Sep 21
0
Replacing sendmail with postfix
On 21/09/19 9:07 AM, Chris Adams wrote:
> Once upon a time, Kenneth Porter <shiva at sewingwitch.com> said:
>> Perfect. I think the only other significant customizations I have
>> are lines to use the MIMEDefang and OpenDKIM milters. When last I
>> looked into migrating, I recall that Postfix handled milters just
>> fine.
>
> Milters work a little different
2010 Apr 26
2
[LLVMdev] Proposal for a new LLVM concurrency memory model
On 26 April 2010 10:49, Chandler Carruth <chandlerc at google.com> wrote:
> Certainly for languages such as Java, they will make up a surprisingly large
> chunk of the loads and stores, and instructions have much mor flexibility in
> terms of syntax. On the flip side, it's a lot of plumbing IIRC, and we'd
> really need to stick to the very minimal set of operations,