Your message dated Tue, 24 Jun 2014 21:34:16 +0000
with message-id <[email protected]>
and subject line Bug#732322: fixed in debirf 0.34
has caused the Debian Bug report #732322,
regarding debirf: serial-terminal module fails with mknod: 'dev/ttyS0': 
Permission denied
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
732322: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732322
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Source: debirf
Source-Version: 0.34

We believe that the bug you reported is fixed in the latest version of
debirf, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Kahn Gillmor <[email protected]> (supplier of updated debirf 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 24 Jun 2014 16:07:32 -0400
Source: debirf
Binary: debirf
Architecture: source all
Version: 0.34
Distribution: unstable
Urgency: medium
Maintainer: Jameson Graef Rollins <[email protected]>
Changed-By: Daniel Kahn Gillmor <[email protected]>
Description:
 debirf     - build a kernel and initrd to run Debian from RAM
Closes: 732322
Changes:
 debirf (0.34) unstable; urgency=medium
 .
   * Don't try to make device nodes within the chroot (Closes: #732322)
   * remove e2undel and recover from the rescue image, since they were both
     removed from debian.
Checksums-Sha1:
 f9e2caacf8b8d5719d884fcaad7d1d83a249193b 1656 debirf_0.34.dsc
 9336f6436c924e369e339d65fac1c05a1a725318 36608 debirf_0.34.tar.xz
 ed875e91107aafd543e58a666feddd33c16182ca 32296 debirf_0.34_all.deb
Checksums-Sha256:
 0966098e39726478e6917c7a6e936ea6f02e7dbbbf9ca867a2e5a5d5d51d73a0 1656 
debirf_0.34.dsc
 df2ec5a63f23771b15866a0edcec83d174b8c01782aa0a403113ccd09c9ad123 36608 
debirf_0.34.tar.xz
 ad08fa679be53a34d7d2b846901244ec550b2dad12d1d800f3d68a9512638e77 32296 
debirf_0.34_all.deb
Files:
 12f168135c094391c5aff9ac8bfce47c 32296 admin extra debirf_0.34_all.deb
 8818c6a41c0c6a163a361bf3619acb18 1656 admin extra debirf_0.34.dsc
 3375ce93a46f1189e5078552b2d452f6 36608 admin extra debirf_0.34.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQJ8BAEBCgBmBQJTqevoXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFQjk2OTEyODdBN0FEREUzNzU3RDkxMUVB
NTI0MDFCMTFCRkRGQTVDAAoJEKUkAbEb/fpclPwQALjkwC4ygepzqM8wrlvy4r4L
/nIj3rL6cpwr1YISuA8RZlqlx2Mhh6H2J7Mg5J2RUMgRPP34hd6hJoIsoosKemL9
1ZK4+jnU0SYpOv3Cfo8Es+9TvHlZIsV/29Qw7EM19apzrfB8WAxB6tbAy5dCWQFE
mVhz41Z1r2IwzS8ZzFpmAYB8BAcRtAA+fmKSXytfgNGbgTEyDOV06mRSmGo2zuGg
9EktCd4IFV5BPTRstFu20LYdRcU8W4qEANPa7o+j7HsEnc84TQ8veBiRdPmmtZOM
c/iLPmtgPGjpDzC1WlSPKQEGWT+RuP3K0ZKTxJitntehGGczDsMb4MkroMJCDbRE
sl3TAHMgOL2Gk3Kqhn8JN90m0YGDsh3Wj+jyrfGx85gUvLrkHH3iG6fAnKfsP8ZK
KAo+QAfUDOfEknQW3+bXVHLZc40YtK8W/mfaXRd8tIgW58aKvV8+eH6R+N2FGcC4
0YQJXJ9okHuxdIibdwZHxEw9zUkW5rii43z80xd3ePb1WfpaDYTjNXI7NxzA7xyn
hduo/6aGfkicTPwkub9b0FfnHZhemsSGp+gchMpiPs7lTT75VdAV2qzi/ubVksdv
gbz+GGIs2ReLq9n3aLzp3ksvAyJMejvc+v25FIVAy8Kf+blBpyZfia72p8q9MYtH
bGDTQuYNpXX4gFAP9WEA
=53hm
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to