Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150569 - app-admin/webmin-1.290 cron module doesn't show fcron tasks
Summary: app-admin/webmin-1.290 cron module doesn't show fcron tasks
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2006-10-09 06:45 UTC by David Girault
Modified: 2007-11-16 13:53 UTC (History)
1 user (show)

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


Attachments
patch to detect fcron correctly (webmin_cron-lib.pl.patch,727 bytes, patch)
2006-10-09 06:46 UTC, David Girault
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Girault 2006-10-09 06:45:00 UTC
Hi all,

I need to patch the Webmin cron module to allow it to display my fcron jobs.

By default, webmin cron module detect that system cron daemon is fcron only if the   cron_dir config variable end with fcron. In gentoo, fcron files are stored in "/var/spool/cron/fcrontabs". So fcron detection dosn't work in cron-lib.pl.

Look at attached patch for solution.

Regards,
David

PS: my "emerge -s fcron webmin" and "emerge --info" output.

serveur ~ # emerge -s fcron webmin
Searching...
[ Results for search key : fcron ]
[ Applications found : 1 ]

*  sys-process/fcron
      Latest version available: 3.0.1-r2
      Latest version installed: 3.0.1-r2
      Size of files: 524 kB
      Homepage:      http://fcron.free.fr/
      Description:   A command scheduler with extended capabilities over cron and anacron
      License:       GPL-2


Searching...
[ Results for search key : webmin ]
[ Applications found : 1 ]

*  app-admin/webmin
      Latest version available: 1.290
      Latest version installed: 1.290
      Size of files: 11,723 kB
      Homepage:      http://www.webmin.com/
      Description:   Webmin, a web-based system administration interface
      License:       BSD

serveur ~ # emerge --info
Portage 2.1.2_pre2-r6 (default-linux/x86/2006.1/desktop, gcc-3.4.6, glibc-2.4-r4, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.12.5
Last Sync: Mon, 09 Oct 2006 03:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo ftp://ftp.easynet.nl/mirror/gentoo http://gentoo.mirror.sdv.fr http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="fr_FR.UTF-8"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl acpi alsa apache2 berkdb bitmap-fonts bzip2 cairo cdr cli crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode esd expat fam fbcon firefox gdbm gif gnome gpm gstreamer gtk hal input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_summa input_devices_void ipv6 isdnlog jabber jpeg kernel_linux libg++ mad maildir mikmod mmx mmxext mp3 mpeg mysql ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection samba session spell spl sse sse2 ssl tcpd threads truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fbdev video_cards_mga video_cards_nv video_cards_vesa vorbis win32codecs xml xml2 xorg xprint xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 David Girault 2006-10-09 06:46:13 UTC
Created attachment 99194 [details, diff]
patch to detect fcron correctly
Comment 2 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2006-12-06 06:53:54 UTC
*Yoink*
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-11-16 13:53:12 UTC
Well, this patch pertains to an extremely obsolete removed version. If you have issues w/ 1.370-r1 then attach a new patch for that one.