introducing freebsd in new environment · bsdcan 2018 introducing freebsd in new environment 3 of...

84

Upload: others

Post on 20-May-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Introducing FreeBSD in new environmentThe good, the bad and the ugly

Baptiste Daroussin

[email protected]

BSDCan 2018

Ottawa

June 9th, 2018

Page 2: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Disclaimer: subjective french point of view

BSDCan 2018 Introducing FreeBSD in new environment 2 of 21

Page 3: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Who am I?

▶ FreeBSD user since 1998 (thanks to FreeBSD on the desktop!)

▶ FreeBSD committer since 2010

▶ portmgr since 2011

▶ core since 2014

▶ Contributing mostly in my free time

▶ No more a student since 2003

▶ Working mostly in France and Africa

▶ Only one job really o�cially FreeBSD related

BSDCan 2018 Introducing FreeBSD in new environment 3 of 21

Page 4: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Who am I?

▶ FreeBSD user since 1998 (thanks to FreeBSD on the desktop!)

▶ FreeBSD committer since 2010

▶ portmgr since 2011

▶ core since 2014

▶ Contributing mostly in my free time

▶ No more a student since 2003

▶ Working mostly in France and Africa

▶ Only one job really o�cially FreeBSD related

BSDCan 2018 Introducing FreeBSD in new environment 3 of 21

Page 5: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Targets

▶ Old school sysadmin usage

▶ Appliances usage

▶ Modern devops usage

▶ Diskless

BSDCan 2018 Introducing FreeBSD in new environment 4 of 21

Page 6: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Targets

▶ Old school sysadmin usage

▶ Appliances usage

▶ Modern devops usage

▶ Diskless

BSDCan 2018 Introducing FreeBSD in new environment 4 of 21

Page 7: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Targets

▶ Old school sysadmin usage

▶ Appliances usage

▶ Modern devops usage

▶ Diskless

BSDCan 2018 Introducing FreeBSD in new environment 4 of 21

Page 8: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Targets

▶ Old school sysadmin usage

▶ Appliances usage

▶ Modern devops usage

▶ Diskless

BSDCan 2018 Introducing FreeBSD in new environment 4 of 21

Page 9: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Targets

▶ Old school sysadmin usage

▶ Appliances usage

▶ Modern devops usage

▶ Diskless

BSDCan 2018 Introducing FreeBSD in new environment 4 of 21

Page 10: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Audience

▶ sysadmins:▶ before: "Who is the vendor?"▶ now: "Never heard of that Linux distro?"

▶ developers

▶ PCI DSS auditors

BSDCan 2018 Introducing FreeBSD in new environment 5 of 21

Page 11: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Audience

▶ sysadmins:

▶ before: "Who is the vendor?"▶ now: "Never heard of that Linux distro?"

▶ developers

▶ PCI DSS auditors

BSDCan 2018 Introducing FreeBSD in new environment 5 of 21

Page 12: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Audience

▶ sysadmins:▶ before: "Who is the vendor?"▶ now: "Never heard of that Linux distro?"

▶ developers

▶ PCI DSS auditors

BSDCan 2018 Introducing FreeBSD in new environment 5 of 21

Page 13: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Audience

▶ sysadmins:▶ before: "Who is the vendor?"▶ now: "Never heard of that Linux distro?"

▶ developers

▶ PCI DSS auditors

BSDCan 2018 Introducing FreeBSD in new environment 5 of 21

Page 14: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Audience

▶ sysadmins:▶ before: "Who is the vendor?"▶ now: "Never heard of that Linux distro?"

▶ developers

▶ PCI DSS auditors

BSDCan 2018 Introducing FreeBSD in new environment 5 of 21

Page 15: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Myths

▶ BSD is for real hardcode sysadmins

▶ BSD is hard to use

▶ BSD is a source only OS

▶ one true BSD

▶ There must be a reason for $feature not exist

