[Pkg-gridengine-devel] Bug#820874: gridengine-master: doesn't use invoke-rc.d

Afif Elghraoui afif at debian.org
Mon May 23 04:44:43 UTC 2016


Hi, Andreas,

على الأربعاء 13 نيسـان 2016 ‫03:11، كتب Andreas Beckmann:
> Package: gridengine-master
> Version: 8.1.8+dfsg-5
> Severity: serious
> User: debian-qa at lists.debian.org
> Usertags: piuparts
> 
> Hi,
> 
> during a test with piuparts I noticed your package starts processes
> where it shouldn't. This is very probably due to not using invoke-rc.d
> as mandated by policy 9.3.3.2. This is seriously disturbing! ;-)
> 
> See https://www.debian.org/doc/debian-policy/ch-opersys.html#s9.3.3
> and /usr/share/doc/sysv-rc/README.invoke-rc.d.gz as well
> as /usr/share/doc/sysv-rc/README.policy-rc.d.gz
> 
>>From the attached log (scroll to the bottom...):
> 
> 0m56.1s ERROR: FAIL: Processes are running inside chroot:
>   COMMAND    PID     USER   FD   TYPE DEVICE SIZE/OFF       NODE NAME
>   sge_qmast 7083      151  rtd    DIR   0,21      460 3014698734 /tmp/piupartss/tmp2IrjI6
>   sge_qmast 7083      151  mem    REG   0,21  1832240 3014713729 /tmp/piupartss/tmp2IrjI6/usr/lib/x86_64-linux-gnu/libdb-5.3.so
>   sge_qmast 7083      151  mem    REG   0,21    84848 3014771244 /tmp/piupartss/tmp2IrjI6/lib/x86_64-linux-gnu/libresolv-2.22.so
>   sge_qmast 7083      151  mem    REG   0,21    22944 3014771220 /tmp/piupartss/tmp2IrjI6/lib/x86_64-linux-gnu/libnss_dns-2.22.so
>   sge_qmast 7083      151  mem    REG   0,21    47680 3014771235 /tmp/piupartss/tmp2IrjI6/lib/x86_64-linux-gnu/libnss_nis-2.22.so
>   sge_qmast 7083      151  mem    REG   0,21    89064 3014771209 /tmp/piupartss/tmp2IrjI6/lib/x86_64-linux-gnu/libnsl-2.22.so
>   sge_qmast 7083      151  mem    REG   0,21    31616 3014771219 /tmp/piupartss/tmp2IrjI6/lib/x86_64-linux-gnu/libnss_compat-2.22.so
>   sge_qmast 7083      151  mem    REG   0,21    47624 3014771229 /tmp/piupartss/tmp2IrjI6/lib/x86_64-linux-gnu/libnss_files-2.22.so
>   sge_qmast 7083      151  mem    REG   0,21  1709784 3014768436 /tmp/piupartss/tmp2IrjI6/lib/x86_64-linux-gnu/libc-2.22.so
>   sge_qmast 7083      151  mem    REG   0,21   135968 3014768352 /tmp/piupartss/tmp2IrjI6/lib/x86_64-linux-gnu/libpthread-2.22.so
>   sge_qmast 7083      151  mem    REG   0,21  1038784 3014770967 /tmp/piupartss/tmp2IrjI6/lib/x86_64-linux-gnu/libm-2.22.so
>   sge_qmast 7083      151  mem    REG   0,21    14640 3014770966 /tmp/piupartss/tmp2IrjI6/lib/x86_64-linux-gnu/libdl-2.22.so
>   sge_qmast 7083      151  mem    REG   0,21   145096 3014768380 /tmp/piupartss/tmp2IrjI6/lib/x86_64-linux-gnu/ld-2.22.so
>   sge_qmast 7083      151    0r   CHR    1,3      0t0 3014712886 /tmp/piupartss/tmp2IrjI6/dev/null
>   sge_qmast 7083      151    1w   CHR    1,3      0t0 3014712886 /tmp/piupartss/tmp2IrjI6/dev/null
>   sge_qmast 7083      151    2w   CHR    1,3      0t0 3014712886 /tmp/piupartss/tmp2IrjI6/dev/null
> 
> 

I've made an attempt to resolve this bug (see
<http://anonscm.debian.org/cgit/pkg-gridengine/pkg-gridengine.git/commit/?h=topic/daemon-restart&id=bd86cc598828fb2f18e48d809420cf1217d1fbe7>),
however, piuparts still fails for me. Can you see what I'm doing wrong?
The log from the build at this snapshot is attached.

My goal is to stop the packages' daemons before an upgrade and to start
them again afterwards. Following section 7.6 of
<https://www.debian.org/doc/manuals/debian-faq/ch-pkg_basics.en.html>,
I've put the code in what I understood the proper places to be, and I
used invoke-rc.d as you said...

Many thanks and regards
Afif


-- 
Afif Elghraoui | عفيف الغراوي
http://afif.ghraoui.name
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gridengine_8.1.8+dfsg-6_amd64.build.gz
Type: application/gzip
Size: 111381 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gridengine-devel/attachments/20160522/5d11027e/attachment-0001.bin>


More information about the Pkg-gridengine-devel mailing list