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

Thomas Schmidt pkg-vdr-dvb-devel@lists.alioth.debian.org
Thu, 6 Jan 2005 01:52:20 +0100


--bg08WKrSYDhXBjb5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Tobias Grimm schrieb am 05.01.05, um 21:15 Uhr:
> >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=20
> /etc/default/vdr?
> If a shutdown hook overwrites SHUTDOWNCMD, it should take care to use=20
> sudo too, if necessary.

Of course not every shutdown-hook must run as root, but normally at
the end of processing the shutdown-hooks the command /sbin/halt will
be called, and this is definitely one of the commands which have to
run as root. ;-)

When the whole vdr-shutdown-script will run as root, the configuration
of sudo will be much shorter as the other version: running /sbin/halt,
/etc/init.d/vdr, /sbin/reboot, /usr/sbin/nvram-wakeup ... with sudo.

Well, changing $SHUTDOWNCMD in /etc/default/vdr to use sudo would be
enough too, even when sudo is not configured to use this command.
(At least i hope this.) ;-)

The only thing, which needs to be done also is to add documentation
how to configure sudo in the correct way.

> Even dpkg installs shell scripts to /usr/lib or gettext, tasksel and othe=
rs.

Hmm, the i guess we can keep this, until someone complains massively.
;-) (I know that changing this would require to change some other
packages too, which would not be a 5 minute job.) ;-)

> BTW: I dont't get such a complain from linda. Am I doing something wrong?

I guess you are just calling linda (and probably lintian too) with the
wrong file: You should allways call both tools with the .changes-file.

linda -i vdr_1.2.6-6_i386.changes
lintian -i vdr_1.2.6-6_i386.changes

> >The package of ffmpeg will enter unstable tonight,
>=20
> Great! Will it be added to contrib?

No, it is placed in main. :)


Regards,
Thomas

--=20
Thomas Schmidt
thomas.schmidt@in.stud.tu-ilmenau.de

--bg08WKrSYDhXBjb5
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFB3IvEc9+NqwoydlIRAkcTAJ9OcjMIsE2otgk8ZdGvEEbMDD2AUQCeLzV6
rTnj1qpdBNs5Krb1s5AAQVw=
=xeHL
-----END PGP SIGNATURE-----

--bg08WKrSYDhXBjb5--