Re: [CentOS] r-x and r-x.

2013-05-28 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/28/2013 10:06 AM, m.r...@5-cent.us wrote: > Johan Vermeulen wrote: >> >> Op 25-04-13 19:41, m.r...@5-cent.us schreef: >>> John R Pierce wrote: On 4/25/2013 5:01 AM, mark wrote: > Two things: unless this is a laptop, shut down NetworkMan

Re: [CentOS] r-x and r-x.

2013-05-28 Thread m . roth
Johan Vermeulen wrote: > > Op 25-04-13 19:41, m.r...@5-cent.us schreef: >> John R Pierce wrote: >>> On 4/25/2013 5:01 AM, mark wrote: Two things: unless this is a laptop, shut down NetworkManager - there is *no* use for it in a wired environment. >>> doesn't it handle DHCP too? or is t

Re: [CentOS] r-x and r-x.

2013-05-28 Thread Johan Vermeulen
Op 25-04-13 19:41, m.r...@5-cent.us schreef: > John R Pierce wrote: >> On 4/25/2013 5:01 AM, mark wrote: >>> Two things: unless this is a laptop, shut down NetworkManager - there is >>> *no* use for it in a wired environment. >> doesn't it handle DHCP too? or is there an alternate mechanism for

Re: [CentOS] r-x and r-x.

2013-04-25 Thread m . roth
John R Pierce wrote: > On 4/25/2013 5:01 AM, mark wrote: >> Two things: unless this is a laptop, shut down NetworkManager - there is >> *no* use for it in a wired environment. > > doesn't it handle DHCP too? or is there an alternate mechanism for that? Dunno if it does, but network certainly do

Re: [CentOS] r-x and r-x.

2013-04-25 Thread Les Mikesell
On Thu, Apr 25, 2013 at 12:27 PM, John R Pierce wrote: > >> Two things: unless this is a laptop, shut down NetworkManager - there is >> *no* use for it in a wired environment. > > doesn't it handle DHCP too? or is there an alternate mechanism for that? At least in an 'always connected' scenari

Re: [CentOS] r-x and r-x.

2013-04-25 Thread John R Pierce
On 4/25/2013 8:36 AM, Johan Vermeulen wrote: >> Ah! And selinux. Have you encrypted the h/d's? > you know, I did argue that with my boss but he was against it. Guess he > didn't want to type 2 passwords. > So the only encrypted laptop is my own. > But my boss was sorry when his got stolen a few mon

Re: [CentOS] r-x and r-x.

2013-04-25 Thread John R Pierce
On 4/25/2013 5:01 AM, mark wrote: > Two things: unless this is a laptop, shut down NetworkManager - there is > *no* use for it in a wired environment. doesn't it handle DHCP too? or is there an alternate mechanism for that? -- john r pierce 37N 122W some

Re: [CentOS] r-x and r-x.

2013-04-25 Thread Johan Vermeulen
Op 25-04-13 16:33, m.r...@5-cent.us schreef: > Johan Vermeulen wrote: >> Op 25-04-13 14:49, Daniel J Walsh schreef: >>> On 04/25/2013 04:54 AM, Johan Vermeulen wrote: Op 24-04-13 22:53, m.r...@5-cent.us schreef: > John R. Dennison wrote: >> On Wed, Apr 24, 2013 at 03:06:11PM -0400, Da

Re: [CentOS] r-x and r-x.

2013-04-25 Thread m . roth
Johan Vermeulen wrote: > Op 25-04-13 14:49, Daniel J Walsh schreef: >> On 04/25/2013 04:54 AM, Johan Vermeulen wrote: >>> Op 24-04-13 22:53, m.r...@5-cent.us schreef: John R. Dennison wrote: > On Wed, Apr 24, 2013 at 03:06:11PM -0400, Daniel J Walsh wrote: >> Disabling SELinux is not g

Re: [CentOS] r-x and r-x.

2013-04-25 Thread Les Mikesell
On Thu, Apr 25, 2013 at 7:49 AM, Daniel J Walsh wrote: > > See if chcon -t bin_t /usr/bin/rsync solves your problem. > > I believe that NetworkManager runs its helper scripts as initrc_t which is an > unconfined domains, except that when it executes rsync, it transition to a > confined rsync serve

Re: [CentOS] r-x and r-x.

2013-04-25 Thread Johan Vermeulen
Op 25-04-13 14:49, Daniel J Walsh schreef: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 04/25/2013 04:54 AM, Johan Vermeulen wrote: >> >> >> >> Op 24-04-13 22:53, m.r...@5-cent.us schreef: >>> John R. Dennison wrote: On Wed, Apr 24, 2013 at 03:06:11PM -0400, Daniel J Walsh wrote:

Re: [CentOS] r-x and r-x.

2013-04-25 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/25/2013 04:54 AM, Johan Vermeulen wrote: > > > > > Op 24-04-13 22:53, m.r...@5-cent.us schreef: >> John R. Dennison wrote: >>> On Wed, Apr 24, 2013 at 03:06:11PM -0400, Daniel J Walsh wrote: Disabling SELinux is not going to fix your pro

Re: [CentOS] r-x and r-x.

2013-04-25 Thread mark
On 04/25/13 04:54, Johan Vermeulen wrote: > Op 24-04-13 22:53, m.r...@5-cent.us schreef: >> John R. Dennison wrote: >>> On Wed, Apr 24, 2013 at 03:06:11PM -0400, Daniel J Walsh wrote: Disabling SELinux is not going to fix your problem. Since the field is just showing you that you have ex

Re: [CentOS] r-x and r-x.

