Bug#306990: lvm2: Strange error when attempting to install

2006-04-11 Thread Steve Langasek
Hi Arthur,

It seems this bug still exists in devfsd package.  Given that the only
kernel planned as part of the etch release is 2.6.16+ which has no support
for devfs, perhaps it's time to request removal of devfsd from etch/sid?

Thanks,
-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/


signature.asc
Description: Digital signature


Bug#306990: lvm2: Strange error when attempting to install

2005-10-12 Thread Petter Reinholdtsen

severity 306990 grave
found 306990 1.3.25-23
thanks

I see this problem with the current unstable/sid packages.  To
reproduce it, install ltsp-server and run this command:

  ltsp-build-client --dist sid --mirror http://ftp.skolelinux.no/debian

After a while, this error occures:

  [...]
  Setting up lvm-common (1.5.20) ...
  invoke-rc.d: unknown initscript, /etc/init.d/devfsd not found.
  dpkg: error processing lvm-common (--configure):
   subprocess post-installation script returned error exit status 100
  dpkg: dependency problems prevent configuration of lvm2:
   lvm2 depends on lvm-common ( 1.5.8); however:
Package lvm-common is not configured yet.
  dpkg: error processing lvm2 (--configure):
   dependency problems - leaving unconfigured
  Setting up libgdbm3 (1.8.3-2) ...
  Setting up whiptail (0.51.6-31) ...
  Setting up cpp-4.0 (4.0.2-2) ...
  Setting up cpp (4.0.2-1) ...
  Setting up libmagic1 (4.12-1) ...
  
  Setting up file (4.12-1) ...
  Setting up libkrb53 (1.3.6-5) ...
  
  Setting up libedit2 (2.9.cvs.20050518-2.2) ...
  
  Setting up openssh-client (4.2p1-5) ...
  
  Setting up cramfsprogs (1.1-6) ...
  Setting up devfsd (1.3.25-23) ...
  devfsd: No devfs on /dev, not starting.
  devfsd: No devfs on /dev, not starting.
  [...]

As this bug blocks the installation of another package (lvm-common), I
raise the severity to grave.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#306990: lvm2: Strange error when attempting to install

2005-05-14 Thread Steve Langasek
tags 306990 patch
thanks

Hi folks,

How does this patch look?

Thanks,
-- 
Steve Langasek
postmodern programmer
diff -u devfsd-1.3.25/debian/changelog devfsd-1.3.25/debian/changelog
--- devfsd-1.3.25/debian/changelog
+++ devfsd-1.3.25/debian/changelog
@@ -1,3 +1,12 @@
+devfsd (1.3.25-22.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * High-urgency upload for sarge-targetted RC bugfix
+  * Make sure update-devfsd fails if called when the package is
+obviously not yet configured.  Closes: #306990.
+
+ -- Steve Langasek [EMAIL PROTECTED]  Sat, 14 May 2005 03:17:41 -0700
+
 devfsd (1.3.25-22) unstable; urgency=low
 
   * templates localisations:
diff -u devfsd-1.3.25/debian/update-devfsd devfsd-1.3.25/debian/update-devfsd
--- devfsd-1.3.25/debian/update-devfsd
+++ devfsd-1.3.25/debian/update-devfsd
@@ -17,6 +17,11 @@
 fi
 }
 
+# if the directory doesn't exist, the package is probably not yet
+# configured; exit gracefully so packages calling this script 
+# opportunistically don't fail.
+[ -d /etc/devfs/symlinks.d ] || exit 0
+
 findfiles /etc/devfs/symlinks.d /etc/devfs/symlinks /etc/devfs/symlinks.list
 findfiles /etc/devfs/devices.d /etc/devfs/devices /etc/devfs/devices.list
 


signature.asc
Description: Digital signature


Bug#306990: lvm2: Strange error when attempting to install

2005-05-14 Thread Arthur Korn
John Goerzen schrieb:
 Well, like I said, devfs was unpacked but not configured.  Init
 scripts are conffiles, and so they aren't created until the
 configuration stage.

They are unpacked just as every other file, except that the
backup file is kept.

