Package: halevt
Version: 0.1.6.2-1
Severity: important

Hi all,
after squeeze upgrade from 0.1.5xxx to 0.1.6xxx rules in my configuration files 
that match OnInit stage, are processes 2 times.
I use halevt in user mode (/etc/default/halevt: START_DAEMON=no). I launch it 
in openbox startup configuration file in this manner:

halevt -p $GV_HALEVT_PID
but i tried also
halevt -u halevt -g plugdev -p $GV_HALEVT_PID

I wrote this simple configuration file in ~/.halevt/prova.xml

    <halevt:Device match="hal.info.category = alsa &amp; hal.alsa.type = 
control">
        <halevt:OnInit exec="echo &quot; PID=$$ $hal.alsa.card$ 
$hal.alsa.card_id$ $hal.info.udi$ $hal.alsa.device_file$&quot; >> $HOME/prova"/>
    </halevt:Device>

    <halevt:Device match="hal.info.category = processor &amp; 
hal.processor.number = 0">
        <halevt:OnInit exec="echo &quot; PID=$$ $hal.processor.number$ 
$hal.info.udi$&quot; >> $HOME/prova"/>
    </halevt:Device>

    <halevt:Device match="hal.info.category = processor &amp; 
hal.processor.number = 1">
        <halevt:OnInit exec="echo &quot; PID=$$ $hal.processor.number$ 
$hal.info.udi$&quot; >> $HOME/prova"/>
    </halevt:Device>


and this is the results

cat /dev/null > $HOME/prova

startx
.....

cat $HOME/prova
 PID=3519 0 /org/freedesktop/Hal/devices/acpi_CPU0
 PID=3521 1 /org/freedesktop/Hal/devices/acpi_CPU1
 PID=3523 0 HDA NVidia 
/org/freedesktop/Hal/devices/pci_10de_ac0_sound_card_0_alsa_control__1 
/dev/snd/controlC0
 PID=3532 0 /org/freedesktop/Hal/devices/acpi_CPU0
 PID=3534 1 /org/freedesktop/Hal/devices/acpi_CPU1
 PID=3536 0 HDA NVidia 
/org/freedesktop/Hal/devices/pci_10de_ac0_sound_card_0_alsa_control__1 
/dev/snd/controlC0

ps x | grep halevt
    PID TTY          TIME CMD
    3528 ?        Ss     0:00 halevt -p halevtpidfile
    3620 pts/2    S+     0:00 grep halevt

cat halevtpidfile
    3528

I think halevt processes OnInit stage before fork() and after, child, does the 
same.

Greetings,
Gene Vatti


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages halevt depends on:
ii  adduser                   3.112          add and remove users and groups
ii  debconf [debconf-2.0]     1.5.35         Debian configuration management sy
ii  dpkg                      1.15.7.2       Debian package management system
ii  hal                       0.5.14-3       Hardware Abstraction Layer
ii  install-info              4.13a.dfsg.1-5 Manage installed documentation in 
ii  libboolstuff-0.1-0        0.1.12-3       library for operating on boolean e
ii  libc6                     2.11.2-2       Embedded GNU C Library: Shared lib
ii  libdbus-1-3               1.2.24-3       simple interprocess messaging syst
ii  libdbus-glib-1-2          0.86-1         simple interprocess messaging syst
ii  libglib2.0-0              2.24.1-1       The GLib library of C routines
ii  libhal1                   0.5.14-3       Hardware Abstraction Layer - share
ii  libxml2                   2.7.7.dfsg-4   GNOME XML library
ii  lsb-base                  3.2-23.1       Linux Standard Base 3.2 init scrip
ii  passwd                    1:4.1.4.2-1    change and administer password and

halevt recommends no packages.

halevt suggests no packages.

-- Configuration Files:
/etc/default/halevt changed:
START_DAEMON=no
HALEVT_USER=halevt
HALEVT_GROUP=plugdev


-- debconf information:
* halevt/users:



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

Reply via email to