2013-04-25 Thread Johan Vermeulen
:-) In this context " I ' run your backup when verzonden m.b.v Android vandaar de beknoptheid. John R Pierce schreef: >On 4/25/2013 3:57 AM, James Hogarth wrote: >> I suspect there is no boolean to allow what you want so if you want selinux >> enabled you'll need to build a module - look at

Re: [CentOS] r-x and r-x.

2013-04-25 Thread John R Pierce
On 4/25/2013 3:57 AM, James Hogarth wrote: > I suspect there is no boolean to allow what you want so if you want selinux > enabled you'll need to build a module - look at audit2allow and the various > guides surrounding that for how to use and you wonder why people give up on selinux. 'sorry, bos

Re: [CentOS] r-x and r-x.

2013-04-25 Thread James Hogarth
> as far as I can test this at the moment, it works without Selinux and > doesn't work with Selinux enabled. > > I also want Selinux enabled. > So I will do some searching on how to make it work with Selinux. > > > Although i don't use NetworkManager I suspect it runs in some kind of context such a

Re: [CentOS] r-x and r-x.

2013-04-25 Thread Johan Vermeulen
Op 24-04-13 22:53, m.r...@5-cent.us schreef: > John R. Dennison wrote: >> On Wed, Apr 24, 2013 at 03:06:11PM -0400, Daniel J Walsh wrote: >>> Disabling SELinux is not going to fix your problem. Since the field is >>> just showing you that you have extended attibutes assigned to yr files. >>> >

Re: [CentOS] r-x and r-x.

2013-04-24 Thread m . roth
John R. Dennison wrote: > On Wed, Apr 24, 2013 at 03:06:11PM -0400, Daniel J Walsh wrote: >> >> Disabling SELinux is not going to fix your problem. Since the field is >> just showing you that you have extended attibutes assigned to yr files. >> >> Why not just script around it. >> >> ls -l | sed '

Re: [CentOS] r-x and r-x.

2013-04-24 Thread John R. Dennison
On Wed, Apr 24, 2013 at 03:06:11PM -0400, Daniel J Walsh wrote: > > Disabling SELinux is not going to fix your problem. Since the field is just > showing you that you have extended attibutes assigned to yr files. > > Why not just script around it. > > ls -l | sed 's/\. / /g' > > Would replace a

Re: [CentOS] r-x and r-x.

2013-04-24 Thread m . roth
Johan Vermeulen wrote: > Dear All, > > thanks for the responses. > > Indeed, on machine A, Selinux is disabled. > > -bash-4.1# selinuxenabled && echo enabled || echo disabled > disabled > > and on machine B, it's enabled. > > I will test the script again on B with Selinux disabled. > ARGH. Unless y

Re: [CentOS] r-x and r-x.

2013-04-24 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/24/2013 02:57 PM, Johan Vermeulen wrote: > Dear All, > > thanks for the responses. > > Indeed, on machine A, Selinux is disabled. > > -bash-4.1# selinuxenabled && echo enabled || echo disabled disabled > > and on machine B, it's enabled. > >

Re: [CentOS] r-x and r-x.

2013-04-24 Thread Johan Vermeulen
Dear All, thanks for the responses. Indeed, on machine A, Selinux is disabled. -bash-4.1# selinuxenabled && echo enabled || echo disabled disabled and on machine B, it's enabled. I will test the script again on B with Selinux disabled. Greetings, J. Op 24-04-13 18:06, Ian Forde schreef: > Ye

Re: [CentOS] r-x and r-x.

2013-04-24 Thread Ian Forde
Yep - you'll want to do a 'ls -lZ' on both dirs and compare the differences... On Apr 24, 2013 8:32 AM, "Larry Martell" wrote: > On Wed, Apr 24, 2013 at 8:50 AM, Johan Vermeulen > wrote: > > Dear All, > > > > I'm currently troubleshooting NetworkManger scripts. > > > > I see a difference in mach

Re: [CentOS] r-x and r-x.

2013-04-24 Thread Larry Martell
On Wed, Apr 24, 2013 at 8:50 AM, Johan Vermeulen wrote: > Dear All, > > I'm currently troubleshooting NetworkManger scripts. > > I see a difference in machine A : > > drwxr-xr-x 2 root root 4096 apr 24 16:33 . > drwxr-xr-x 5 root root 4096 jan 9 12:13 .. > -rwxr-xr-x 1 root root 175 jan 9 12:13

Re: [CentOS] r-x and r-x.

2013-04-24 Thread Greg Bailey
On 04/24/2013 07:50 AM, Johan Vermeulen wrote: > Dear All, > > I'm currently troubleshooting NetworkManger scripts. > > I see a difference in machine A : > > drwxr-xr-x 2 root root 4096 apr 24 16:33 . > drwxr-xr-x 5 root root 4096 jan 9 12:13 .. > -rwxr-xr-x 1 root root 175 jan 9 12:13 00-netrep

Re: [CentOS] r-x and r-x.

2013-04-24 Thread Dirk Olmes
On 04/24/2013 04:50 PM, Johan Vermeulen wrote: > Dear All, > > I'm currently troubleshooting NetworkManger scripts. > > I see a difference in machine A : > > drwxr-xr-x 2 root root 4096 apr 24 16:33 . > drwxr-xr-x 5 root root 4096 jan 9 12:13 .. > -rwxr-xr-x 1 root root 175 jan 9 12:13 00-net

[CentOS] r-x and r-x.

2013-04-24 Thread Johan Vermeulen
Dear All, I'm currently troubleshooting NetworkManger scripts. I see a difference in machine A : drwxr-xr-x 2 root root 4096 apr 24 16:33 . drwxr-xr-x 5 root root 4096 jan 9 12:13 .. -rwxr-xr-x 1 root root 175 jan 9 12:13 00-netreport -rwxr-xr-x 1 root root 335 okt 22 2012 04-iscsi -rwxr-xr