Package: debirf
Version: 0.33
Severity: normal

Dear Maintainer,

As as non root user in /tmp (tmpfs), I did:

  mkdir debirf
  cd debirf
  tar xzf /usr/share/doc/debirf/example-profiles/minimal.tgz
  debirf make minimal

and got the error (lots of other messages deleted):

[...]
generating modules.dep...
run-parts: executing minimal/modules/network
run-parts: executing minimal/modules/root-bashrc
run-parts: executing minimal/modules/serial-terminal
mknod: 'dev/ttyS0': Permission denied
run-parts: minimal/modules/serial-terminal exited with return code 1

I'm just running one of the package's examples so I don't understand
what I'm doing wrong.

Once again in /tmp, I tried

  mkdir debirf
  cd debirf
  tar xzf /usr/share/doc/debirf/example-profiles/minimal.tgz
  FAKECHROOT_DEBUG=1 debirf make minimal

and got (lots of other messages deleted)

[...]
fakechroot: fakechroot_init()
fakechroot: FAKECHROOT_BASE="/tmp/debirf/minimal/root"
fakechroot: FAKECHROOT_BASE_ORIG="(null)"
fakechroot: FAKECHROOT_CMD_ORIG="(null)"
fakechroot: bindtextdomain("coreutils", "/usr/share/locale")
fakechroot: rel2abs("/usr/share/locale", &resolved)
fakechroot: rel2abs("/usr/share/locale", "/usr/share/locale")
fakechroot: __xmknod(0, "dev/ttyS0", 020666, &dev)
fakechroot: rel2abs("dev/ttyS0", &resolved)
fakechroot: rel2abs("dev/ttyS0", "/dev/ttyS0")
fakechroot: open("/dev/ttyS0", 577, ...)
fakechroot: open("/usr/lib/charset.alias", 131072, ...)
fakechroot: rel2abs("/usr/lib/charset.alias", &resolved)
fakechroot: rel2abs("/usr/lib/charset.alias", "/usr/lib/charset.alias")
mknod: 'dev/ttyS0': Permission denied
run-parts: minimal/modules/serial-terminal exited with return code 1

I get the same error in /var/tmp (btrfs).

If I remove minimal/modules/serial-terminal I get further

[...]
debirf> modules complete
debirf> creating debirf initrd ('nested')...
debirf> creating rootfs.cgz...
cpio: File sys/fs/ecryptfs/version shrunk by 4092 bytes, padding with zeros
cpio: File sys/fs/ext4/features/meta_bg_resize shrunk by 4096 bytes, padding 
with zeros
cpio: File sys/fs/ext4/features/batched_discard shrunk by 4096 bytes, padding 
with zeros
cpio: File sys/fs/ext4/features/lazy_itable_init shrunk by 4096 bytes, padding 
with zeros
cpio: sys/fs/fuse/connections/67/abort: Cannot open: Permission denied
cpio: sys/fs/cgroup/systemd/user/1001.user/2.session/cgroup.event_control: 
Cannot open: Permission denied
cpio: sys/fs/cgroup/systemd/user/1001.user/1.session/cgroup.event_control: 
Cannot open: Permission denied
cpio: sys/fs/cgroup/systemd/user/1001.user/cgroup.event_control: Cannot open: 
Permission denied
cpio: sys/fs/cgroup/systemd/user/114.user/c2.session/cgroup.event_control: 
Cannot open: Permission denied
cpio: sys/fs/cgroup/systemd/user/114.user/cgroup.event_control: Cannot open: 
Permission denied
cpio: sys/fs/cgroup/systemd/user/cgroup.event_control: Cannot open: Permission 
denied
cpio: sys/fs/cgroup/systemd/cgroup.event_control: Cannot open: Permission denied
550999 blocks
:; echo $?
2

I guess the status 2 means that the build failed. In any case I
I cannot create /dev/ttyS0 in it:

:; debirf enter minimal
debirf> loading profile 'minimal'...
0 fr-example-0184:/# mknod /dev/ttyS0 c 4 64
mknod: '/dev/ttyS0': Permission denied
1 fr-example-0184:/# cd /dev
0 fr-example-0184:/dev# mknod /dev/ttyS0 c 4 64
mknod: '/dev/ttyS0': Permission denied
1 fr-example-0184:/dev# mknod ttyS0 c 4 64
mknod: 'ttyS0': Permission denied

nor can I make an ISO image

:; debirf makeiso minimal
debirf> loading profile 'minimal'...
debirf> kernel found.
Failed to find a single initramfs.  Maybe you need to run 'debirf make minimal' 
first?

Any idea on why the example doesn't work for me?

thanks
Stuart

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

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

Versions of packages debirf depends on:
ii  apt          0.9.14.1
ii  cpio         2.11+dfsg-1
ii  debootstrap  1.0.55
ii  fakechroot   2.17.1-1
ii  fakeroot     1.20-3
ii  klibc-utils  2.0.2-1

Versions of packages debirf recommends:
ii  grub-common  2.00-22
ii  lsb-release  4.1+Debian12
ii  xorriso      1.3.2-1

debirf suggests no packages.

-- no debconf information


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

Reply via email to