BSDCan 2018 Introducing FreeBSD in new environment 6 of 21

Page 16: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Myths

▶ BSD is for real hardcode sysadmins

▶ BSD is hard to use

▶ BSD is a source only OS

▶ one true BSD

▶ There must be a reason for $feature not exist

BSDCan 2018 Introducing FreeBSD in new environment 6 of 21

Page 17: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Myths

▶ BSD is for real hardcode sysadmins

▶ BSD is hard to use

▶ BSD is a source only OS

▶ one true BSD

▶ There must be a reason for $feature not exist

BSDCan 2018 Introducing FreeBSD in new environment 6 of 21

Page 18: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Myths

▶ BSD is for real hardcode sysadmins

▶ BSD is hard to use

▶ BSD is a source only OS

▶ one true BSD

▶ There must be a reason for $feature not exist

BSDCan 2018 Introducing FreeBSD in new environment 6 of 21

Page 19: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Myths

▶ BSD is for real hardcode sysadmins

▶ BSD is hard to use

▶ BSD is a source only OS

▶ one true BSD

▶ There must be a reason for $feature not exist

BSDCan 2018 Introducing FreeBSD in new environment 6 of 21

Page 20: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Myths

▶ BSD is for real hardcode sysadmins

▶ BSD is hard to use

▶ BSD is a source only OS

▶ one true BSD

▶ There must be a reason for $feature not exist

BSDCan 2018 Introducing FreeBSD in new environment 6 of 21

Page 21: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Methodology

▶ Never impose

▶ Do not convert

▶ Be accessible

▶ Be reactive

BSDCan 2018 Introducing FreeBSD in new environment 7 of 21

Page 22: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Methodology

▶ Never impose

▶ Do not convert

▶ Be accessible

▶ Be reactive

BSDCan 2018 Introducing FreeBSD in new environment 7 of 21

Page 23: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Methodology

▶ Never impose

▶ Do not convert

▶ Be accessible

▶ Be reactive

BSDCan 2018 Introducing FreeBSD in new environment 7 of 21

Page 24: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Methodology

▶ Never impose

▶ Do not convert

▶ Be accessible

▶ Be reactive

BSDCan 2018 Introducing FreeBSD in new environment 7 of 21

Page 25: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Methodology

▶ Never impose

▶ Do not convert

▶ Be accessible

▶ Be reactive

BSDCan 2018 Introducing FreeBSD in new environment 7 of 21

Page 26: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Always a FreeBSD machine somewhere

▶ NetASQ Stormshield

▶ pfSense

▶ FreeNAS

▶ Niksun

▶ Juniper

▶ Isilon

BSDCan 2018 Introducing FreeBSD in new environment 8 of 21

Page 27: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Always a FreeBSD machine somewhere

▶ NetASQ Stormshield

▶ pfSense

▶ FreeNAS

▶ Niksun

▶ Juniper

▶ Isilon

BSDCan 2018 Introducing FreeBSD in new environment 8 of 21

Page 28: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Always a FreeBSD machine somewhere

▶ NetASQ Stormshield

▶ pfSense

▶ FreeNAS

▶ Niksun

▶ Juniper

▶ Isilon

BSDCan 2018 Introducing FreeBSD in new environment 8 of 21

Page 29: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Always a FreeBSD machine somewhere

▶ NetASQ Stormshield

▶ pfSense

▶ FreeNAS

▶ Niksun

▶ Juniper

▶ Isilon

BSDCan 2018 Introducing FreeBSD in new environment 8 of 21

Page 30: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Always a FreeBSD machine somewhere

▶ NetASQ Stormshield

▶ pfSense

▶ FreeNAS

▶ Niksun

▶ Juniper

▶ Isilon

BSDCan 2018 Introducing FreeBSD in new environment 8 of 21

Page 31: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Always a FreeBSD machine somewhere

▶ NetASQ Stormshield

▶ pfSense

