Differences between revisions 26 and 27
Revision 26 as of 2017-04-13 15:37:29
Size: 11794
Comment: cleanup
Revision 27 as of 2017-04-14 01:55:10
Size: 11758
Editor: PaulWise
Comment: httpredir no longer exists, use the CDN
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:


Line 20: Line 20:
deb http://httpredir.debian.org/debian jessie-kfreebsd main
deb-src http://httpredir.debian.org/debian jessie-kfreebsd main

deb http://httpredir
.debian.org/debian/ jessie-kfreebsd-proposed-updates main
deb-src http://httpredir.debian.org/debian/ jessie-kfreebsd-proposed-updates main
deb http://deb.debian.org/debian jessie-kfreebsd main
deb-src http://deb.debian.org/debian jessie-kfreebsd main

deb http://deb
.debian.org/debian/ jessie-kfreebsd-proposed-updates main
deb-src http://deb.debian.org/debian/ jessie-kfreebsd-proposed-updates main

Where to find it

netinst images (requiring an Internet connection at install time) are available from:



and some unofficial .iso images (bundling a minimal base system for offline installs) are available from:




New installs should have an /etc/apt/sources.list like below. If you're running an older version of kfreebsd, replace your sources.list with the following if you want to upgrade:

deb http://deb.debian.org/debian jessie-kfreebsd main
deb-src http://deb.debian.org/debian jessie-kfreebsd main

deb http://deb.debian.org/debian/ jessie-kfreebsd-proposed-updates main
deb-src http://deb.debian.org/debian/ jessie-kfreebsd-proposed-updates main

deb http://security.debian.org/ jessie-kfreebsd/updates main
deb-src http://security.debian.org/ jessie-kfreebsd/updates main

Security updates

The jessie-kfreebsd-proposed-updates suite includes kfreebsd-specific bugfixes and security updates.

For other packages, updates are available via security.debian.org until at least 2018-04 (and perhaps longer if we can set up building of packages from jessie-lts).

Web services

We could do with jessie-kfreebsd support in some web services, or replacements for them:

  • packages.d.o or tracker.d.o support for jessie-kfreebsd
  • report any security.d.o builds missing on jessie-kfreebsd vs. the main archive
  • highlight any package version differences between jessie-kfreebsd and official jessie, to ensure we keep up with stable-p-u
  • patch-tracker: debdiffs between jessie and jessie-kfreebsd. Based on changelog entries in those debdiffs, and based on 'fixed' versions in the BTS, we should track bugs fixed in jessie-kfreebsd to ensure they are also fixed in sid.

You can browse .changes files of packages in our own p-u queue at http://ftp.debian.org/debian/dists/jessie-kfreebsd-proposed-updates/

Bug fixes

d-i requires some fixes due to kfreebsd moving from the official jessie suite to jessie-kfreebsd:


  • 784927 doesn't recognise jessie-kfreebsd as an installable suite

trivial fix in jessie-kfreebsd Git branch: https://anonscm.debian.org/cgit/d-i/debootstrap.git/commit/?h=jessie-kfreebsd&id=045a2e63427caf5ad5f75525ff804bb7eabdc2d8

(./) fixed in unstable

(./) fixed in stable-kfreebsd-proposed-updates

/!\ still affects wheezy, should try to fix it via wheezy-p-u

(./) confirmed working ok on many test systems

debian-installer itself

  • 783773 - to build at all, it must know where to now find the udebs; it also should default to jessie-kfreebsd, rather than the regular jessie suite (which kfreebsd is no longer part of)

trivial fix in jessie-kfreebsd Git branch: https://anonscm.debian.org/cgit/d-i/debian-installer.git/commit/?h=jessie-kfreebsd&id=996ecdfc4e785fcca87196c2312f44962c103f82

(./) fix pending for sid in Git master, already used in daily builds, tested by jenkins.d.n

/!\ need to set up the official jessie-kfreebsd builds somewhere

(./) confirmed working ok on dev machine

Not critical, but desirable to fix before releasing:


  • finalise the size of installer ramdisks, now that udebs are frozen. must not be so small that we hit ENOSPC; must not be so large as to break on low-memory systems

simple adjustment (after many tests to find the right value): https://anonscm.debian.org/cgit/d-i/debian-installer.git/commit/?h=jessie-kfreebsd&id=fba8f8e46ba8430be2ec66229a59a9f7e7243e0a

(./) fix pending for sid in Git master, already used in daily builds, tested by jenkins.d.n

/!\ need to set up the official jessie-kfreebsd builds somewhere

(./) confirmed ok on many test systems


  • 783548 - in expert installs, some invalid suites are offered (e.g. jessie and stretch) alongside the valid ones (jessie-kfreebsd, sid)

somewhat complex fix: https://anonscm.debian.org/cgit/d-i/choose-mirror.git/commit/?h=jessie-kfreebsd&id=c30f82097801e7d1a3233d1f917a180ce07e2811

and https://anonscm.debian.org/cgit/d-i/choose-mirror.git/commit/?h=jessie-kfreebsd&id=ff041ee1a760e871484e13892170072e415c52ac

(./) fixed in unstable

(./) fixed in stable-kfreebsd-proposed-updates

(./) confirmed ok on many test systems


  • 776332 - anna installs some unintended udebs, wastes valuable space in the d-i ramdisk and means that unsupported options like ISCSI are shown during expert install

