Package: xrdp
Version: 0.4.1~dfsg-1
Severity: normal
Tags: patch

Symptoms:
--------
Trying to upgrade xrdp:
| Setting up xrdp (0.4.1~dfsg-1) ...
| Installing new version of config file /etc/xrdp/startwm.sh ...
| /bin/chown: cannot access `/var/run/xrdp': No such file or directory
| dpkg: error processing xrdp (--configure):
|  subprocess installed post-installation script returned error exit status 1

Workaround:
----------
# mkdir -p /var/run/xrdp

Root cause:
----------
/var/lib/dpkg/info/xrdp.postinst assumes /var/run/xrdp exists
in all cases.  This seems to be overly optimistic.  A mkdir -p
should fix it:


diff -Nur xrdp-0.4.1~dfsg.old/debian/postinst xrdp-0.4.1~dfsg/debian/postinst
--- xrdp-0.4.1~dfsg.old/debian/postinst 2009-09-27 12:14:52.000000000 +0200
+++ xrdp-0.4.1~dfsg/debian/postinst     2009-09-27 12:20:08.000000000 +0200
@@ -15,6 +15,7 @@
 $CHOWN -R $XRDP:$XRDP /etc/xrdp
 touch /var/log/sesman.log
 $CHOWN -R $XRDP:$XRDP /var/log/sesman.log
+mkdir -p /var/run/xrdp
 $CHOWN -R $XRDP:$XRDP /var/run/xrdp

 if [ "$1" = "configure" ]; then



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

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xrdp depends on:
ii  adduser                       3.111      add and remove users and groups
ii  libc6                         2.9-26     GNU C Library: Shared libraries
ii  libpam0g                      1.1.0-4    Pluggable Authentication Modules l
ii  libssl0.9.8                   0.9.8k-5   SSL shared libraries

Versions of packages xrdp recommends:
ii  vnc4server [vnc-server]  4.1.1+X4.3.0-32 Virtual network computing server s

xrdp suggests no packages.

-- no debconf information



-- 
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