[25844] in Source-Commits

home help back first fref pref prev next nref lref last post

Re: /svn/athena r25258 - trunk/debathena/config/reactivate/debian

daemon@ATHENA.MIT.EDU (Liz A. Denys)
Tue Jul 19 18:22:23 2011

Date: Tue, 19 Jul 2011 18:22:16 -0400 (EDT)
From: "Liz A. Denys" <lizdenys@MIT.EDU>
To: Geoffrey Thomas <geofft@mit.edu>
cc: source-commits@mit.edu
In-Reply-To: <201107192158.p6JLw9la010842@drugstore.mit.edu>
Message-ID: <alpine.DEB.2.00.1107191822130.3778@taboo>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

ACK

-- 
Liz A. Denys
lizdenys@mit.edu

On Tue, 19 Jul 2011, Geoffrey Thomas wrote:

> Date: Tue, 19 Jul 2011 17:58:09 -0400
> From: Geoffrey Thomas <geofft@MIT.EDU>
> To: source-commits@mit.edu
> Subject: /svn/athena r25258 - trunk/debathena/config/reactivate/debian
> 
> Author: geofft
> Date: 2011-07-19 17:58:09 -0400 (Tue, 19 Jul 2011)
> New Revision: 25258
>
> Modified:
>   trunk/debathena/config/reactivate/debian/changelog
>   trunk/debathena/config/reactivate/debian/reactivate
> Log:
> In reactivate:
>  * If chattr fails due to the file not existing, that shouldn't abort
>    the rest of reactivate.
>
>
> Modified: trunk/debathena/config/reactivate/debian/changelog
> ===================================================================
> --- trunk/debathena/config/reactivate/debian/changelog	2011-07-19 21:18:04 UTC (rev 25257)
> +++ trunk/debathena/config/reactivate/debian/changelog	2011-07-19 21:58:09 UTC (rev 25258)
> @@ -8,6 +8,8 @@
>
>     At some point we may want to write our own setuid initgroups(3)
>     helper and avoid sudo entirely.
> +  * If chattr fails due to the file not existing, that shouldn't abort
> +    the rest of reactivate.
>
>  -- Geoffrey Thomas <geofft@mit.edu>  Tue, 19 Jul 2011 17:07:54 -0400
>
>
> Modified: trunk/debathena/config/reactivate/debian/reactivate
> ===================================================================
> --- trunk/debathena/config/reactivate/debian/reactivate	2011-07-19 21:18:04 UTC (rev 25257)
> +++ trunk/debathena/config/reactivate/debian/reactivate	2011-07-19 21:58:09 UTC (rev 25258)
> @@ -33,7 +33,7 @@
>
> # Cleanup our ticketenv hack
> # Make sure nobody was evil
> -chattr -i /tmp/ticketenv
> +chattr -f -i /tmp/ticketenv || :
> # If you made a directory and stored files there, too bad
> rm -rf /tmp/ticketenv
>
>
>

home help back first fref pref prev next nref lref last post