-- 
Secure email, spread GPG, clearsign all mail. http://www.gnupg.org
.
if (argc  1  strcmp(argv[1], -advice) == 0) {
  printf(Don't Panic!\n); exit(42);
}
 -- Arnold Robbins in the LJ of February '95, describing RCS


signature.asc
Description: Digital signature


Bug#306990: lvm2: Strange error when attempting to install

2005-05-14 Thread Arthur Korn
Hi

Steve Langasek schrieb:
 How does this patch look?

Ahrg, I just notice I introduced a similar check (in the
findfiles function though) in my local version but forgot to
update the changelog or upload it. This is in 1.3.25-23 now.

Fixing this there remains the problem of invoke-rc.d failing.
I'm still confident that conffiles are actually unpacked with
everything else on first installation of the package. But since
it does not really matter wheter devfsd is restarted if it isn't
already running, I'll ignore errors of invoke-rc.d in
update-devfsd. This is in 1.3.25-23 too. Notice that any config
files added by maintainers of other packages to devfsd and
committed with update-devfsd are no more garanteed to take
effect immediately unless update-devfsd -f is used. (which in
turn still fails if devfsd can't be restarted for some reason).

regards, 2ri
-- 
Secure email, spread GPG, clearsign all mail. http://www.gnupg.org
.
Tomorrow will be canceled due to lack of interest.


signature.asc
Description: Digital signature


Bug#306990: lvm2: Strange error when attempting to install

2005-05-14 Thread Steve Langasek
On Sat, May 14, 2005 at 02:10:44PM +0200, Arthur Korn wrote:
 Steve Langasek schrieb:
  How does this patch look?

 Ahrg, I just notice I introduced a similar check (in the
 findfiles function though) in my local version but forgot to
 update the changelog or upload it. This is in 1.3.25-23 now.

 Fixing this there remains the problem of invoke-rc.d failing.
 I'm still confident that conffiles are actually unpacked with
 everything else on first installation of the package. But since
 it does not really matter wheter devfsd is restarted if it isn't
 already running, I'll ignore errors of invoke-rc.d in
 update-devfsd. This is in 1.3.25-23 too. Notice that any config
 files added by maintainers of other packages to devfsd and
 committed with update-devfsd are no more garanteed to take
 effect immediately unless update-devfsd -f is used. (which in
 turn still fails if devfsd can't be restarted for some reason).

Ok.  I reasoned that my fix had the least number of side-effects, because it
didn't make any sense at all to restart devfsd while the package was in an
unconfigured state.  If you think that a missing symlinks.d directory isn't
a good indicator of the package being unconfigured, then that's fine too.

Cheers,
-- 
Steve Langasek
postmodern programmer


signature.asc
Description: Digital signature


Bug#306990: lvm2: Strange error when attempting to install

2005-04-30 Thread Arthur Korn
John Goerzen schrieb:
 On Sat, Apr 30, 2005 at 12:19:46AM +0200, Bastian Blank wrote:

   find: /etc/devfs/symlinks.d: No such file or directory
   invoke-rc.d: unknown initscript, /etc/init.d/devfsd not found.
  
  The lvm-common postinstallation script does not contain this commands
  but calls /usr/sbin/update-devfsd. This script does call find and
  invoke-rc.d with devfsd which fails on your machine.
 
 Well, then you must depend on that.  In fact, devfsd was being
 installed in the same apt-get run, but hadn't yet been configured.  So
 it existed on the system but wasn't setup.
 
 You must either depend on it or not require it.

So then what am I supposed to do about this in devfsd when it's
a missing dependency in lvm-common?

ciao, 2ri
-- 
Secure email, spread GPG, clearsign all mail. http://www.gnupg.org
.
Q: How does a Unix guru have sex?
A: gunzip  strip  touch  finger  mount  fsck  \
   more  yes  fsck  fsck  fsck  umount  sleep


signature.asc
Description: Digital signature


Bug#306990: lvm2: Strange error when attempting to install

2005-04-30 Thread Arthur Korn
lvm-common does not depend on devfsd and it should not. John,
can you tell me which version of devfsd you exactly installed
when you had that problem. I seems you had the update-devfsd
script on your system but _not_ devfsd's init script, but I
can't think of a way this could happen.

ciao, 2ri
-- 
Secure email, spread GPG, clearsign all mail. http://www.gnupg.org
.
They are really completely different things, so don't mix them up, 
but they have a close relation to each other.
 -- http://hurddocs.org/whatis/translator.html



signature.asc
Description: Digital signature


Bug#306990: lvm2: Strange error when attempting to install

2005-04-30 Thread John Goerzen
On Sat, Apr 30, 2005 at 07:54:10PM +0200, Arthur Korn wrote:
 lvm-common does not depend on devfsd and it should not. John,
 can you tell me which version of devfsd you exactly installed
 when you had that problem. I seems you had the update-devfsd
 script on your system but _not_ devfsd's init script, but I
 can't think of a way this could happen.

Well, like I said, devfs was unpacked but not configured.  Init
scripts are conffiles, and so they aren't created until the
configuration stage.  If you don't depend on devfsd, then you mustn't
use the files that are created by its configure phase, since the
system will not guarantee that it is configured before running your
postinst.

The version was 1.3.25-19, as in testing.

-- John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#306990: lvm2: Strange error when attempting to install

2005-04-29 Thread John Goerzen
Package: lvm2
Version: 2.01.04-5
Severity: serious
Justification: fails to install

Setting up lvm-common (1.5.17) ...
find: /etc/devfs/symlinks.d: No such file or directory
invoke-rc.d: unknown initscript, /etc/init.d/devfsd not found.
dpkg: error processing lvm-common (--configure):
 subprocess post-installation script returned error exit status 100
dpkg: dependency problems prevent configuration of lvm2:
 lvm2 depends on lvm-common ( 1.5.8); however:
  Package lvm-common is not configured yet.
dpkg: error processing lvm2 (--configure):
 dependency problems - leaving unconfigured


-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.11
Locale: LANG=C, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages lvm2 depends on:
ii  debconf 1.4.48   Debian configuration management sy
ii  libc6   2.3.2.ds1-21 GNU C Library: Shared libraries an
ii  libdevmapper1.012:1.01.00-4  The Linux Kernel Device Mapper use
ii  lvm-common  1.5.17   The Logical Volume Manager for Lin

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#306990: lvm2: Strange error when attempting to install

2005-04-29 Thread Bastian Blank
reassign 306990 lvm-common
severity 306990 important
tags 306990 moreinfo unreproducible
thanks

On Fri, Apr 29, 2005 at 04:33:03PM -0500, John Goerzen wrote:
 Setting up lvm-common (1.5.17) ...
 find: /etc/devfs/symlinks.d: No such file or directory
 invoke-rc.d: unknown initscript, /etc/init.d/devfsd not found.
 dpkg: error processing lvm-common (--configure):
  subprocess post-installation script returned error exit status 100

1. lvm-common fails to install.

 dpkg: dependency problems prevent configuration of lvm2:
  lvm2 depends on lvm-common ( 1.5.8); however:
   Package lvm-common is not configured yet.
 dpkg: error processing lvm2 (--configure):
  dependency problems - leaving unconfigured

2. lvm2 depends on lvm-common.

 Debian Release: 3.1
 Architecture: amd64 (x86_64)

3. amd64 is no Debian architecture.

So now the problem:

 find: /etc/devfs/symlinks.d: No such file or directory
 invoke-rc.d: unknown initscript, /etc/init.d/devfsd not found.

The lvm-common postinstallation script does not contain this commands
but calls /usr/sbin/update-devfsd. This script does call find and
invoke-rc.d with devfsd which fails on your machine.

Bastian

-- 
Those who hate and fight must stop themselves -- otherwise it is not stopped.
-- Spock, Day of the Dove, stardate unknown


signature.asc
Description: Digital signature


Bug#306990: lvm2: Strange error when attempting to install

2005-04-29 Thread Andres Salomon
reassign 306990 devfsd
tags 306990 - unreproducible moreinfo
thanks


On Sat, 2005-04-30 at 00:19 +0200, Bastian Blank wrote:
 reassign 306990 lvm-common
 severity 306990 important
 tags 306990 moreinfo unreproducible
 thanks
[...]
 
 So now the problem:
 
  find: /etc/devfs/symlinks.d: No such file or directory
  invoke-rc.d: unknown initscript, /etc/init.d/devfsd not found.
 
 The lvm-common postinstallation script does not contain this commands
 but calls /usr/sbin/update-devfsd. This script does call find and
 invoke-rc.d with devfsd which fails on your machine.

I can reproduce the first error msg by simply installing devfsd on a
sarge system.  This is definitely a devfsd problem.  If update-devfsd is
no longer used or something, please clone the bug and assign to
lvm-common, and we'll remove the call.


-- 
Andres Salomon [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Bug#306990: lvm2: Strange error when attempting to install

2005-04-29 Thread John Goerzen
On Sat, Apr 30, 2005 at 12:19:46AM +0200, Bastian Blank wrote:
 2. lvm2 depends on lvm-common.
 
  Debian Release: 3.1
  Architecture: amd64 (x86_64)
 
 3. amd64 is no Debian architecture.

The problem actually occured on i386; I was just running reportbug in
amd64.

 
 So now the problem:
 
  find: /etc/devfs/symlinks.d: No such file or directory
  invoke-rc.d: unknown initscript, /etc/init.d/devfsd not found.
 
 The lvm-common postinstallation script does not contain this commands
 but calls /usr/sbin/update-devfsd. This script does call find and
 invoke-rc.d with devfsd which fails on your machine.

Well, then you must depend on that.  In fact, devfsd was being
installed in the same apt-get run, but hadn't yet been configured.  So
it existed on the system but wasn't setup.

You must either depend on it or not require it.


-- John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]