▶ FreeNAS

▶ Niksun

▶ Juniper

▶ Isilon

BSDCan 2018 Introducing FreeBSD in new environment 8 of 21

Page 32: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Always a FreeBSD machine somewhere

▶ NetASQ Stormshield

▶ pfSense

▶ FreeNAS

▶ Niksun

▶ Juniper

▶ Isilon

BSDCan 2018 Introducing FreeBSD in new environment 8 of 21

Page 33: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Users: wants to feel at home

▶ First: mangle▶ how do I install logrotate?▶ how do I install rsyslog?

▶ Second: learn▶ oh, newsyslog is nice▶ hey your syslog does that?

BSDCan 2018 Introducing FreeBSD in new environment 9 of 21

Page 34: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Users: wants to feel at home

▶ First: mangle

▶ how do I install logrotate?▶ how do I install rsyslog?

▶ Second: learn▶ oh, newsyslog is nice▶ hey your syslog does that?

BSDCan 2018 Introducing FreeBSD in new environment 9 of 21

Page 35: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Users: wants to feel at home

▶ First: mangle▶ how do I install logrotate?▶ how do I install rsyslog?

▶ Second: learn▶ oh, newsyslog is nice▶ hey your syslog does that?

BSDCan 2018 Introducing FreeBSD in new environment 9 of 21

Page 36: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Users: wants to feel at home

▶ First: mangle▶ how do I install logrotate?▶ how do I install rsyslog?

▶ Second: learn

▶ oh, newsyslog is nice▶ hey your syslog does that?

BSDCan 2018 Introducing FreeBSD in new environment 9 of 21

Page 37: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Users: wants to feel at home

▶ First: mangle▶ how do I install logrotate?▶ how do I install rsyslog?

▶ Second: learn▶ oh, newsyslog is nice▶ hey your syslog does that?

BSDCan 2018 Introducing FreeBSD in new environment 9 of 21

Page 38: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Package management

▶ long ago:▶ the good: easily customisable▶ the bad: hard to reproduce a setup▶ the bad: hard to maintain a repo▶ the ugly: hard to automate▶ the ugly: binary maintenance close to impossible

▶ nowadays:▶ the good: easy to create/maintain a repo▶ the good: simple and straight forward command line interface▶ the good: easy▶ the good: up to date packages▶ the bad: no LTS repo▶ the bad: multi repository support

BSDCan 2018 Introducing FreeBSD in new environment 10 of 21

Page 39: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Package management

▶ long ago:▶ the good: easily customisable

▶ the bad: hard to reproduce a setup▶ the bad: hard to maintain a repo▶ the ugly: hard to automate▶ the ugly: binary maintenance close to impossible

▶ nowadays:▶ the good: easy to create/maintain a repo▶ the good: simple and straight forward command line interface▶ the good: easy▶ the good: up to date packages▶ the bad: no LTS repo▶ the bad: multi repository support

BSDCan 2018 Introducing FreeBSD in new environment 10 of 21

Page 40: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Package management

▶ long ago:▶ the good: easily customisable▶ the bad: hard to reproduce a setup▶ the bad: hard to maintain a repo

▶ the ugly: hard to automate▶ the ugly: binary maintenance close to impossible

▶ nowadays:▶ the good: easy to create/maintain a repo▶ the good: simple and straight forward command line interface▶ the good: easy▶ the good: up to date packages▶ the bad: no LTS repo▶ the bad: multi repository support

BSDCan 2018 Introducing FreeBSD in new environment 10 of 21

Page 41: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Package management

▶ long ago:▶ the good: easily customisable▶ the bad: hard to reproduce a setup▶ the bad: hard to maintain a repo▶ the ugly: hard to automate▶ the ugly: binary maintenance close to impossible

▶ nowadays:▶ the good: easy to create/maintain a repo▶ the good: simple and straight forward command line interface▶ the good: easy▶ the good: up to date packages▶ the bad: no LTS repo▶ the bad: multi repository support

