First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 110324
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Benjamin Smee (strerror) (RETIRED) <strerror@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Scott Stoddard (RETIRED) <deltacow@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
denyhosts.patch Patch for the initscript. patch Scott Stoddard (RETIRED) 2005-10-24 07:38 0000 331 bytes Details | Diff
denyhosts.env.output Output from adding an 'env' to the initscript text/plain RiverRat 2005-11-10 16:09 0000 4.01 KB Details
env output of adding "env" to initscript text/plain Patrick McLean 2005-11-10 16:11 0000 443 bytes Details
denyhosts.init.patch updated patch for initscript that works with newer baselayout patch Patrick McLean 2005-11-10 17:52 0000 479 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 110324 depends on: Show dependency tree
Show dependency graph
Bug 110324 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-10-24 07:36 0000
Please keyword denyhosts-1.1.2 with ~amd64 as it has been running stably for 30
days on my system.

A change to the initscript is necessary before keywording.  Patch attached.  The
problem is with the start-stop-daemon and I can't track it down, but it works
without the use of it.

emerge --info:

Portage 2.0.53_rc6 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre9
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts browserplugin cdr crypt cups dbus dvd
dvdread eds emboss encode esd fam firefox foomaticdb fortran gif gnome gpm
gstreamer gtk gtk2 hal icq imagemagick imlib ipv6 jabber java jpeg live lzw
lzw-tiff mad mjpeg mng mozilla mp3 mpeg msn native ncurses network nls
no-old-linux noantlr nobcel nobeanutils nobsh nptl nptlonly offensive ogg
oggvorbis opengl pam pdflib perl png python qt quicktime radeon readline real
rtc sdk sdl spell ssl svg tcpd theora tiff transcode truetype truetype-fonts
type1-fonts udev usb userlocales v4l v4l2 vorbis wmf xine xml2 xpm xv xvid xvmc
yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

------- Comment #1 From Scott Stoddard (RETIRED) 2005-10-24 07:38:17 0000 -------
Created an attachment (id=71331) [edit]
Patch for the initscript.

------- Comment #2 From Scott Stoddard (RETIRED) 2005-10-24 07:41:25 0000 -------
(In reply to comment #1)
> Created an attachment (id=71331) [edit]
> Patch for the initscript.
> 

I should add some more info here.

With the unmodified init script denyhosts will start and then stop again
immediately providing no additional info as to why in the logfile.

If I issue the start-stop-daemon command from the shell directly, this does not
happen and denyhosts starts as it should.

------- Comment #3 From Luis Medinas (RETIRED) 2005-11-10 10:54:40 0000 -------
damn jeeves fault.. reassign to the real maintainer

------- Comment #4 From Benjamin Smee (strerror) (RETIRED) 2005-11-10 13:59:13 0000 -------
I am not going to make that change to the initscript as I can see no reason why
the current one shouldn't work for everyone. Can anyone else confirm that this
is a generic amd64 issue and not something specific to the reporters setup?

------- Comment #5 From RiverRat 2005-11-10 15:00:02 0000 -------
I haven't thouroughly tested it but I managed to emerge, install, and run it on
AMD64 w/o the script modification.  Just a bit of keyword tweaking.  :)

In response to comment #2 I let it run for about 10 minutes, did a remote login
and exited and it was still running.  I stopped it and restarted it a few times
but could not reproduce the failure.  I don't know why Scott's machine wasn't
cooperating with him.  :(

------- Comment #6 From Patrick McLean 2005-11-10 15:52:13 0000 -------
It doesn't work for me either, here's my emerge --info output:

Portage 2.0.53_rc7 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.12.0_pre10
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib alsa audiofile avi bash-completion berkdb
bitmap-fonts bmp bzip2 c++ caps cdparanoia cdr crypt css cups curl dbus doc dri
dts dv dvd dvdr dvdread dvi edl eds emboss encode esd ethereal evo exif expat
fam fat ffmpeg fftw flac foomaticdb fortran gb gcj gdbm gif gimp gimpprint glitz
glut gmail gmp gnome gnutls gpm gstreamer gtk gtk2 gzip hal hfs howl idea idn
imagemagick imap imlib imlib2 jabber java jfs jpeg junit lcms libcaca libgda
libwww linuxkeys live lzo lzw lzw-tiff mad matroska mikmod mmap mng mod
mozdevelop mozilla mp3 mpeg mplayer msn mythtv native nautilus ncurses network
nfs nls no-old-linux no_wxgtk1 noantlr nob nobcel nobeanutils nobsh
nocommonslogging nocommonsnet nojsch nolog4j nomotif noplugin norhino noxalan
noxerces nptl nptlonly offensive ogg oggvorbis openal opengl pam pcre pda pdflib
perl plugin png python quicktime radeon readline real reiserfs rtc samba sdl
slang sndfile speex spell ssl stream subversion svg tcltk tcpd tetex tga theora
tiff transcode truetype truetype-fonts type1-fonts udev unicode usb userlocales
v4l v4l2 vcd vorbis wmf wxwindows xanim xine xml2 xpm xprint xscreensaver xv
xvid xvmc zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS

------- Comment #7 From RiverRat 2005-11-10 16:09:16 0000 -------
Created an attachment (id=72609) [edit]
Output from adding an 'env' to the initscript

------- Comment #8 From Patrick McLean 2005-11-10 16:11:25 0000 -------
Created an attachment (id=72610) [edit]
output of adding "env" to initscript

Here's the output of adding the "env" for me... Scott has pretty much the same
as I have.

------- Comment #9 From Patrick McLean 2005-11-10 16:58:41 0000 -------
Seems like this might be a baselayout issue, both me and Scott are running
sys-apps/baselayout-1.12.0_pre10-r1. RiverRat and a few other amd64 machines I
tested on are running 1.11.13-r1.

------- Comment #10 From Patrick McLean 2005-11-10 17:52:18 0000 -------
Created an attachment (id=72617) [edit]
updated patch for initscript that works with newer baselayout

This updated patch for the initscript continues to use start-stop-daemon and
works with the new baselayout. Needs testing on older baselayout releases.

------- Comment #11 From RiverRat 2005-11-10 18:23:43 0000 -------
Works for me w/ sys-apps/baselayout-1.11.13-r1.  Thanks.  (I just started and
stopped the daemon.  No thorough testing.)

------- Comment #12 From Benjamin Smee (strerror) (RETIRED) 2005-11-11 02:25:30 0000 -------
The problem is that the script itself calls env python, rather then just
/usr/bin/python so while its fine for the running of the script (and
consequently why the attached patch to the init script with the startas works)
its not good for an initscript. I have elected to change the script itself and
have commited the changes to cvs. Thanks for everyones help

First Last Prev Next    No search results available      Search page      Enter new bug