1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 06:52:22 +03:00
The systemd System and Service Manager
Go to file
Franck Bui 5e37d1930b pid1: by default make user units inherit their umask from the user manager
This patch changes the way user managers set the default umask for the units it
manages.

Indeed one can expect that if user manager's umask is redefined through PAM
(via /etc/login.defs or pam_umask), all its children including the units it
spawns have their umask set to the new value.

Hence make user units inherit their umask value from their parent instead of
the hard coded value 0022 but allow them to override this value via their unit
file.

Note that reexecuting managers with 'systemctl daemon-reexec' after changing
UMask= has no effect. To take effect managers need to be restarted with
'systemct restart' instead. This behavior was already present before this
patch.

Fixes #6077.
2020-04-09 14:17:07 +02:00
.github github: remove direct paypal link 2020-02-05 21:29:34 +09:00
.lgtm/cpp-queries lgtm: complain about accept() [people should use accept4() instead, due to O_CLOEXEC] 2019-04-10 20:03:38 +02:00
.mkosi tree-wide: drop printk.devkmsg=on setting in various places 2020-03-03 15:02:53 +01:00
catalog Update Croatian translation (#15042) 2020-03-08 22:06:12 +01:00
coccinelle tree-wide: use empty-to-root a bit more 2019-07-16 12:40:22 +02:00
docs docs: fix typo 2020-03-06 22:58:53 +01:00
factory/etc home: add pam_systemd_home.so PAM hookup 2020-01-28 22:36:41 +01:00
hwdb.d Fix keys on Medion Akoya P6669 2020-03-19 10:10:29 +01:00
man pid1: by default make user units inherit their umask from the user manager 2020-04-09 14:17:07 +02:00
modprobe.d Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
network network: set AlternativeNamesPolicy= in 99-default.link 2019-12-17 15:44:48 +09:00
po po: update Ukrainian translation (#15228) 2020-03-26 18:45:41 +01:00
presets presets: enable systemd-pstore.service by default 2020-02-29 10:01:45 +01:00
rules.d rules.d: import the keyboard builtin instead of running it 2020-03-01 14:04:30 +01:00
semaphoreci ci: add new dependencies to CI 2020-01-28 22:38:22 +01:00
shell-completion portablectl: add --now and --enable to attach/detach 2020-02-07 17:09:05 +01:00
src pid1: by default make user units inherit their umask from the user manager 2020-04-09 14:17:07 +02:00
sysctl.d sysctl: set ipv4 settings in a race-free way 2020-02-04 00:01:50 +01:00
sysusers.d sysusers,tmpfiles: re-create systemd-network, systemd-resolve and systemd-timesync 2018-07-16 17:11:50 +02:00
test network: Fix split in SendOption= on client and server 2020-03-19 09:08:40 +01:00
tmpfiles.d tmpfiles: apply ACLs to top-level journal directory in /run, too 2020-01-31 15:04:12 +01:00
tools sd-bus: mark sd_bus_try_close() as deprecated 2020-03-18 19:57:44 +01:00
travis-ci ci: pass max_total_time to libFuzzer 2020-02-18 02:29:50 +03:00
units units: Don't mount tracefs in LXC 2020-03-23 08:34:48 +01:00
xorg scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
.ctags editors: Prevent ctags from following symlinks 2019-02-15 11:01:20 -08:00
.dir-locals.el scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
.editorconfig scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
.gitattributes
.gitignore gitignore: add nspawn image lock and mkosi temporary files 2018-09-07 20:00:22 +02:00
.lgtm.yml lgtm: drop the TMPDIR/meson workaround 2020-03-03 20:27:42 +01:00
.mailmap NEWS: update contributors list 2020-03-03 08:31:06 +01:00
.travis.yml travis: add missing closing quote sign 2019-11-24 13:15:20 +03:00
.vimrc scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
.ycm_extra_conf.py ycm: add doc string for all the functions in configuration file 2017-11-29 13:21:49 -07:00
azure-pipelines.yml Free up some resources on Azure Pipelines 2019-07-17 13:28:38 +09:00
configure treewide: more portable bash shebangs 2020-03-05 17:27:07 +01:00
fuzzbuzz.yaml ci: add new dependencies to CI 2020-01-28 22:38:22 +01:00
LICENSE.GPL2
LICENSE.LGPL2.1
Makefile build-sys: Fix Makefile wrapper for install target (#6548) 2017-08-07 11:29:20 +02:00
meson_options.txt timesync, meson: allow statically linked build 2020-03-04 10:46:10 +01:00
meson.build meson.build: drop unused SYSTEMD_SLEEP_BINARY_PATH 2020-03-09 14:52:30 +01:00
mkosi.build mkosi: let's update the boot loader also in /efi 2019-03-01 12:41:32 +01:00
mkosi.default mkosi: create .mkosi directory 2016-10-06 11:53:58 -04:00
NEWS NEWS: fix use of tabs instead of spaces for one item 2020-03-16 12:33:43 +09:00
README Revert "Drop dbus activation stub service" 2019-12-20 17:28:12 +01:00
README.md minor: avoid double title 2019-12-11 19:57:57 +01:00
TODO pid1: add new mode systemd.show-status=error and use it when 'quiet' is passed 2020-03-01 11:48:23 +01:00
zanata.xml po: add basic fedora.zanata.org configuration 2018-02-19 13:56:57 +01:00

Systemd

System and Service Manager

Count of open issues over time Count of open pull requests over time Semaphore CI Build Status
Coverity Scan Status
Fuzzit Status
OSS-Fuzz Status
CII Best Practices
Travis CI Build Status
Language Grade: C/C++
CentOS CI Build Status
Build Status

Details

General information about systemd can be found in the systemd Wiki.

Information about build requirements is provided in the README file.

Consult our NEWS file for information about what's new in the most recent systemd versions.

Please see the Hacking guide for information on how to hack on systemd and test your modifications.

Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.

When preparing patches for systemd, please follow our Coding Style Guidelines.

If you are looking for support, please contact our mailing list or join our IRC channel.

Stable branches with backported patches are available in the stable repo.