Commit 7c20daf6 authored by Felipe Sateler's avatar Felipe Sateler

New upstream version 241

parent 6e866b33
......@@ -192,3 +192,9 @@ Yin Kangkai <kangkai.yin@intel.com> <kangkai.yin@linux.intel.com>
Zachary Winnerman <33329648+winnerman-pythian@users.noreply.github.com>
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Łukasz Stelmach <l.stelmach@samsung.com> <stlman@poczta.fm>
Jonathon Kowalski <bl0pbl33p@gmail.com>
Diego Canuhe <dcanuhe@gmail.com> <46734128+dcanuhe@users.noreply.github.com>
David Santamaría Rogado <howl.nsp@gmail.com>
Mike Auty <mike.auty@gmail.com>
Roger James <roger@beardandsandals.co.uk>
Stephan Edel <se@se-it.eu>
......@@ -54,3 +54,4 @@ BuildPackages=
Packages=
libidn2
qrencode
sudo: required
dist: xenial
services:
- docker
......@@ -17,96 +18,85 @@ stages:
jobs:
include:
- stage: Build & test
name: Fedora Latest
name: Debian Testing
language: bash
env:
- FEDORA_RELEASE="latest"
- CONT_NAME="systemd-fedora-$FEDORA_RELEASE"
- DEBIAN_RELEASE="testing"
- CONT_NAME="systemd-debian-$DEBIAN_RELEASE"
- DOCKER_EXEC="docker exec -ti $CONT_NAME"
before_install:
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
- docker --version
install:
- $CI_MANAGERS/fedora.sh SETUP
- $CI_MANAGERS/debian.sh SETUP
script:
- set -e
# Build systemd
- $CI_MANAGERS/fedora.sh RUN
- $CI_MANAGERS/debian.sh RUN
- set +e
after_script:
- $CI_MANAGERS/fedora.sh CLEANUP
- $CI_MANAGERS/debian.sh CLEANUP
- name: Fedora Latest (ASan+UBSan)
- name: Debian Testing (ASan+UBSan)
language: bash
env:
- FEDORA_RELEASE="latest"
- CONT_NAME="systemd-fedora-$FEDORA_RELEASE"
- DEBIAN_RELEASE="testing"
- CONT_NAME="systemd-debian-$DEBIAN_RELEASE"
- DOCKER_EXEC="docker exec -ti $CONT_NAME"
before_install:
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
- docker --version
install:
- $CI_MANAGERS/fedora.sh SETUP
- $CI_MANAGERS/debian.sh SETUP
script:
- set -e
- $CI_MANAGERS/fedora.sh RUN_ASAN
- $CI_MANAGERS/debian.sh RUN_ASAN
- set +e
after_script:
- $CI_MANAGERS/fedora.sh CLEANUP
- $CI_MANAGERS/debian.sh CLEANUP
- name: Fedora Latest (clang)
- name: Debian Testing (clang)
language: bash
env:
- FEDORA_RELEASE="latest"
- CONT_NAME="systemd-fedora-$FEDORA_RELEASE"
- DEBIAN_RELEASE="testing"
- CONT_NAME="systemd-debian-$DEBIAN_RELEASE"
- DOCKER_EXEC="docker exec -ti $CONT_NAME"
before_install:
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
- docker --version
install:
- $CI_MANAGERS/fedora.sh SETUP
- $CI_MANAGERS/debian.sh SETUP
script:
- set -e
- $CI_MANAGERS/fedora.sh RUN_CLANG
- $CI_MANAGERS/debian.sh RUN_CLANG
- set +e
after_script:
- $CI_MANAGERS/fedora.sh CLEANUP
- $CI_MANAGERS/debian.sh CLEANUP
- name: Fedora Latest (clang ASan+UBSan)
- name: Debian Testing (clang ASan+UBSan)
language: bash
env:
- FEDORA_RELEASE="latest"
- CONT_NAME="systemd-fedora-$FEDORA_RELEASE"
- DEBIAN_RELEASE="testing"
- CONT_NAME="systemd-debian-$DEBIAN_RELEASE"
- DOCKER_EXEC="docker exec -ti $CONT_NAME"
before_install:
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
- docker --version
install:
- $CI_MANAGERS/fedora.sh SETUP
- $CI_MANAGERS/debian.sh SETUP
script:
- set -e
- $CI_MANAGERS/fedora.sh RUN_CLANG_ASAN
- $CI_MANAGERS/debian.sh RUN_CLANG_ASAN
- set +e
after_script:
- $CI_MANAGERS/fedora.sh CLEANUP
- $CI_MANAGERS/debian.sh CLEANUP
- name: Debian Testing
- name: Ubuntu Xenial
language: bash
env:
- DEBIAN_RELEASE="testing"
- CONT_NAME="systemd-debian-$DEBIAN_RELEASE"
- DOCKER_EXEC="docker exec -ti $CONT_NAME"
before_install:
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
- docker --version
install:
- $CI_MANAGERS/debian.sh SETUP
script:
- set -e
- $CI_MANAGERS/debian.sh RUN
- sudo $CI_MANAGERS/xenial.sh
- set +e
after_script:
- $CI_MANAGERS/debian.sh CLEANUP
- stage: Coverity
language: bash
......
This diff is collapsed.
......@@ -163,14 +163,16 @@ REQUIREMENTS:
docbook-xsl (optional, required for documentation)
xsltproc (optional, required for documentation)
python-lxml (optional, required to build the indices)
python >= 3.5, meson >= 0.46, ninja
python >= 3.5
meson >= 0.46 (>= 0.49 is required to build position-independent executables)
ninja
gcc, awk, sed, grep, m4, and similar tools
During runtime, you need the following additional
dependencies:
util-linux >= v2.27.1 required
dbus >= 1.9.14 (strictly speaking optional, but recommended)
dbus >= 1.4.0 (strictly speaking optional, but recommended)
NOTE: If using dbus < 1.9.18, you should override the default
policy directory (--with-dbuspolicydir=/etc/dbus-1/system.d).
dracut (optional)
......
......@@ -3,7 +3,6 @@
<a href="https://in.waw.pl/systemd-github-state/systemd-systemd-issues.svg"><img align="right" src="https://in.waw.pl/systemd-github-state/systemd-systemd-issues-small.svg" alt="Count of open issues over time"></a>
<a href="https://in.waw.pl/systemd-github-state/systemd-systemd-pull-requests.svg"><img align="right" src="https://in.waw.pl/systemd-github-state/systemd-systemd-pull-requests-small.svg" alt="Count of open pull requests over time"></a>
[![Semaphore CI Build Status](https://semaphoreci.com/api/v1/projects/28a5a3ca-3c56-4078-8b5e-7ed6ef912e14/443470/shields_badge.svg)](https://semaphoreci.com/systemd/systemd)<br/>
[![Coverity Scan Status](https://scan.coverity.com/projects/350/badge.svg)](https://scan.coverity.com/projects/350)<br/>
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/1369/badge)](https://bestpractices.coreinfrastructure.org/projects/1369)<br/>
[![Travis CI Build Status](https://travis-ci.org/systemd/systemd.svg?branch=master)](https://travis-ci.org/systemd/systemd)<br/>
[![Language Grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/systemd/systemd.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/systemd/systemd/context:cpp)<br/>
......
......@@ -58,7 +58,7 @@ Features:
* when a socket unit is spawned with an AF_UNIX path in /var/run, complain and
patch it to use /run instead
* set memory.oom.group in cgroupsv2 for all leaf cgroups (kernel v4.19+)
* set memory.oom.group in cgroup v2 for all leaf cgroups (kernel v4.19+)
* add a new syscall group "@esoteric" for more esoteric stuff such as bpf() and
usefaultd() and make systemd-analyze check for it.
......@@ -1114,3 +1114,5 @@ Regularly:
* use secure_getenv() instead of getenv() where appropriate
* link up selected blog stories from man pages and unit files Documentation= fields
String is not UTF-8 clean, ignoring assignment
timedatex.service: Consumed 26ms CPU time.
---
title: Automatic Boot Assessment
---
# Automatic Boot Assessment
systemd provides support for automatically reverting back to the previous
......
---
title: Locking Block Device Access
---
# Locking Block Device Access
*TL;DR: Use BSD file locks
......
---
title: The Boot Loader Interface
---
# The Boot Loader Interface
systemd can interface with the boot loader to receive performance data and
......
---
title: The Boot Loader Specification
---
# The Boot Loader Specification
_TL;DR: Currently there's little cooperation between multiple distributions in dual-boot (or triple, ... multi-boot) setups, and we'd like to improve this situation by getting everybody to commit to a single boot configuration format that is based on drop-in files, and thus is robust, simple, works without rewriting configuration files and is free of namespace clashes._
......
This diff is collapsed.
---
title: The systemd Community Conduct Guidelines
---
# The systemd Community Conduct Guidelines
This document provides community guidelines for a safe, respectful, productive, and collaborative place for any person who is willing to contribute to systemd. It applies to all “collaborative spaces”, which is defined as community communications channels (such as mailing lists, submitted patches, commit comments, etc.).
......
---
title: Code Quality Tools
---
# Code Quality Tools
The systemd project has a number of code quality tools set up in the source
......
---
title: Coding Style
---
# Coding Style
- 8ch indent, no tabs, except for files in `man/` which are 2ch indent,
......@@ -126,8 +130,8 @@
}
```
- Unless you allocate an array, `double` is always the better choice
than `float`. Processors speak `double` natively anyway, so this is
- Unless you allocate an array, `double` is always a better choice
than `float`. Processors speak `double` natively anyway, so there is
no speed benefit, and on calls like `printf()` `float`s get promoted
to `double`s anyway, so there is no point.
......
---
title: Contributing
---
# Contributing
We welcome contributions from everyone. However, please follow the following guidelines when posting a GitHub Pull Request or filing a GitHub Issue on the systemd project:
......
---
title: Porting systemd To New Distributions
---
# Porting systemd To New Distributions
## HOWTO
......
---
title: Known Environment Variables
---
# Known Environment Variables
A number of systemd components take additional runtime parameters via
......
---
title: Hacking on systemd
---
# Hacking on systemd
We welcome all contributions to systemd. If you notice a bug or a missing
......
---
title: Portable Services Introduction
---
# Portable Services Introduction
This systemd version includes a preview of the "portable service"
......@@ -85,8 +89,9 @@ If you have portable service image, maybe in a raw disk image called
This command does the following:
1. It dissects the image, checks and validates the `/etc/os-release` data of
the image, and looks for all included unit files.
1. It dissects the image, checks and validates the `/etc/os-release`
(or `/usr/lib/os-release`, see below) data of the image, and looks for
all included unit files.
2. It copies out all unit files with a suffix of `.service`, `.socket`,
`.target`, `.timer` and `.path`. whose name begins with the image's name
......@@ -166,8 +171,11 @@ requirements are made for an image that can be attached/detached with
image. (The implementation will check a couple of other paths too, but it's
recommended to use these two paths.)
4. The image must contain an os-release file, either in /etc/os-release or
/usr/lib/os-release. The file should follow the standard format.
4. The image must contain an os-release file, either in `/etc/os-release` or
`/usr/lib/os-release`. The file should follow the standard format.
5. The image must contain the files `/etc/resolv.conf` and `/etc/machine-id`
(empty files are ok), they will be bind mounted from the host at runtime.
Note that generally images created by tools such as `debootstrap`, `dnf
--installroot=` or `mkosi` qualify for all of the above in one way or
......
---
title: Predictable Network Interface Names
---
# Predictable Network Interface Names
Starting with v197 systemd/udev will automatically assign predictable, stable network interface names for all local Ethernet, WLAN and WWAN interfaces. This is a departure from the traditional interface naming scheme ("eth0", "eth1", "wlan0", ...), but should fix real problems.
......
---
title: Steps to a Successful Release
---
# Steps to a Successful Release
1. Add all items to NEWS
......
---
title: What settings are currently available for transient units?
---
# What settings are currently available for transient units?
Our intention is to make all settings that are available as unit file settings
......
---
title: Notes for Translators
---
# Notes for Translators
systemd depends on the `gettext` package for multilingual support.
......
---
title: Users, Groups, UIDs and GIDs on `systemd` Systems
---
# Users, Groups, UIDs and GIDs on `systemd` Systems
Here's a summary of the requirements `systemd` (and Linux) make on UID/GID
......
---
title: systemd Documentation
---
# systemd Documentation
* [Automatic Boot Assessment](https://systemd.io/AUTOMATIC_BOOT_ASSESSMENT)
* [Locking Block Device Access](https://systemd.io/BLOCK_DEVICE_LOCKING)
* [The Boot Loader Interface](https://systemd.io/BOOT_LOADER_INTERFACE)
* [The Boot Loader Specification](https://systemd.io/BOOT_LOADER_SPECIFICATION)
* [Control Group APIs and Delegation](https://systemd.io/CGROUP_DELEGATION)
* [The systemd Community Conduct Guidelines](https://github.com/systemd/systemd/blob/master/docs/CODE_OF_CONDUCT.md)
* [Code Quality Tools](https://systemd.io/CODE_QUALITY)
* [Coding Style](https://systemd.io/CODING_STYLE)
* [Contributing](https://github.com/systemd/systemd/blob/master/docs/CONTRIBUTING.md)
* [Porting systemd To New Distributions](https://systemd.io/DISTRO_PORTING)
* [Predictable Network Interface Names](https://systemd.io/PREDICTABLE_INTERFACE_NAMES)
* [Known Environment Variables](https://systemd.io/ENVIRONMENT)
* [Hacking on systemd](https://systemd.io/HACKING)
* [Portable Services Introduction](https://systemd.io/PORTABLE_SERVICES)
* [Steps to a Successful Release](https://systemd.io/RELEASE)
* [What settings are currently available for transient units?](https://systemd.io/TRANSIENT-SETTINGS)
* [Notes for Translators](https://systemd.io/TRANSLATORS)
* [Users, Groups, UIDs and GIDs on `systemd` Systems](https://systemd.io/UIDS-GIDS)
{% for p in site.pages %}
{% if p.url != page.url and p.title %}
* [{{ p.title }}]({{ p.url | relative_url }})
{% endif %}
{% endfor %}
This diff is collapsed.
......@@ -24,6 +24,9 @@ acpi:AMDI*:
acpi:AMPC*:
ID_VENDOR_FROM_DATABASE=Ampere Computing
acpi:AMZN*:
ID_VENDOR_FROM_DATABASE=Amazon Corporation
acpi:APMC*:
ID_VENDOR_FROM_DATABASE=Applied Micro Circuits Corporation
......@@ -120,6 +123,9 @@ acpi:HTLM*:
acpi:HWPE*:
ID_VENDOR_FROM_DATABASE=Hewlett Packard Enterprise
acpi:HXTS*:
ID_VENDOR_FROM_DATABASE=Guizhou Huaxintong Semiconductor Technology Co., Ltd
acpi:IBMX*:
ID_VENDOR_FROM_DATABASE=IBM
......@@ -1947,6 +1953,9 @@ acpi:DMC*:
acpi:DMM*:
ID_VENDOR_FROM_DATABASE=Dimond Multimedia Systems Inc
acpi:DMN*:
ID_VENDOR_FROM_DATABASE=Dimension Engineering LLC
acpi:DMO*:
ID_VENDOR_FROM_DATABASE=Data Modul AG
......@@ -5547,6 +5556,9 @@ acpi:QLC*:
acpi:QQQ*:
ID_VENDOR_FROM_DATABASE=Chuomusen Co., Ltd.
acpi:QSC*:
ID_VENDOR_FROM_DATABASE=QSC, LLC
acpi:QSI*:
ID_VENDOR_FROM_DATABASE=Quantum Solutions, Inc.
......
--- 20-acpi-vendor.hwdb.base 2018-12-20 16:29:34.999977602 +0100
+++ 20-acpi-vendor.hwdb 2018-12-20 16:29:35.022977859 +0100
--- 20-acpi-vendor.hwdb.base 2019-02-14 10:59:47.388792656 +0100
+++ 20-acpi-vendor.hwdb 2019-02-14 10:59:47.398792674 +0100
@@ -3,6 +3,8 @@
# Data imported from:
# http://www.uefi.org/uefi-pnp-export
......@@ -19,7 +19,7 @@
acpi:AMDI*:
ID_VENDOR_FROM_DATABASE=AMD
@@ -271,6 +270,9 @@
@@ -277,6 +276,9 @@
acpi:AAA*:
ID_VENDOR_FROM_DATABASE=Avolites Ltd
......@@ -29,7 +29,7 @@
acpi:AAE*:
ID_VENDOR_FROM_DATABASE=Anatek Electronics Inc.
@@ -298,6 +300,9 @@
@@ -304,6 +306,9 @@
acpi:ABO*:
ID_VENDOR_FROM_DATABASE=D-Link Systems Inc
......@@ -39,7 +39,7 @@
acpi:ABS*:
ID_VENDOR_FROM_DATABASE=Abaco Systems, Inc.
@@ -343,7 +348,7 @@
@@ -349,7 +354,7 @@
acpi:ACO*:
ID_VENDOR_FROM_DATABASE=Allion Computer Inc.
......@@ -48,7 +48,7 @@
ID_VENDOR_FROM_DATABASE=Aspen Tech Inc
acpi:ACR*:
@@ -616,6 +621,9 @@
@@ -622,6 +627,9 @@
acpi:AMT*:
ID_VENDOR_FROM_DATABASE=AMT International Industry
......@@ -58,7 +58,7 @@
acpi:AMX*:
ID_VENDOR_FROM_DATABASE=AMX LLC
@@ -664,6 +672,9 @@
@@ -670,6 +678,9 @@
acpi:AOA*:
ID_VENDOR_FROM_DATABASE=AOpen Inc.
......@@ -68,7 +68,7 @@
acpi:AOE*:
ID_VENDOR_FROM_DATABASE=Advanced Optics Electronics, Inc.
@@ -673,6 +684,9 @@
@@ -679,6 +690,9 @@
acpi:AOT*:
ID_VENDOR_FROM_DATABASE=Alcatel
......@@ -78,7 +78,7 @@
acpi:APC*:
ID_VENDOR_FROM_DATABASE=American Power Conversion
@@ -848,7 +862,7 @@
@@ -854,7 +868,7 @@
ID_VENDOR_FROM_DATABASE=Alps Electric Inc
acpi:AUO*:
......@@ -87,7 +87,7 @@
acpi:AUR*:
ID_VENDOR_FROM_DATABASE=Aureal Semiconductor
@@ -928,6 +942,9 @@
@@ -934,6 +948,9 @@
acpi:AXE*:
ID_VENDOR_FROM_DATABASE=Axell Corporation
......@@ -97,7 +97,7 @@
acpi:AXI*:
ID_VENDOR_FROM_DATABASE=American Magnetics
@@ -1075,6 +1092,9 @@
@@ -1081,6 +1098,9 @@
acpi:BML*:
ID_VENDOR_FROM_DATABASE=BIOMED Lab
......@@ -107,7 +107,7 @@
acpi:BMS*:
ID_VENDOR_FROM_DATABASE=BIOMEDISYS
@@ -1087,6 +1107,9 @@
@@ -1093,6 +1113,9 @@
acpi:BNO*:
ID_VENDOR_FROM_DATABASE=Bang & Olufsen
......@@ -117,7 +117,7 @@
acpi:BNS*:
ID_VENDOR_FROM_DATABASE=Boulder Nonlinear Systems
@@ -1327,6 +1350,9 @@
@@ -1333,6 +1356,9 @@
acpi:CHA*:
ID_VENDOR_FROM_DATABASE=Chase Research PLC
......@@ -127,7 +127,7 @@
acpi:CHD*:
ID_VENDOR_FROM_DATABASE=ChangHong Electric Co.,Ltd
@@ -1480,6 +1506,9 @@
@@ -1486,6 +1512,9 @@
acpi:COD*:
ID_VENDOR_FROM_DATABASE=CODAN Pty. Ltd.
......@@ -137,7 +137,7 @@
acpi:COI*:
ID_VENDOR_FROM_DATABASE=Codec Inc.
@@ -1883,7 +1912,7 @@
@@ -1889,7 +1918,7 @@
ID_VENDOR_FROM_DATABASE=Dragon Information Technology
acpi:DJE*:
......@@ -146,7 +146,7 @@
acpi:DJP*:
ID_VENDOR_FROM_DATABASE=Maygay Machines, Ltd
@@ -2206,6 +2235,9 @@
@@ -2215,6 +2244,9 @@
acpi:EIN*:
ID_VENDOR_FROM_DATABASE=Elegant Invention
......@@ -156,7 +156,7 @@
acpi:EKA*:
ID_VENDOR_FROM_DATABASE=MagTek Inc.
@@ -2464,6 +2496,9 @@
@@ -2473,6 +2505,9 @@
acpi:FCG*:
ID_VENDOR_FROM_DATABASE=First International Computer Ltd
......@@ -166,7 +166,7 @@
acpi:FCS*:
ID_VENDOR_FROM_DATABASE=Focus Enhancements, Inc.
@@ -2834,7 +2869,7 @@
@@ -2843,7 +2878,7 @@
ID_VENDOR_FROM_DATABASE=General Standards Corporation
acpi:GSM*:
......@@ -175,7 +175,7 @@
acpi:GSN*:
ID_VENDOR_FROM_DATABASE=Grandstream Networks, Inc.