Permalink
Switch branches/tags
Commits on Aug 13, 2014
  1. tmpfiles: Move relabelling before any other calls for device nodes

    perfinion committed with williamh Aug 13, 2014
    Device nodes are normally never device_t so this type does not
    have many permissions. After the mknod, the device should have
    its label corrected before any other operations (like chmod).
Commits on Aug 11, 2014
  1. rc.conf: document rc_verbose

    williamh committed Aug 11, 2014
  2. Show rc and runscript deprecation warnings in verbose mode

    williamh committed Aug 11, 2014
    These messages are being changed for this release to show in verbose
    mode because of the number of times they display.
Commits on Aug 10, 2014
  1. hwclock: fix comments about the usage of clock_hctosys

    williamh committed Aug 10, 2014
    The clock_hctosys variable should be set to YES if you are not using NTP to
    synchronize your system time; it doesn't have anything to do with the
    kernel configuration.
Commits on Aug 9, 2014
  1. sysctl.linux.in: use the --system option

    williamh committed Aug 7, 2014
    According to the sysctl man page, the --system option causes sysctl to
    process all system configuration files, which include the following:
    
    /run/sysctl.d/*.conf
    /etc/sysctl.d/*.conf
    /usr/local/lib/sysctl.d/*.conf
    /usr/lib/sysctl.d/*.conf
    /lib/sysctl.d/*.conf
    /etc/sysctl.conf
    
    X-Gentoo-Bug: 484796
    X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=484796
Commits on Aug 8, 2014
  1. devfs: several small clarifications

    williamh committed Aug 8, 2014
    - Rename the static_dev switch in conf.d/devfs to skip_mount_dev since
      this is a better description of what the switch does.
    
    - Clarify the error messages in the devfs service script based on the
      new name of the switch.
Commits on Aug 7, 2014
  1. tmpfiles.sh: do not use install

    perfinion committed with williamh Aug 5, 2014
    install is in /usr which causes problems if /usr is not mounted.
    Instead, checkpath and "mkdir -p" can do everything required and are
    both available before /usr is mounted.
    Since checkpath also handles selinux labels correctly,
    _restorecon after is not required.
    
    X-Gentoo-Bug: 503408
    X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=503408
Commits on Jul 28, 2014
  1. checkpath: apply ownership to all paths given on command line

    williamh committed Jul 28, 2014
    The stat structure was not being initialized correctly in do_check. This
    was causing the owner adjustment to be skipped if the first path had the
    correct owner.
    
    Also, the "correcting owner" message should always be printed when the
    owner is being changed.
    
    X-Gentoo-Bug: 518042
    X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=518042
Commits on Jul 25, 2014
  1. checkpath: style fix

    williamh committed Jul 25, 2014
Commits on Jul 24, 2014
  1. hwclock: always set the kernel's timezone

    williamh committed Jul 23, 2014
    The hwclock service should set the time zone regardless of the setting
    of the clock_hctosys variable. This needs to be done to prevent issues
    when the system time is being synchronized using ntp.
    
    X-Gentoo-Bug: 434410
    X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=434410
Commits on Jul 19, 2014
  1. src/rc/Makefile: typo fix

    williamh committed Jul 19, 2014
Commits on Jul 18, 2014
  1. rc-status: fix infinite loop when using stacked runlevels

    williamh committed Jul 18, 2014
    Remove the recursive call in print_stacked_services which was causing an
    infinite loop when using stacked runlevels.
    I would like to thank Doug Freed and Jason Zaman for assisting with
    tracking this down.
    
    X-Gentoo-Bug: 514972
    X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=514972
Commits on Jul 16, 2014
  1. devfs: fix restorecon ebegin message to match sys

    perfinion committed with williamh Jul 16, 2014
    X-Gentoo-Bug: 516956
    X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
  2. sysfs: restorecon after mounting /sys

    perfinion committed with williamh Jul 16, 2014
    X-Gentoo-Bug: 516956
    X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
  3. move the selinux_setup function into rc-selinux

    perfinion committed with williamh Jul 16, 2014
    X-Gentoo-Bug: 516956
    X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
  4. checkpath: style fixes

    williamh committed Jul 16, 2014
  5. style fixes

    williamh committed Jul 16, 2014
  6. Rename SELinux source files

    williamh committed Jul 16, 2014
    The name rc-selinux-util.* is a bit long, so I renamed the source files
    to rc-selinux.*
    
    X-Gentoo-Bug: 516956
    X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
  7. checkpath: restore the SELinux context

    perfinion committed with williamh Jul 15, 2014
    X-Gentoo-Bug: 516956
    X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
  8. devfs: fix SELinux contexts

    perfinion committed with williamh Jul 15, 2014
    SELinux contexts in /dev need to be fixed after it is mounted
    
    X-Gentoo-Bug: 516956
    X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
  9. tmpfiles: set the proper SELinux context

    perfinion committed with williamh Jul 15, 2014
    Restore the label on the created file / dir based on the policy
    fcontexts.
    
    X-Gentoo-Bug: 516956
    X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
Commits on Jul 15, 2014
  1. Add SELinux support to the build system

    williamh committed Jul 15, 2014
    X-Gentoo-Bug: 516956
    X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
Commits on Jul 14, 2014
  1. sysfs.in: fix indentation

    williamh committed Jul 14, 2014
Commits on Jul 13, 2014
  1. checkpath: fix logic for the writable option

    williamh committed Jul 13, 2014
    The -W option does not need an argument of its own; it can take the
    first path after all other options are processed on the command line.
    
    Also, move the processing for the -W option out of the switch so it will
    be in the same loop as the other processing.
  2. man/openrc.8: update checkpath documentation

    qnikst committed with williamh Feb 16, 2014
    X-GENTOO-BUG: 500606
    X-GENTOO-BUG-URL: https://bugs.gentoo.org/show_bug.cgi?id=500606
Commits on Jul 11, 2014
  1. typo fix

    qnikst committed with williamh Jul 11, 2014
  2. checkpath: report an error if required options were not specified

    williamh committed Jul 11, 2014
    Before this commit, not specifying -d, -f, -p or -W in a checkpath
    command meant the command exited successfully but actually did nothing.
    
    This is an error condition, so report it as such.
Commits on Jul 10, 2014
  1. Style Fixes

    williamh committed Jul 10, 2014
  2. cgroups: only run cgroup setup when starting a service

    qnikst committed with williamh Feb 16, 2014
    Status call should not set limits as it requires root permissions,
    also this is not safe, as current process may reach limitation.
    
    Solution is to set limits and move process to service cgroup only
    on start.
    
    X-GENTOO-BUG: 500364
    X-GENTOO-BUG-URL: https://bugs.gentoo.org/show_bug.cgi?id=500364