Bug#476524: debian-installer: DI Manual Bug: the use of killall.sh as described kills itself - Debian

This is a discussion on Bug#476524: debian-installer: DI Manual Bug: the use of killall.sh as described kills itself - Debian ; Package: debian-installer Severity: normal >From the latest version of the Debian Installer Manual, B.4.2.: ------------------------------- killall.sh dhclient netcfg ------------------------------- If this code is used, killall.sh will return exit code 143 because it kills itself. killall.sh looks for DHCP client processes ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: Bug#476524: debian-installer: DI Manual Bug: the use of killall.sh as described kills itself

  1. Bug#476524: debian-installer: DI Manual Bug: the use of killall.sh as described kills itself

    Package: debian-installer
    Severity: normal


    >From the latest version of the Debian Installer Manual, B.4.2.:


    -------------------------------

    killall.sh dhclient
    netcfg

    -------------------------------

    If this code is used, killall.sh will return exit code 143 because it
    kills itself. killall.sh looks for DHCP client processes like
    dhclient. In this case it will find its own process as well, because
    "dhclient" is part of the killall.sh command. And so it kills itself in
    additions to the running DHCP clients.

    Although it might work in a script triggered by preseed/run anyhow,
    it is not desired behaviour. In addition to that using "killall.sh
    dhclient ; netcfg" as preseed/early_command makes the early_command
    fail by the exit code.

    Because the "dhclient" argument used with killall.sh is totally
    unnecessary - unused by the script - I would suggest replacing the line
    "killall.sh dhclient" in the manual by just "killall.sh".


    -- System Information:
    Debian Release: 3.1
    Architecture: i386 (i686)
    Kernel: Linux 2.6.8-4-686
    Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  2. Bug#476524: debian-installer: DI Manual Bug: the use of killall.sh as described kills itself

    reassign 476524 netcfg
    stop

    Op 17-04-2008 om 12:03 schreef Durk Strooisma:
    > Package: debian-installer
    >
    > killall.sh dhclient
    > netcfg
    >
    > If this code is used, killall.sh will return exit code 143 because it
    > kills itself.


    I think this is related to #472846:
    busybox: Regression in pidof: no longer lists 'debian-installer' processes

    The reassign to netcfg is to have the following workaround their,
    that is because I assume that bugreport submitter wants to rerun network
    configuration, for e.g. preseeding a static IP address.

    kill $( ps -ef | grep dhclien[t] | cut -d' ' -f 2)


    please confirm working,
    as I haven't verified working the d-i environment.


    Cheers
    Geert Stappers



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  3. Processed: Re: Bug#476524: debian-installer: DI Manual Bug: the use of killall.sh as described kills itself

    Processing commands for control@bugs.debian.org:

    > reassign 476524 netcfg

    Bug#476524: debian-installer: DI Manual Bug: the use of killall.sh as described kills itself
    Bug reassigned from package `debian-installer' to `netcfg'.

    > stop

    Stopping processing here.

    Please contact me if you need assistance.

    Debian bug tracking system administrator
    (administrator, Debian Bugs database)


    --
    To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  4. Bug#476524: marked as done (debian-installer: DI Manual Bug: the use of killall.sh as described kills itself)


    Your message dated Tue, 20 May 2008 21:02:30 +0000
    with message-id
    and subject line Bug#476524: fixed in installation-guide 20080520
    has caused the Debian Bug report #476524,
    regarding debian-installer: DI Manual Bug: the use of killall.sh as described kills itself
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system
    misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    476524: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476524
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems


+ Reply to Thread