[pkg-lxc-devel] Bug#883912: lxc-create(1) incorrectly says default fstype is ext4
Jean-Michel Vourgère
nirgal at debian.org
Sat Dec 9 09:38:29 UTC 2017
Package: lxc
Version: 1:2.0.7-2
Severity: minor
Dear Maintainer,
man lxc-create says:
> --fstype FSTYPE will create an FSTYPE filesystem on the LV, rather than the
> default, which is ext4.
However, when a container is created with lvm without the --fstype option
it gets an ext3 partition.
In src/lxc/bdev/lxclvm.c, in lvm_create:
> fstype = specs->fstype;
> if (!fstype)
> fstype = DEFAULT_FSTYPE;
In src/lxc/bdev/bdev.h:
> #define DEFAULT_FSTYPE "ext3"
I expected the manual to say the default is ext3, not ext4.
Cheers
-- System Information:
Debian Release: 9.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages lxc depends on:
ii init-system-helpers 1.48
ii libapparmor1 2.11.0-3
ii libc6 2.24-11+deb9u1
ii libcap2 1:2.25-1
ii libgnutls30 3.5.8-5+deb9u3
ii liblxc1 1:2.0.7-2
ii libseccomp2 2.3.1-2.1
ii libselinux1 2.6-3+b3
ii lsb-base 9.20161125
ii python3 3.5.3-1
ii python3-lxc 1:2.0.7-2
Versions of packages lxc recommends:
ii bridge-utils 1.5-13+deb9u1
ii debootstrap 1.0.89
ii dirmngr 2.1.18-8~deb9u1
ii dnsmasq-base 2.76-5+deb9u1
ii gnupg 2.1.18-8~deb9u1
ii iptables 1.6.0+snapshot20161117-6
ii libpam-cgfs 2.0.7-1
ii lxcfs 2.0.7-1
ii openssl 1.1.0f-3+deb9u1
ii rsync 3.1.2-1
ii uidmap 1:4.4-4.1
Versions of packages lxc suggests:
pn apparmor <none>
pn btrfs-tools <none>
ii lvm2 2.02.168-2
-- no debconf information
More information about the Pkg-lxc-devel
mailing list