simple workaround: https://anonscm.debian.org/cgit/d-i/rootskel.git/commit/?h=jessie-kfreebsd&id=d8fc7640e6bd624b311ddc7039a39e42b12533d8

/!\ affects sid, but needs to be fixed a bit more neatly there

(./) fixed in stable-kfreebsd-proposed-updates

(./) confirmed ok on many test systems

grub-installer and grub2 itself

  • 786621 - fails to install to VirtIO or Xen virtual disks

I have a simple patch for this

(./) fixed in sid

(./) fixed in stable-kfreebsd-proposed-updates

(./) confirmed ok on KVM


  • 616036 - fails to properly set up ufs partitions in /etc/fstab if any non-default flags are picked


(./) fixed in sid

(./) confirmed ok on many test systems


  • 795360 - fails to set mountpoints for ZFS partitions (except root)

{X} affects sid

(./) fixed in stable-kfreebsd-proposed-updates

(./) confirmed ok in a KVM test


  • [no bug number] - -(I'm currently looking into a potentially serious, possibly release-critical regression when running as Xen domU)- seems to be not a kfreebsd bug

(./) confirmed ok on wheezy Xen 4.1, Linux domU

  • 787136 - instability seen after porterbox was upgraded to kfreebsd-10

(./) appears stable now with virtio


  • 618920 causes intermittent problems fetching udebs (anna) or debs (debootstrap) with the most common IPv4-only setup. Reported to upstream 2012 and not simple to fix. I can work around it by setting PREFER_IPV4, at risk of (rare) IPv6-only setups breaking.

{X} affects sid

(./) fixed in stable-kfreebsd-proposed-updates

(./) confirmed ok in testing on KVM

These changes may be wishlist but I propose to include them if we can:


783775 - allow GTK installer to run on kfreebsd-amd64 machines with less memory, having tested it really works, with or without the above changes to anna and ramdisk sizes

simple adjustment: https://anonscm.debian.org/cgit/d-i/rootskel.git/commit/?id=d671220871678e9b8830addb86d583cdc4512d52

(./) fixed in unstable

(./) fixed in stable-kfreebsd-proposed-updates

(./) confirmed ok on many test systems


  • I really strongly recommend multiple partitions if using UFS, so that softupdates can be used effectively; I suggest we switch the autopartitioner default from 'atomic' to 'multi' and improve the dialog wording

TODO: get some concrete benchmark numbers to make sure it's worth it

this is trivial to change. does make it more likely to run into the (harmless) initscripts problem mentioned below.

suitable for sid, but not sure if linux-amd64 and -i386 would want to make this change... actually no, they're going the other way (/usr merge)

if 786619 is fixed, it should be possible to enable SU+J for the root filesystem, instead of changing partman-auto defaults in jessie) I think there are still issues with SU+J on root filesystem


  • 795354 - initscript script returns error in some disk configurations

{X} affects sid

(./) fixed in stable-kfreebsd-proposed-updates

(./) confirmed ok in tests on KVM


  • 764662 bootclean tries and fails to delete .sujournal, /tmp is a UFS partition with softupdates enabled

simple fix we could upload to jessie-kfreebsd, see https://bugs.debian.org/764662#5

{X} still unfixed in sid

try to fix it after release via p-u


  • 785196 - make it easier to choose text-mode console


  • [no bug number] - make it easier to set up serial console

(./) fixed in stable-kfreebsd-proposed-updates

These are wishlist too, but I guess it's too late to do anything about it:


  • GPT may be a better default disklabel, at least for us - kFreeBSD can't use msdos extended partions as root; there are issues if ZFS is on an msdos partition that extends to the last disk sector, GPT doesn't have that problem

trivial to change the default. slightly awkward that it doesn't warn the user if they forget to make a BIOS boot partition for GRUB.


atime is enabled by default, and we lack relatime. Turning it off by default is objectionable.


Should also consider noatime.

761432 Should set sync=disabled while installing, then re-enable it at the end.

The latest ZFS compression (LZ4) is so fast it should probably be enabled by default; the drawback is that some packages will FTBFS where testsuites make assumptions about apparent file size. We want to identify and fix those bugs because GNU/Linux may equally want to use compression someday, perhaps in BTRFS.

Bug fixes for other packages

unattended-upgrades might not work, if it tries to update "stable" rather than "stable-kfreebsd" - could use a patch in jessie-kfreebsd

jackd2 needs a kfreebsd patch I think

shutdown/restart options are disabled in lightdm, XFCE, probably other DEs; maybe related to consolekit, also affects linux systems without systemd

latest openjdk-7 security update FTBFS on kfreebsd, we could patch it via jessie-kfreebsd

Release process

  • our patched udebs need to be uploaded to the new jessie-kfreebsd suite, how do we/I upload to that?

  • we need to set up an official build of debian-installer somewhere

  • can we upload debian-installer to jessie-kfreebsd regularly or do we need to dak copy-installer?

  • we'll need to build cdimages from that build of debian-installer and using debs from the jessie-kfreebsd suite

  • update install guide (incl. mem/disk requirements), release notes and errata
  • buildds and porterboxes should be upgraded to jessie-kfreebsd either before or after release

Help with testing

Please help us by installing jessie-kfreebsd (or sid) systems and report (to ?debian-bsd@lists.d.o or via reportbug) any issues you find that are not already known.

Test on any kind of system or configuration you like, preferably try something that is actually useful to you, like a new NAS, media centre, router, embedded system, or to refurbish an old netbook or desktop. Testing in virtual machines or in public clouds is also interesting.