Re: [CentOS] Strange behaviour when using sudo+sh+executable.

2016-09-06 Thread Rafał Radecki
At the end it was a sudo misconfiguration: Defaultslog_year, log_host, loglinelen=0, logfile=/var/log/sudo.log, noexec This line with noexec was problematic ;) Thanks for the help! BR, Rafal. 2016-09-07 2:25 GMT+02:00 Steven Tardy : > > > On Sep 6, 2016, at 6:18 AM, Rafał Radecki

Re: [CentOS] group write permissions not being respected

2016-09-06 Thread Chris Murphy
On Tue, Sep 6, 2016, 8:08 PM Pat Haley wrote: > > Trying the gluster client seems to fix the problem. > Hmm, suggests an NFS export issue then, rather than permissions issue? Chris Murphy ___ CentOS mailing list CentOS@centos.org https://lists.cento

Re: [CentOS] group write permissions not being respected

2016-09-06 Thread Pat Haley
Trying the gluster client seems to fix the problem. On 09/02/2016 12:57 AM, Chris Murphy wrote: On Thu, Sep 1, 2016, 8:11 AM Pat Haley wrote: For the enforcing=0, is that referring to SELinux? If so, we are not running SELinux. OK so neither that nor chcon nor context mount option apply

Re: [CentOS] DNF update

2016-09-06 Thread Jonathan Billings
> On Sep 6, 2016, at 9:03 PM, John R Pierce wrote: > > DNF is a replacement for Yum that will probably be in a future RHEL release, > but is not used by any RHEL/CentOS yet. And while dnf has a system-upgrade feature in Fedora, I don’t know how well it’d work in the RHEL world. Upgrading bet

Re: [CentOS] DNF update

2016-09-06 Thread John R Pierce
On 9/6/2016 5:57 PM, Jerry Geis wrote: I was searching tonight how to update OLD systems. I have C5 and C6 systems that need updating and they are remote systems. I followed the paths and ended up at DNF. Is this a valid option for updating C5 and C6 to take them to C7? DNF is a replacement f

[CentOS] DNF update

2016-09-06 Thread Jerry Geis
I was searching tonight how to update OLD systems. I have C5 and C6 systems that need updating and they are remote systems. I followed the paths and ended up at DNF. Is this a valid option for updating C5 and C6 to take them to C7? Thanks, Jerry ___ C

Re: [CentOS] Strange behaviour when using sudo+sh+executable.

2016-09-06 Thread Steven Tardy
> On Sep 6, 2016, at 6:18 AM, Rafał Radecki wrote: > > # sudo -H -E -u postgres /bin/bash -c /usr/bin/python2.7 Works for me. *shrug* Is your postgres user a service account or something else strange about it? Does 'passwd --status postgres' hint at anything? ___

Re: [CentOS] 389 Directory Server

2016-09-06 Thread Gordon Messmer
On 09/05/2016 04:41 AM, Paolo Rughetti wrote: where I can choose the product version between 8.0 to 10. I would like to know which version of 389 Directory Server match installed packages so I can select the right manual. Judging by Release Notes -> Directory Server Supported Platforms for

Re: [CentOS] more than one IP address on network device?

2016-09-06 Thread Gordon Messmer
On 09/03/2016 10:34 AM, Walter H. wrote: /etc/sysconfig/network-scripts/ifcfg-eth0:1 # Intel Corporation 82545EM Gigabit Ethernet Controller (Copper), Alias 1 TYPE=Ethernet DEVICE=eth0:1 ONPARENT=yes BOOTPROTO=none BROADCAST=192.168.0.255 IPADDR=192.168.0.17 NETMASK=255.255.255.0 NETWORK=192.168.

Re: [CentOS] /etc/sysconfig/network HOSTNAME settings

2016-09-06 Thread Gordon Messmer
On 09/04/2016 05:32 AM, Walter H. wrote: what is the correct way? That depends on what release you're using. On CentOS 7, you'd use the "hostnamectl" command. The sysconfig/network file is no longer used for that purpose. Otherwise, consult /usr/share/doc/initscripts/sysconfig.txt _

Re: [CentOS] mounting lvm2

2016-09-06 Thread Gordon Messmer
On 09/03/2016 06:22 AM, Alice Wonder wrote: I am a bit worried both having the same VG name (centos) may be an issue It is. "guestfish" is a useful tool for accessing storage volumes without conflicts in the host system: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Lin

Re: [CentOS] Network manager cannot connet to the Internet

2016-09-06 Thread Gordon Messmer
On 09/03/2016 03:08 AM, sunyeping wrote: But when I give "ifconfig" command in a gnome terminal, the output information seems to be correct: [sunyp@localhost Desktop]$ ifconfig ... eth1 Link encap:Ethernet HWaddr 00:25:90:72:E2:87 inet6 addr: fe80::225:90ff:fe72:e287/64 Scope:L

Re: [CentOS] Whether to use systemd to start services

2016-09-06 Thread Matthew Miller
On Tue, Sep 06, 2016 at 08:03:01PM +, Stalker, Tim wrote: > I'm wondering if it's normally required to start services with > systemd as opposed to sysv? I currently load a few services using the > old init.d/service funtionality, which still works fine. Is this ok > or is sysv going to be fully

[CentOS] Whether to use systemd to start services

2016-09-06 Thread Stalker, Tim
I'm wondering if it's normally required to start services with systemd as opposed to sysv? I currently load a few services using the old init.d/service funtionality, which still works fine. Is this ok or is sysv going to be fully discontinued in the future? The service I load is celeryd via init

[CentOS] CentOS-announce Digest, Vol 139, Issue 1

2016-09-06 Thread centos-announce-request
Send CentOS-announce mailing list submissions to centos-annou...@centos.org To subscribe or unsubscribe via the World Wide Web, visit https://lists.centos.org/mailman/listinfo/centos-announce or, via email, send a message with subject or body 'help' to centos-announce-requ.

[CentOS] Strange behaviour when using sudo+sh+executable.

2016-09-06 Thread Rafał Radecki
Hi All. I am trying to install some software. Part of its installation is an invocation of command similar to: # sudo -H -E -u postgres /bin/bash -c /usr/bin/python2.7 /bin/bash: /usr/bin/python2.7: Permission denied >From my perspective: # ls -l /bin/bash /usr/bin/python2.7 -rwxr-xr-x. 1 root

Re: [CentOS] NetworkManger wireless issues - "Failed to load root certificates"/"unable to get local issuer certificate"

2016-09-06 Thread Toralf Lund
On 05/09/16 11:08, John Hodrien wrote: On Fri, 2 Sep 2016, Toralf Lund wrote: Hi, I'm trying to connect my CentOS 6.8 laptop to the wireless net at work, which is secured with WPA2 and AES. I've done this successfully in the past using NetworkManager, but a new safety feature was recently intr