Public bug reported:
initially sent to the ubuntu-users mailing list when reported by the user using
reportbug
--------- Forwarded message ----------
From: Adrian Kubala <[EMAIL PROTECTED]>
To: Ubuntu Bug Tracking System <[EMAIL PROTECTED]>
Date: Sat, 24 Jun 2006 08:46:40 -0500
Subject: ivman: does not start per-session
Package: ivman
Version: 0.6.10-0ubuntu1
Severity: important
Tags: patch
Although README.Debian claims that "We run it as a user daemon", it does
not start automatically for me and there are no instructions for how to
make it do so. I ended up creating the two included files to add ivman
to the regular xsession startup.
I don't understand the rationale for not also providing ivman as a
system service as recommended by the ivman author, but it would still be
helpful to provide /etc/init.d/ivman even if it is not enabled by
default.
*** /usr/local/bin/ivman-xsession
#!/bin/bash
if [ $# -eq 0 ]; then
echo "Usage: $0 <command>" >&2
echo " Runs ivman as a daemon until <command> finishes."
exit 1
fi
ivman --nofork &
PID=$!
echo "ivman started ($PID)"
trap "kill $PID && echo 'ivman killed'" ALRM HUP INT PIPE PROF TERM USR1
USR2 VTALRM ABRT EXIT
eval "$@"
*** /etc/X11/Xsession.d/60sma_ivman-launch
# $Id:$
# In order to activate the session ivman at X session launch
# simply place use-session-ivman into your /etc/X11/Xsession.options file
#
STARTIVMAN=
IVMANLAUNCH=/usr/local/bin/ivman-xsession
if grep -qs ^use-session-ivman "$OPTIONFILE"; then
if [ -x "$IVMANLAUNCH" ]; then
STARTIVMAN=yes
fi
fi
if [ -n "$STARTIVMAN" ]; then
STARTUP="$IVMANLAUNCH $STARTUP"
fi
-- System Information:
Debian Release: testing/unstable
APT prefers dapper-updates
APT policy: (500, 'dapper-updates'), (500, 'dapper-security'), (500,
'dapper-backports'), (500, 'dapper')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-25-386
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages ivman depends on:
ii hal 0.5.7-1ubuntu18 Hardware Abstraction Layer
ii libc6 2.3.6-0ubuntu20 GNU C Library: Shared libraries an
ii libdbus-1-2 0.60-6ubuntu8 simple interprocess messaging syst
ii libdbus-glib-1-2 0.60-6ubuntu8 simple interprocess messaging syst
ii libglib2.0-0 2.10.3-0ubuntu1 The GLib library of C routines
ii libhal1 0.5.7-1ubuntu18 Hardware Abstraction Layer - share
ii libxml2 2.6.24.dfsg-1ubuntu1 GNOME XML library
ii pmount 0.9.11-1 mount removable devices as normal
ii zlib1g 1:1.2.3-6ubuntu4 compression library - runtime
ivman recommends no packages.
-- no debconf information
** Affects: ivman (Ubuntu)
Importance: Untriaged
Status: Unconfirmed
--
does not start per-session
https://launchpad.net/bugs/51926
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs