Re: rawhide, /mnt/koji and /pub/fedora

2008-08-28 Thread Jeroen van Meeuwen
Nigel Jones wrote: On Wed, 2008-08-27 at 21:52 -0700, Jesse Keating wrote: On Wed, 2008-08-27 at 21:44 -0700, Jesse Keating wrote: Comments? One comment just made on IRC by G: G f13: can't be allow masher to sudo to ftpsync and run a sync command? G = $me :) We would have to allow masher

Re: rawhide, /mnt/koji and /pub/fedora

2008-08-28 Thread Mike McGrath
On Wed, 27 Aug 2008, Jesse Keating wrote: So I realized something last night. We created a user masher to have the ability to write to /mnt/koji/mash/ but not any of the other koji space. This is useful to prevent too much damage from a horribly wrong rawhide compose. To make things easier

Re: rawhide, /mnt/koji and /pub/fedora

2008-08-28 Thread Seth Vidal
On Thu, 2008-08-28 at 08:42 -0500, Mike McGrath wrote: On Wed, 27 Aug 2008, Jesse Keating wrote: So I realized something last night. We created a user masher to have the ability to write to /mnt/koji/mash/ but not any of the other koji space. This is useful to prevent too much damage

Re: rawhide, /mnt/koji and /pub/fedora

2008-08-28 Thread Jesse Keating
On Thu, 2008-08-28 at 11:57 +0200, Jeroen van Meeuwen wrote: You could configure sudoers to allow the masher user to only be able to execute whatever it sudo's as the ftpsync user: masher hostname.domain.tld=(ftpsync) NOPASSWD: rsync $rsync_opts foo.wildcardmatch-source bar Does that

Re: rawhide, /mnt/koji and /pub/fedora

2008-08-28 Thread Jesse Keating
On Thu, 2008-08-28 at 08:52 +0200, Xavier Lamien wrote: yeah, you can easily do that by invoking : /bin/mail -r From_adress hope that mailx is up to date ;) Looks like that's not working in EL5. Pitty. -- Jesse Keating Fedora -- FreedomĀ² is a feature! identi.ca: http://identi.ca/jkeating

Re: rawhide, /mnt/koji and /pub/fedora

2008-08-28 Thread Seth Vidal
On Thu, 2008-08-28 at 09:22 -0700, Jesse Keating wrote: On Thu, 2008-08-28 at 08:52 +0200, Xavier Lamien wrote: yeah, you can easily do that by invoking : /bin/mail -r From_adress hope that mailx is up to date ;) Looks like that's not working in EL5. Pitty. a simple python script to do

Re: rawhide, /mnt/koji and /pub/fedora

2008-08-28 Thread Jeffrey Ollie
On Thu, Aug 28, 2008 at 11:27 AM, Seth Vidal [EMAIL PROTECTED] wrote: On Thu, 2008-08-28 at 09:22 -0700, Jesse Keating wrote: On Thu, 2008-08-28 at 08:52 +0200, Xavier Lamien wrote: yeah, you can easily do that by invoking : /bin/mail -r From_adress hope that mailx is up to date ;) Looks

Re: rawhide, /mnt/koji and /pub/fedora

2008-08-28 Thread Till Maas
On Thu August 28 2008, Jesse Keating wrote: On Thu, 2008-08-28 at 08:52 +0200, Xavier Lamien wrote: yeah, you can easily do that by invoking : /bin/mail -r From_adress hope that mailx is up to date ;) Looks like that's not working in EL5. Pitty. This works for me on CentOS 5, after the --

Re: rawhide, /mnt/koji and /pub/fedora

2008-08-28 Thread Xavier Lamien
2008/8/28 Jesse Keating [EMAIL PROTECTED] On Thu, 2008-08-28 at 08:52 +0200, Xavier Lamien wrote: yeah, you can easily do that by invoking : /bin/mail -r From_adress hope that mailx is up to date ;) Looks like that's not working in EL5. Pitty. hm... is installed rhel-5.2 working with

Re: rawhide, /mnt/koji and /pub/fedora

2008-08-28 Thread Bill Nottingham
Jesse Keating ([EMAIL PROTECTED]) said: So I realized something last night. We created a user masher to have the ability to write to /mnt/koji/mash/ but not any of the other koji space. This is useful to prevent too much damage from a horribly wrong rawhide compose. To make things easier

Re: rawhide, /mnt/koji and /pub/fedora

2008-08-28 Thread Mike McGrath
On Thu, 28 Aug 2008, Bill Nottingham wrote: Jesse Keating ([EMAIL PROTECTED]) said: So I realized something last night. We created a user masher to have the ability to write to /mnt/koji/mash/ but not any of the other koji space. This is useful to prevent too much damage from a horribly

rawhide, /mnt/koji and /pub/fedora

2008-08-27 Thread Jesse Keating
So I realized something last night. We created a user masher to have the ability to write to /mnt/koji/mash/ but not any of the other koji space. This is useful to prevent too much damage from a horribly wrong rawhide compose. To make things easier in the rawhide compose configs, we decided to

Re: rawhide, /mnt/koji and /pub/fedora

2008-08-27 Thread Jesse Keating
On Wed, 2008-08-27 at 21:44 -0700, Jesse Keating wrote: Comments? One comment just made on IRC by G: G f13: can't be allow masher to sudo to ftpsync and run a sync command? We would have to allow masher to sudo with no password in order to run the rsync command. I'm not sure how far we can

Re: rawhide, /mnt/koji and /pub/fedora

2008-08-27 Thread Nigel Jones
On Wed, 2008-08-27 at 21:52 -0700, Jesse Keating wrote: On Wed, 2008-08-27 at 21:44 -0700, Jesse Keating wrote: Comments? One comment just made on IRC by G: G f13: can't be allow masher to sudo to ftpsync and run a sync command? G = $me :) We would have to allow masher to sudo with no

Re: rawhide, /mnt/koji and /pub/fedora

2008-08-27 Thread Jesse Keating
On Thu, 2008-08-28 at 16:55 +1200, Nigel Jones wrote: Why not something like: sudo /usr/local/bin/rawhideftpsync.sh random bit that runs: rsync ...normal path.random bit ... I think I'd rather not have yet another script to puppet manage and such, so if we could just maybe allow rsync it