[Bug 422699] [NEW] dchroot fails to recognize "location" key in config

Rabenschwinge schattenkeil at googlemail.com
Tue Sep 1 17:22:25 UTC 2009


Public bug reported:

Binary package hint: dchroot

dchroot fails to start, because it misses a configuration parameter,
even though the parameter is given:

$ LC_ALL=C dchroot -d
E: /etc/dchroot.conf: [[jaunty]] location: line 1 [[jaunty]]: Required key 'location' is missing

$ cat /etc/dchroot.conf 
[jaunty]
description=Jaunty (jaunty32)
location=/chroot
priority=1
groups=bjoern,root
root-groups=root
aliases=default,stable,ia32
personality=linux32
type=plain
run-exec-scripts=true
run-setup-scripts=true

$ ls -ld /chroot
drwxrwxr-x 20 bjoern bjoern 4096 2009-08-31 17:55 /chroot

$ ls -l /chroot/bin/bash
-rwxr-xr-x 1 root root 729040 2009-03-02 15:22 /chroot/bin/bash

$ sudo egrep "^bjoern" /chroot/etc/group /chroot/etc/passwd /chroot/etc/shadow
/chroot/etc/group:bjoern:x:1000:
/chroot/etc/passwd:bjoern:x:1000:1000:name,,,:/home/bjoern:/bin/bash
/chroot/etc/shadow:bjoern:password:14457:0:99999:7:::

$ whoami
bjoern

PS: Architecture is amd64 and dchroot version 1.2.1-1ubuntu2. The
package is out of Jaunty Jackalope.

** Affects: dchroot (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Binary package hint: dchroot
  
  dchroot fails to start, because it misses a configuration parameter,
  even though the parameter is given:
  
  $ LC_ALL=C dchroot -d
  E: /etc/dchroot.conf: [[jaunty]] location: line 1 [[jaunty]]: Required key 'location' is missing
  
  $ cat /etc/dchroot.conf 
  [jaunty]
  description=Jaunty (jaunty32)
  location=/chroot
  priority=1
  groups=bjoern,root
  root-groups=root
  aliases=default,stable,ia32
  personality=linux32
  type=plain
  run-exec-scripts=true
  run-setup-scripts=true
  
  $ ls -ld /chroot
  drwxrwxr-x 20 bjoern bjoern 4096 2009-08-31 17:55 /chroot
  
  $ ls -l /chroot/bin/bash
  -rwxr-xr-x 1 root root 729040 2009-03-02 15:22 /chroot/bin/bash
  
  $ sudo egrep "^bjoern" /chroot/etc/group /chroot/etc/passwd /chroot/etc/shadow
  /chroot/etc/group:bjoern:x:1000:
  /chroot/etc/passwd:bjoern:x:1000:1000:name,,,:/home/bjoern:/bin/bash
  /chroot/etc/shadow:bjoern:password:14457:0:99999:7:::
  
  $ whoami
  bjoern
+ 
+ PS: Architecture is amd63 and dchroot version 1.2.1-1ubuntu2. The
+ package is out of Jaunty Jackalope.

** Description changed:

  Binary package hint: dchroot
  
  dchroot fails to start, because it misses a configuration parameter,
  even though the parameter is given:
  
  $ LC_ALL=C dchroot -d
  E: /etc/dchroot.conf: [[jaunty]] location: line 1 [[jaunty]]: Required key 'location' is missing
  
  $ cat /etc/dchroot.conf 
  [jaunty]
  description=Jaunty (jaunty32)
  location=/chroot
  priority=1
  groups=bjoern,root
  root-groups=root
  aliases=default,stable,ia32
  personality=linux32
  type=plain
  run-exec-scripts=true
  run-setup-scripts=true
  
  $ ls -ld /chroot
  drwxrwxr-x 20 bjoern bjoern 4096 2009-08-31 17:55 /chroot
  
  $ ls -l /chroot/bin/bash
  -rwxr-xr-x 1 root root 729040 2009-03-02 15:22 /chroot/bin/bash
  
  $ sudo egrep "^bjoern" /chroot/etc/group /chroot/etc/passwd /chroot/etc/shadow
  /chroot/etc/group:bjoern:x:1000:
  /chroot/etc/passwd:bjoern:x:1000:1000:name,,,:/home/bjoern:/bin/bash
  /chroot/etc/shadow:bjoern:password:14457:0:99999:7:::
  
  $ whoami
  bjoern
  
- PS: Architecture is amd63 and dchroot version 1.2.1-1ubuntu2. The
+ PS: Architecture is amd64 and dchroot version 1.2.1-1ubuntu2. The
  package is out of Jaunty Jackalope.

-- 
dchroot fails to recognize "location" key in config
https://bugs.launchpad.net/bugs/422699
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list