Bug#293124: asterisk does not start from init script with high priority

Kilian Krause Kilian Krause <kk@verfaction.de>, 293124@bugs.debian.org
Tue, 01 Feb 2005 11:03:46 +0100


--=-IqMU+CX2k6Ne1bGC5L67
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi CuPoTKa,

> Setting AST_REALTIME=3D"yes" to "no" helps, but asterisk starts without
> high priority.
>=20
> There's no problem starting it from command line, even with -p (high
> priority) flag. Problem only with init script.

yes, that's due to the fact that some other users complained about the
-U and -G not working effectively enough for their needs. The dilemma is
that either we let asterisk drop privileges *AFTER* setting realtime
prio (launching as root and being limited to one group), or we switch to
that asterisk user *BEFORE* launching asterisk (and getting all the
groups, but asterisk user cannot set realtime-prio).

Any solution that does address both issues is welcome.

--=20
Best regards,
 Kilian

--=-IqMU+CX2k6Ne1bGC5L67
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil

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

iD8DBQBB/1QCvdkzt4X+wX8RAt2YAJ9zoKQ9DukOq29hJIWObNwaI/QuIwCfVWMC
oIKGZkn31QyIqtv0i+phjhI=
=FK1p
-----END PGP SIGNATURE-----

--=-IqMU+CX2k6Ne1bGC5L67--