BSDCan 2018 Introducing FreeBSD in new environment 10 of 21

Page 42: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Package management

▶ long ago:▶ the good: easily customisable▶ the bad: hard to reproduce a setup▶ the bad: hard to maintain a repo▶ the ugly: hard to automate▶ the ugly: binary maintenance close to impossible

▶ nowadays:▶ the good: easy to create/maintain a repo▶ the good: simple and straight forward command line interface▶ the good: easy▶ the good: up to date packages

▶ the bad: no LTS repo▶ the bad: multi repository support

BSDCan 2018 Introducing FreeBSD in new environment 10 of 21

Page 43: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Package management

▶ long ago:▶ the good: easily customisable▶ the bad: hard to reproduce a setup▶ the bad: hard to maintain a repo▶ the ugly: hard to automate▶ the ugly: binary maintenance close to impossible

▶ nowadays:▶ the good: easy to create/maintain a repo▶ the good: simple and straight forward command line interface▶ the good: easy▶ the good: up to date packages▶ the bad: no LTS repo▶ the bad: multi repository support

BSDCan 2018 Introducing FreeBSD in new environment 10 of 21

Page 44: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Automation

▶ The good:▶ rc.conf.d▶ *.d

▶ The badgood:▶ crontabs▶ syslogd

▶ The bad:▶ jail.conf▶ inetd.conf▶ blacklistd.conf▶ everything not allowing includes

BSDCan 2018 Introducing FreeBSD in new environment 11 of 21

Page 45: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Automation

▶ The good:▶ rc.conf.d▶ *.d

▶ The badgood:▶ crontabs▶ syslogd

▶ The bad:▶ jail.conf▶ inetd.conf▶ blacklistd.conf▶ everything not allowing includes

BSDCan 2018 Introducing FreeBSD in new environment 11 of 21

Page 46: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Automation

▶ The good:▶ rc.conf.d▶ *.d

▶ The badgood:▶ crontabs▶ syslogd

▶ The bad:▶ jail.conf▶ inetd.conf▶ blacklistd.conf▶ everything not allowing includes

BSDCan 2018 Introducing FreeBSD in new environment 11 of 21

Page 47: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Tooling

▶ The good:▶ admin utilities: *util, *ctl, *control▶ statistical utilities: systat, top -m io▶ man pages▶ gpart!

▶ The bad:▶ 3 �rewals▶ sendmail▶ vi▶ fdisk/bsdlabel▶ command options strictness (getopt)▶ lack of �help

▶ The ugly:▶ CSH (as default shell)▶ no good default shell in base

BSDCan 2018 Introducing FreeBSD in new environment 12 of 21

Page 48: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Tooling

▶ The good:▶ admin utilities: *util, *ctl, *control▶ statistical utilities: systat, top -m io▶ man pages▶ gpart!

▶ The bad:▶ 3 �rewals▶ sendmail▶ vi▶ fdisk/bsdlabel▶ command options strictness (getopt)▶ lack of �help

▶ The ugly:▶ CSH (as default shell)▶ no good default shell in base

BSDCan 2018 Introducing FreeBSD in new environment 12 of 21

Page 49: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Tooling

▶ The good:▶ admin utilities: *util, *ctl, *control▶ statistical utilities: systat, top -m io▶ man pages▶ gpart!

▶ The bad:▶ 3 �rewals▶ sendmail▶ vi▶ fdisk/bsdlabel▶ command options strictness (getopt)▶ lack of �help

▶ The ugly:▶ CSH (as default shell)▶ no good default shell in base

BSDCan 2018 Introducing FreeBSD in new environment 12 of 21

Page 50: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Tooling

▶ The good:▶ admin utilities: *util, *ctl, *control▶ statistical utilities: systat, top -m io▶ man pages▶ gpart!

