conflicts between shutdown hooks of nvram-wakeup and e.g. noad

Christoph Martin pkg-vdr-dvb-devel@lists.alioth.debian.org
Thu, 06 Jan 2005 10:03:21 +0100


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigCA2EBC07AB2402A9E7F49DB3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Tobias Grimm schrieb:
> Thomas Schmidt wrote:
> 
>> about this before changing to run vdr as user): The shutdown-scripts
>> must run as root.
>>
> Must they? Wouldn't it be enough to add "sudo" to SHUTDOWNCMD in
> /etc/default/vdr?
> If a shutdown hook overwrites SHUTDOWNCMD, it should take care to use
> sudo too,
> if necessary.

I don't like the idea of using sudo. It is yet another dependency. What
about a suid root script?
-- 
============================================================================
Christoph Martin, EDV der Verwaltung, Uni-Mainz, Germany
 Internet-Mail:  Christoph.Martin@Uni-Mainz.DE
  Telefon: +49-6131-3926337
      Fax: +49-6131-3922856

--------------enigCA2EBC07AB2402A9E7F49DB3
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB3P7ZgeVih7XOVJcRAhJdAJ0ZiXaZPtbrc354oT7+kj/xmpBewgCeKD2Z
DKBK7JC2rzRR19KQsnXmKnc=
=tb/z
-----END PGP SIGNATURE-----

--------------enigCA2EBC07AB2402A9E7F49DB3--