I don't understand if it's a regression you are pointing out or what
else, because i see a consistent behaviour on my destktop: the mkfs.extX
cmd, if it doesn't find a ramdisk, it creates one, while mkfs.vfat
simply fails out - so you either runs that test with a ramdisk
previously created, or you change you change the filesystem, or it will
forever fail with vfat. Was that test run before? What was the
environment?


mkfs.ext2 /dev/ram7 8192:
...
open("/dev/ram7", O_RDONLY)             = -1 ENOENT (No such file or directory)
open("/dev/ram7", O_RDONLY|O_CREAT, 0666) = 3

mkfs.vfat /dev/ram8 8192:
...
open("/dev/ram8", O_RDONLY)             = -1 ENOENT (No such file or directory)
dup(2)                                  = 3
fcntl(3, F_GETFL)                       = 0x8001 (flags O_WRONLY|O_LARGEFILE)
close(3)                                = 0
write(2, "/dev/ram8: No such file or direc"..., 37/dev/ram8: No such file or 
directory
) = 37

** Changed in: linux (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1677622

Title:
  missing ramdisks in latest amd64 kernel snap

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  While running the snapd suite using the amd64 kernel snap from the
  beta channel (rev 59) we got this error running [1]:

  2017-03-30 09:36:41 Error preparing 
linode:ubuntu-core-16-64:tests/main/snap-auto-mount : 
  -----
  [ ... ]
  Create a ramdisk with the testrootorg-store.account-key assertion
  + mkfs.vfat /dev/ram0
  /dev/ram0: No such file or directory
  mkfs.fat 3.0.28 (2015-05-16)

  There are no /dev/ram* files on the ubuntu-core system, not sure if
  this is intended and we should adapt to it. It was created with:

  $ sudo /snap/bin/ubuntu-image --image-size 3G -c beta -O . ./models
  /pc-amd64.model

  and, once logged to the ubuntu-core system, the version:

  $ $ cat /proc/version_signature
  Ubuntu 4.4.0-67.88-generic 4.4.49

  Thanks,

  [1] https://github.com/snapcore/snapd/blob/master/tests/main/snap-
  auto-mount/task.yaml

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1677622/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to