▶ The bad:▶ 3 �rewals▶ sendmail▶ vi▶ fdisk/bsdlabel▶ command options strictness (getopt)▶ lack of �help

▶ The ugly:▶ CSH (as default shell)▶ no good default shell in base

BSDCan 2018 Introducing FreeBSD in new environment 12 of 21

Page 51: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Deploying

▶ The good:▶ freebsd-update upgrades

▶ The bad:▶ Lack of out of box "cloud" image▶ local freebsd-update mirror

▶ The ugly:▶ PXE booting (seamless installation)▶ PXE booting (ramdisk/diskless)▶ local freebsd-update server

BSDCan 2018 Introducing FreeBSD in new environment 13 of 21

Page 52: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Deploying

▶ The good:▶ freebsd-update upgrades

▶ The bad:▶ Lack of out of box "cloud" image▶ local freebsd-update mirror

▶ The ugly:▶ PXE booting (seamless installation)▶ PXE booting (ramdisk/diskless)▶ local freebsd-update server

BSDCan 2018 Introducing FreeBSD in new environment 13 of 21

Page 53: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Deploying

▶ The good:▶ freebsd-update upgrades

▶ The bad:▶ Lack of out of box "cloud" image▶ local freebsd-update mirror

▶ The ugly:▶ PXE booting (seamless installation)▶ PXE booting (ramdisk/diskless)▶ local freebsd-update server

BSDCan 2018 Introducing FreeBSD in new environment 13 of 21

Page 54: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Deploying

▶ The good:▶ freebsd-update upgrades

▶ The bad:▶ Lack of out of box "cloud" image▶ local freebsd-update mirror

▶ The ugly:▶ PXE booting (seamless installation)▶ PXE booting (ramdisk/diskless)▶ local freebsd-update server

BSDCan 2018 Introducing FreeBSD in new environment 13 of 21

Page 55: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Someone's else computer/Cloud

▶ The good:▶ Xen dom0 support

▶ The bad:▶ bhyve frontend▶ bhyve lack of features (live migration, passthrough)▶ lack of dynamic CPU

BSDCan 2018 Introducing FreeBSD in new environment 14 of 21

Page 56: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Someone's else computer/Cloud

▶ The good:▶ Xen dom0 support

▶ The bad:▶ bhyve frontend▶ bhyve lack of features (live migration, passthrough)▶ lack of dynamic CPU

BSDCan 2018 Introducing FreeBSD in new environment 14 of 21

Page 57: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Someone's else computer/Cloud

▶ The good:▶ Xen dom0 support

▶ The bad:▶ bhyve frontend▶ bhyve lack of features (live migration, passthrough)▶ lack of dynamic CPU

BSDCan 2018 Introducing FreeBSD in new environment 14 of 21

Page 58: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Storage

▶ The good:▶ ZFS▶ ctl▶ utilities (geom, sesutil, m�util)

▶ The ugly:▶ NFS performances▶ NFS v4+ compatibilities with Linux clients

BSDCan 2018 Introducing FreeBSD in new environment 15 of 21

Page 59: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Storage

▶ The good:▶ ZFS▶ ctl▶ utilities (geom, sesutil, m�util)

▶ The ugly:▶ NFS performances▶ NFS v4+ compatibilities with Linux clients

BSDCan 2018 Introducing FreeBSD in new environment 15 of 21

Page 60: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Storage

▶ The good:▶ ZFS▶ ctl▶ utilities (geom, sesutil, m�util)

▶ The ugly:▶ NFS performances▶ NFS v4+ compatibilities with Linux clients

BSDCan 2018 Introducing FreeBSD in new environment 15 of 21

Page 61: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Hacking

▶ The good:▶ multiple version of the toolchains available▶ dtrace▶ pmcstat

▶ The bad:▶ pmcstat UI▶ lack of sanitizers▶ .4th▶ gdb 6.6

BSDCan 2018 Introducing FreeBSD in new environment 16 of 21

