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

Christoph Martin pkg-vdr-dvb-devel@lists.alioth.debian.org
Tue, 25 Jan 2005 12:17:57 +0100


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

Hi Thomas,

sorry for the late reply.

Thomas Schmidt schrieb:
> Hmm, the script does not work, one problem is that it does not exit
> when vdr-shutdown finished. (It must exit with exactly the
> return-value which vdr-shutdown has.) The other thing is: How should
> it run as user root, i can not find anything in it which would change
> the uid, would it work when i simply make it setuid-root? (I ask this,
> because what i understand from 
> http://fringe.davesource.com/Fringe/Hacking/Documents/suidsecur
> is that interpreted scripts can not be run setuid-root.)

This is not true for setuid-root perl scripts. You have to install the
perl-suid package and change the setuid bit of the script. Then it
should work.

And the script exits with exaclty the same error code as the called
script if you use exec. I just tested it.

> The second thing is: As far as i understood from a recent thread on
> debian-devel [1] no change on the override-file is nessecary when the
> arcitecture of a package changes.
> 
> [1] http://lists.debian.org/debian-devel/2005/01/msg01049.html

Well. ok. good to know. Which version did you put into cvs now?

I can upload it this afternoon, if you want.

Christoph

-- 
============================================================================
Christoph Martin, EDV der Verwaltung, Uni-Mainz, Germany
 Internet-Mail:  Christoph.Martin@Uni-Mainz.DE
  Telefon: +49-6131-3926337
      Fax: +49-6131-3922856

--------------enig1BB0BD8BAC011642F7DDC89A
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

iD8DBQFB9irlgeVih7XOVJcRAkCCAKCK/STIfq+cbI7Hc0NOuE7hZMRecQCfft7+
+iHNXpCYCd9iYrEe6SkPo3s=
=/UL1
-----END PGP SIGNATURE-----

--------------enig1BB0BD8BAC011642F7DDC89A--