Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26413 - vcron doesn't close /dev/console
Summary: vcron doesn't close /dev/console
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Chris PeBenito (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-11 10:02 UTC by roma1390
Modified: 2004-03-29 20:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description roma1390 2003-08-11 10:02:22 UTC
Acording: /usr/src/linux/Documentation/SAK.txt
deamon must close /dev/console,
but vron leaves it in open state
btw please resubmit this bug to vcron developers

Reproducible: Always
Steps to Reproduce:
/etc/init.d/vcron start
lsof | grep /dev/console
Actual Results:  
# lsof | grep /dev/console
cron        923    root    0u   CHR        5,1                  16 /dev/console
cron        923    root    1u   CHR        5,1                  16 /dev/console
cron        923    root    2u   CHR        5,1                  16 /dev/console
#

Expected Results:  
# lsof | grep /dev/console
#
Comment 1 Chris PeBenito (RETIRED) gentoo-dev 2003-10-16 20:43:17 UTC
Fix committed as vcron-3.0.1-r2, please test.
Comment 2 Chris PeBenito (RETIRED) gentoo-dev 2003-10-21 07:42:48 UTC
closing
Comment 3 roma1390 2003-12-14 13:56:52 UTC
## wtf is name change?
# emerge vixie-cron
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/vixie-cron-3.0.1-r3 to /
....
 * Please run:
 * rc-update del vcron
 * rc-update add vixie-cron
.....
# rc-update del vcron
 * vcron removed from the following runlevels: default
 * Caching service dependencies...
 *  Service 'vcron' already provide 'cron'!;
 *  Not adding service 'vixie-cron'...
 *  Can't find service 'ypbind' needed by 'autofs';  continuing...        [ ok ]
 * rc-update complete.
uzupio root # rc-update del vcron
 * vcron not found in any of the specified runlevels.
uzupio root # rc-update add vixie-cron
 * /sbin/rc-update: at least two arguments expected after "add".
uzupio root # rc-update add vixie-cron default
 * vixie-cron added to runlevel default
 * Caching service dependencies...
 *  Service 'vcron' already provide 'cron'!;
 *  Not adding service 'vixie-cron'...
 *  Can't find service 'ypbind' needed by 'autofs';  continuing...        [ ok ]
 * rc-update complete.
# lsof | grep cron | grep dev
cron      10764    root    0u   CHR        1,3                  8 /dev/null
cron      10764    root    1u   CHR        1,3                  8 /dev/null
cron      10764    root    2u   CHR        1,3                  8 /dev/null


1. wrong instruction in info:
is:
* rc-update add vixie-cron
need:
* rc-update add vixie-cron default

2. name drift from vcron to <some-strange-name>

3.  strange unclear warnings:
 *  Service 'vcron' already provide 'cron'!;
 *  Not adding service 'vixie-cron'...
Comment 4 roma1390 2004-03-29 20:53:33 UTC
All with /dev/consloe is ok guys. Thanks