Page 62: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Hacking

▶ The good:▶ multiple version of the toolchains available▶ dtrace▶ pmcstat

▶ The bad:▶ pmcstat UI▶ lack of sanitizers▶ .4th▶ gdb 6.6

BSDCan 2018 Introducing FreeBSD in new environment 16 of 21

Page 63: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Hacking

▶ The good:▶ multiple version of the toolchains available▶ dtrace▶ pmcstat

▶ The bad:▶ pmcstat UI▶ lack of sanitizers▶ .4th▶ gdb 6.6

BSDCan 2018 Introducing FreeBSD in new environment 16 of 21

Page 64: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Community feedback

▶ The good:▶ not worse than elsewhere▶ documentations/handbook

▶ The bad:▶ mailing list is the best way to catch attention▶ localised documentation (fr_FR.ISO8859-1 for example)

▶ The ugly:▶ bug report without a proxy

BSDCan 2018 Introducing FreeBSD in new environment 17 of 21

Page 65: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Community feedback

▶ The good:▶ not worse than elsewhere▶ documentations/handbook

▶ The bad:▶ mailing list is the best way to catch attention▶ localised documentation (fr_FR.ISO8859-1 for example)

▶ The ugly:▶ bug report without a proxy

BSDCan 2018 Introducing FreeBSD in new environment 17 of 21

Page 66: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Community feedback

▶ The good:▶ not worse than elsewhere▶ documentations/handbook

▶ The bad:▶ mailing list is the best way to catch attention▶ localised documentation (fr_FR.ISO8859-1 for example)

▶ The ugly:▶ bug report without a proxy

BSDCan 2018 Introducing FreeBSD in new environment 17 of 21

Page 67: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Community feedback

▶ The good:▶ not worse than elsewhere▶ documentations/handbook

▶ The bad:▶ mailing list is the best way to catch attention▶ localised documentation (fr_FR.ISO8859-1 for example)

▶ The ugly:▶ bug report without a proxy

BSDCan 2018 Introducing FreeBSD in new environment 17 of 21

Page 68: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Contributing

▶ The good:▶ not worse than other OS

▶ The bad:▶ subversion▶ lack of documentation

▶ The ugly:▶ there is no o�cial process

BSDCan 2018 Introducing FreeBSD in new environment 18 of 21

Page 69: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Contributing

▶ The good:▶ not worse than other OS

▶ The bad:▶ subversion▶ lack of documentation

▶ The ugly:▶ there is no o�cial process

BSDCan 2018 Introducing FreeBSD in new environment 18 of 21

Page 70: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Contributing

▶ The good:▶ not worse than other OS

▶ The bad:▶ subversion▶ lack of documentation

▶ The ugly:▶ there is no o�cial process

BSDCan 2018 Introducing FreeBSD in new environment 18 of 21

Page 71: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Contributing

▶ The good:▶ not worse than other OS

▶ The bad:▶ subversion▶ lack of documentation

▶ The ugly:▶ there is no o�cial process

BSDCan 2018 Introducing FreeBSD in new environment 18 of 21

Page 72: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Desktops/laptops

▶ The good:▶ usable▶ sound

▶ The bad:▶ Wireless▶ GPU drivers▶ sound support (upstream)

BSDCan 2018 Introducing FreeBSD in new environment 19 of 21

Page 73: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Desktops/laptops

▶ The good:▶ usable▶ sound

▶ The bad:▶ Wireless▶ GPU drivers▶ sound support (upstream)

BSDCan 2018 Introducing FreeBSD in new environment 19 of 21

Page 74: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Desktops/laptops

▶ The good:▶ usable▶ sound

▶ The bad:▶ Wireless▶ GPU drivers▶ sound support (upstream)

BSDCan 2018 Introducing FreeBSD in new environment 19 of 21

Page 75: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Desktops/laptops

▶ The good:▶ usable▶ sound

