aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* rename_device: also support dracut-style kernel cmdline configurationLukas Nykryn2021-06-161-1/+43
| | | | | | | | There are 2 cases where this might be useful. * On machines with initrd build without dracut-network, you can now still use ifname option * On older kernels where double renaming was allowed, normal system replaced the name set by initrd.
* Revert "remove rename_device_lock when process does not exist"Jan Macku2021-01-211-13/+1
| | | This reverts commit dbff71b664c7536d09dc3172259d8984005b60fa.
* remove rename_device_lock when process does not existwangxp0062021-01-131-1/+13
| | | | if rename_device is killed during fopen period in take_lock ,LOCKFILE will not be remove in sighandler. Excute rename_device again, LOCKFILE is exist ,but the process with pid in LOCKFILE is not running, take_lock will never return.
* src/rename_device.c: GCC warnings about unused return value suppressedDavid Kaspar [Dee'Kej]2018-06-141-2/+3
|
* src/usernetctl.c: GCC warnings about unused return value suppressedDavid Kaspar [Dee'Kej]2018-06-141-2/+3
|
* src/consoletype.c: deprecation warning addedDavid Kaspar [Dee'Kej]2018-06-011-1/+4
|
* src/genhostid.c: deprecation warning addedDavid Kaspar [Dee'Kej]2018-06-011-0/+4
|
* src/genhostid.c: fixed to not override /etc/hostid if it already existsDavid Kaspar [Dee'Kej]2018-06-011-11/+20
| | | | Resolves: #105
* src/usleep.c: GCC warnings fixedDavid Kaspar [Dee'Kej]2018-06-011-2/+2
|
* netreport functionality droppedDavid Kaspar [Dee'Kej]2018-05-302-81/+1
| | | | This concept is quite outdated, and not sane to use at all.
* src/shvar.* removedDavid Kaspar [Dee'Kej]2018-05-303-500/+0
| | | | No longer build or used by anything else in initscripts.
* src/Makefile simplified & updated to new repository layoutDavid Kaspar [Dee'Kej]2018-05-303-58/+80
| | | | | The rules have been unified, build results are now in build/ subfolder, and it uses GNU naming for the system paths...
* Repository scheme updated to new layoutDavid Kaspar [Dee'Kej]2018-05-308-204/+0
| | | | | NOTE: This commit just moves files around, without actually fixing the Makefiles and specfile. See follow up commits which resolve this.
* usleep: change the error message to print the full replacement commandlineZbigniew Jędrzejewski-Szmek2017-09-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also drop the argv[0] as previx — the message already includes the name of the program. $ src/usleep 1 warning: usleep is deprecated, and will be removed in near future! warning: use "sleep 1e-06" instead... $ src/usleep 10 warning: usleep is deprecated, and will be removed in near future! warning: use "sleep 1e-05" instead... $ src/usleep 20 warning: usleep is deprecated, and will be removed in near future! warning: use "sleep 2e-05" instead... $ src/usleep 100 warning: usleep is deprecated, and will be removed in near future! warning: use "sleep 0.0001" instead... $ src/usleep 200 warning: usleep is deprecated, and will be removed in near future! warning: use "sleep 0.0002" instead... $ src/usleep 300 warning: usleep is deprecated, and will be removed in near future! warning: use "sleep 0.0003" instead... $ src/usleep 400 warning: usleep is deprecated, and will be removed in near future! warning: use "sleep 0.0004" instead... $ src/usleep 1000 warning: usleep is deprecated, and will be removed in near future! warning: use "sleep 0.001" instead... $ src/usleep 10000 warning: usleep is deprecated, and will be removed in near future! warning: use "sleep 0.01" instead... $ src/usleep 100000 warning: usleep is deprecated, and will be removed in near future! warning: use "sleep 0.1" instead... $ src/usleep 1000000 warning: usleep is deprecated, and will be removed in near future! warning: use "sleep 1" instead... $ src/usleep 10000000 warning: usleep is deprecated, and will be removed in near future! warning: use "sleep 10" instead... For very small and very large values, printf uses scientific notation, but that seems nicer than using %.f which would always leave trailing zeroes. sleep accepts scientific notation, so things should still work. https://bugzilla.redhat.com/show_bug.cgi?id=1494168
* Replace /var/run with /run everywhereZbigniew Jędrzejewski-Szmek2017-08-031-2/+2
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=1471489
* rename_device.c: rewrite of isCfg() functionDavid Kaspar [Dee'Kej]2017-05-251-12/+32
| | | | | * .orig & .old now recognized as config files * code cleanup
* usleep.1: Deprecation warning added into man pageDavid Kaspar [Dee'Kej]2017-05-251-0/+5
|
* usleep: print deprecation warning from now onDavid Kaspar [Dee'Kej]2017-05-241-0/+3
|
* remove ipcalc, it has its own package nowLukas Nykryn2015-05-184-681/+1
| | | | | new upstream: https://github.com/nmav/ipcalc
* rename_device: allow non-channel nics for s390x machinesLukas Nykryn2015-05-041-0/+9
|
* rename_devices: comments need to have a blank before themLukas Nykryn2014-09-161-6/+13
|
* use pie and relro by defaultLukas Nykryn2014-09-091-7/+7
|
* ipcalc: -c allow netmaskLukas Nykryn2014-06-061-2/+2
|
* ipcalc: parse prefix more safelyLukas Nykryn2014-06-061-2/+22
|
* move ppp support to ppp packageLukas Nykryn2014-04-243-897/+1
|
* rename_device: remove comments and trailing whitespacesLukas Nykryn2013-11-121-0/+8
|
* ipcalc: support RFC3021 (#997271)Lukas Nykryn2013-09-021-1/+6
|
* rename_device: don't wait for lock with lower permissionsLukas Nykryn2013-07-111-1/+3
| | | | | When running udevadm test as a normal user, rename_device hang for 20 seconds.
* Tweak ifup/ifdown usage and man page to more clearly state that they refer ↵Bill Nottingham2013-05-241-2/+2
| | | | to configurations, not devices.
* compile netreport and usernetctl with full RELRO and PIE (#853178)Lukas Nykryn2013-03-071-1/+7
|
* move stuff directly to /usr (#905492)Lukas Nykryn2013-03-071-9/+9
|
* Build with $RPM_LD_FLAGS.Ville Skyttä2013-01-201-0/+1
|
* Complete setsysfont removal.Bill Nottingham2012-12-072-23/+0
|
* Fix amazingly long-standing thinko in writing the pid file to the lock.Bill Nottingham2012-12-041-1/+4
|
* Drop fstab-decode and getkey; no longer used.Bill Nottingham2012-08-065-361/+1
| | | | Drop the umount loop from rc.d/init.d/functions.
* Drop testd test sysv script.Bill Nottingham2012-08-063-60/+1
|
* Initial removal of support for non-systemd systems.Bill Nottingham2012-08-065-531/+1
|
* Sync FSF address with current GPLv2.Ville Skyttä2012-06-2713-28/+28
|
* securetty: check if the device is in the file before attempting to write to itBill Nottingham2012-04-241-21/+37
| | | | This avoids spurious failures on RO root systems.
* rename_device: skip VLAN=yes configuration filesHarald Hoyer2011-11-021-1/+6
|
* Add freescale ttymx ports (#728730, <ndevos@redhat.com>)Bill Nottingham2011-08-081-0/+2
|
* Fix OMAP patch (#678875)Bill Nottingham2011-02-231-1/+6
|
* Support OMAP serial consoles (#678875, <ndevos@redhat.com>)Bill Nottingham2011-02-211-0/+2
|
* rename_device: dequote DEVICE="eth0"Harald Hoyer2010-07-261-1/+1
|
* rename_device: fix s390 subchannel readingHarald Hoyer2010-07-151-3/+4
|
* Add sushell, man page to manifests.Bill Nottingham2010-06-291-0/+2
|
* Don't directly execute bash for single-user mode, as that has SELinux ↵Bill Nottingham2010-06-292-0/+21
| | | | | | | | | | | issues. (#540216, #584443, #585053) If upstart directly runs bash for single-user mode, there's no way for SELinux to set the proper context (to distinguish it from other init scripts). Inserting a helper binary in the way allows for this. While we're changing this, we make it configurable so it's easily possible for people to use sulogin if they so desire.
* Tweak manpage so it formats correctly (#586476)Bill Nottingham2010-04-271-1/+2
|
* Move ccw_init and ccw udev rules to s390utils. (#539491)Bill Nottingham2010-02-152-44/+0
|
* Add more man pages (#529328, <plautrba@redhat.com>)Bill Nottingham2010-01-073-0/+39
|