Gentoo Archives: gentoo-commits

From: "Matthias Schwarzott (zzam)" <zzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-vdr r621 - in gentoo-vdr-scripts/trunk: . etc/conf.d usr/share/vdr/rcscript
Date: Thu, 03 Jul 2008 21:07:42
Message-Id: E1KEW1g-0000AA-Qk@stork.gentoo.org
1 Author: zzam
2 Date: 2008-07-03 21:07:36 +0000 (Thu, 03 Jul 2008)
3 New Revision: 621
4
5 Modified:
6 gentoo-vdr-scripts/trunk/ChangeLog
7 gentoo-vdr-scripts/trunk/etc/conf.d/vdr
8 gentoo-vdr-scripts/trunk/usr/share/vdr/rcscript/pre-start-10-chuid.sh
9 Log:
10 Add config-setting to disable usage of the vdr -u option.
11
12 Modified: gentoo-vdr-scripts/trunk/ChangeLog
13 ===================================================================
14 --- gentoo-vdr-scripts/trunk/ChangeLog 2008-06-29 16:26:45 UTC (rev 620)
15 +++ gentoo-vdr-scripts/trunk/ChangeLog 2008-07-03 21:07:36 UTC (rev 621)
16 @@ -1,6 +1,10 @@
17 # ChangeLog for gentoo-vdr-scripts
18 # $Id$
19
20 + 03 Jul 2008; Matthias Schwarzott <zzam@g.o>
21 + usr/share/vdr/rcscript/pre-start-10-chuid.sh, etc/conf.d/vdr:
22 + Add config-setting to disable usage of the vdr -u option.
23 +
24 29 Jun 2008; Matthias Schwarzott <zzam@g.o>
25 etc/conf.d/vdr.shutdown, usr/share/vdr/bin/vdrshutdown-gate.sh,
26 usr/share/vdr/bin/vdrshutdown-really.sh:
27
28 Modified: gentoo-vdr-scripts/trunk/etc/conf.d/vdr
29 ===================================================================
30 --- gentoo-vdr-scripts/trunk/etc/conf.d/vdr 2008-06-29 16:26:45 UTC (rev 620)
31 +++ gentoo-vdr-scripts/trunk/etc/conf.d/vdr 2008-07-03 21:07:36 UTC (rev 621)
32 @@ -196,6 +196,13 @@
33 # default: yes
34 #FORCE_OLD_THREADS="yes"
35
36 +# do not use vdr -u option to set user
37 +# and use start-stop-daemon --chuid option
38 +# This makes vdr behave easier with core-dumps
39 +# allowed values: yes no
40 +# default: no
41 +#FORCE_SETUID_OFF="yes"
42 +
43 # for people who really know what they do
44 # and who want to start vdr as user root
45 # allowed values: YES no
46
47 Modified: gentoo-vdr-scripts/trunk/usr/share/vdr/rcscript/pre-start-10-chuid.sh
48 ===================================================================
49 --- gentoo-vdr-scripts/trunk/usr/share/vdr/rcscript/pre-start-10-chuid.sh 2008-06-29 16:26:45 UTC (rev 620)
50 +++ gentoo-vdr-scripts/trunk/usr/share/vdr/rcscript/pre-start-10-chuid.sh 2008-07-03 21:07:36 UTC (rev 621)
51 @@ -1,7 +1,7 @@
52 # $Id$
53 addon_main() {
54 if [ "${START_VDR_AS_ROOT}" != "YES" ]; then
55 - if [ -n "${CAP_CHUID}" ]; then
56 + if [ -n "${CAP_CHUID}" -a "${FORCE_SETUID_OFF:-no}" = "no" ]; then
57 add_param "-u" "vdr"
58 else
59 add_daemonctrl_param --chuid vdr
60
61 --
62 gentoo-commits@l.g.o mailing list