▶ The bad:▶ Wireless▶ GPU drivers▶ sound support (upstream)

BSDCan 2018 Introducing FreeBSD in new environment 19 of 21

Page 76: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Summary

▶ Good: Overhall feeling of a well thought OS

▶ Bad: If you don't know someone, hard to get in (but same for

other projects)

▶ Bad: regressions on stable!

▶ Bad: lack of ERRATA: most people use releases!

▶ Bad: We are not cool anymore, where are those wonderful

swags?

▶ Ugly: CSH

BSDCan 2018 Introducing FreeBSD in new environment 20 of 21

Page 77: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Summary

▶ Good: Overhall feeling of a well thought OS

▶ Bad: If you don't know someone, hard to get in (but same for

other projects)

▶ Bad: regressions on stable!

▶ Bad: lack of ERRATA: most people use releases!

▶ Bad: We are not cool anymore, where are those wonderful

swags?

▶ Ugly: CSH

BSDCan 2018 Introducing FreeBSD in new environment 20 of 21

Page 78: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Summary

▶ Good: Overhall feeling of a well thought OS

▶ Bad: If you don't know someone, hard to get in (but same for

other projects)

▶ Bad: regressions on stable!

▶ Bad: lack of ERRATA: most people use releases!

▶ Bad: We are not cool anymore, where are those wonderful

swags?

▶ Ugly: CSH

BSDCan 2018 Introducing FreeBSD in new environment 20 of 21

Page 79: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Summary

▶ Good: Overhall feeling of a well thought OS

▶ Bad: If you don't know someone, hard to get in (but same for

other projects)

▶ Bad: regressions on stable!

▶ Bad: lack of ERRATA: most people use releases!

▶ Bad: We are not cool anymore, where are those wonderful

swags?

▶ Ugly: CSH

BSDCan 2018 Introducing FreeBSD in new environment 20 of 21

Page 80: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Summary

▶ Good: Overhall feeling of a well thought OS

▶ Bad: If you don't know someone, hard to get in (but same for

other projects)

▶ Bad: regressions on stable!

▶ Bad: lack of ERRATA: most people use releases!

▶ Bad: We are not cool anymore, where are those wonderful

swags?

▶ Ugly: CSH

BSDCan 2018 Introducing FreeBSD in new environment 20 of 21

Page 81: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Summary

▶ Good: Overhall feeling of a well thought OS

▶ Bad: If you don't know someone, hard to get in (but same for

other projects)

▶ Bad: regressions on stable!

▶ Bad: lack of ERRATA: most people use releases!

▶ Bad: We are not cool anymore, where are those wonderful

swags?

▶ Ugly: CSH

BSDCan 2018 Introducing FreeBSD in new environment 20 of 21

Page 82: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Summary

▶ Good: Overhall feeling of a well thought OS

▶ Bad: If you don't know someone, hard to get in (but same for

other projects)

▶ Bad: regressions on stable!

▶ Bad: lack of ERRATA: most people use releases!

▶ Bad: We are not cool anymore, where are those wonderful

swags?

▶ Ugly: CSH

BSDCan 2018 Introducing FreeBSD in new environment 20 of 21

Page 83: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Summary

▶ Good: Overhall feeling of a well thought OS

▶ Bad: If you don't know someone, hard to get in (but same for

other projects)

▶ Bad: regressions on stable!

▶ Bad: lack of ERRATA: most people use releases!

▶ Bad: We are not cool anymore, where are those wonderful

swags?

▶ Ugly: CSH

BSDCan 2018 Introducing FreeBSD in new environment 20 of 21

Page 84: Introducing FreeBSD in new environment · BSDCan 2018 Introducing FreeBSD in new environment 3 of 21. aTrgets Old school sysadmin usage Appliances usage Modern devops usage

Questions?

Thanks

BSDCan 2018 Introducing FreeBSD in new environment 21 of 21