]>
err.no Git - util-linux/log
LaMont Jones [Sat, 4 Aug 2007 18:34:27 +0000 (12:34 -0600)]
changelog
LaMont Jones [Sat, 4 Aug 2007 03:40:43 +0000 (21:40 -0600)]
Merge branch 'master' into ubuntu-v2.13
Conflicts:
debian/changelog
debian/control
debian/rules
Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
LaMont Jones [Fri, 3 Aug 2007 15:57:32 +0000 (09:57 -0600)]
mount.preinst: deal with no /proc/mounts
LaMont Jones [Thu, 2 Aug 2007 14:36:02 +0000 (08:36 -0600)]
changelog
LaMont Jones [Thu, 2 Aug 2007 14:35:07 +0000 (08:35 -0600)]
swapoff: correctly handle UUID= and LABEL= identifiers
While parsing /etc/fstab, swapoff did not make provision for UUID= and
LABEL= identifiers. Added logic similar to swapon -a code.
Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
LaMont Jones [Wed, 1 Aug 2007 14:07:41 +0000 (08:07 -0600)]
more stuff from upstream
LaMont Jones [Wed, 1 Aug 2007 04:34:49 +0000 (22:34 -0600)]
release
LaMont Jones [Wed, 1 Aug 2007 04:30:21 +0000 (22:30 -0600)]
mount.preinst: update error message to be more specific; more bug numbers for changelog
Flávio Leitner [Tue, 31 Jul 2007 10:42:14 +0000 (12:42 +0200)]
mount: should set proper permissions on locktime
When creating the "/etc/mtab~" lockfile (specifically 'linktargetfile' in the
lock_mtab function), the file is created with incorrect permissions ('000')
which necessitates root to leverage CAP_DAC_OVERRIDE. If proper file modes (it
would appear 0600 would be sufficient) were used in the open this would
function properly with CAP_DAC_OVERRIDE revoked.
$ sysctl -w kernel.cap-bound=0xf7fd7df5
$ mount -t tmpfs /dev/swap /mnt
can't open lock file /etc/mtab~: Permission denied (use -n flag to override)
Signed-off-by: Flávio Leitner <fleitner@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
LaMont Jones [Tue, 31 Jul 2007 05:01:29 +0000 (23:01 -0600)]
snprintf always NULL terminates
LaMont Jones [Mon, 30 Jul 2007 23:37:02 +0000 (17:37 -0600)]
look in the right place
LaMont Jones [Mon, 30 Jul 2007 14:52:05 +0000 (08:52 -0600)]
BUILD: do not deliver arch binary
LaMont Jones [Mon, 30 Jul 2007 14:09:52 +0000 (08:09 -0600)]
mount: fail in preinst if newer nfs-common is needed
LaMont Jones [Mon, 30 Jul 2007 07:07:49 +0000 (01:07 -0600)]
Recommend: nfs-common
LaMont Jones [Sun, 29 Jul 2007 22:26:17 +0000 (16:26 -0600)]
BUILD: use libvolume-id-dev now that debian has new enough udev
LaMont Jones [Sun, 29 Jul 2007 17:31:47 +0000 (11:31 -0600)]
merge from debian
LaMont Jones [Sun, 29 Jul 2007 05:32:06 +0000 (23:32 -0600)]
release
LaMont Jones [Sun, 29 Jul 2007 04:51:37 +0000 (22:51 -0600)]
add missing braces in logger.c
LaMont Jones [Sun, 29 Jul 2007 04:42:26 +0000 (22:42 -0600)]
start uploading to unstable
LaMont Jones [Sun, 29 Jul 2007 04:42:00 +0000 (22:42 -0600)]
fix logger.c the rest of the way
LaMont Jones [Sun, 29 Jul 2007 04:33:29 +0000 (22:33 -0600)]
merge upstream
Matthias Koenig [Wed, 18 Jul 2007 14:15:46 +0000 (16:15 +0200)]
disk-utils: let mkfs tools open with O_EXCL
Let mkswap, mkfs.bfs, mkfs.minix open with O_EXCL if
used on block devices to prevent writing to the device
even if they are busy (mounted).
Unfortunately, O_EXCL has zero effect for 2.4 kernels where
in-kernel code doesn't use O_EXCL-like access locks. (Tested
on RHEL3.)
Signed-off-by: Matthias Koenig <mkoenig@suse.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 27 Jul 2007 10:12:00 +0000 (12:12 +0200)]
remove hardcoded package name from some utils
We have PACKAGE_STRING in config.h that includes package name and
version. It's better to use this macro that hardcoded strings.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 26 Jul 2007 13:21:50 +0000 (15:21 +0200)]
build-sys: fix directories in EXTRA_DIST
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 26 Jul 2007 12:39:03 +0000 (14:39 +0200)]
mount: fix -f -o remount
Bug:
$ mount -fv / -o remount
mount: according to mtab, /dev/sda3 is already mounted on /
Signed-off-by: Karel Zak <kzak@redhat.com>
LaMont Jones [Tue, 17 Jul 2007 23:48:10 +0000 (17:48 -0600)]
rdev: should be delivered on amd64 as well as i386.
Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
LaMont Jones [Tue, 17 Jul 2007 23:47:33 +0000 (17:47 -0600)]
agetty: fix short malloc in initstring handling
Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
Karel Zak [Wed, 25 Jul 2007 16:50:01 +0000 (18:50 +0200)]
docs: add rdev(8) between deprecated utils
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 25 Jul 2007 16:45:01 +0000 (18:45 +0200)]
build-sys: add ${AC,AP,AM,AH}_OPTS to autogen.sh
With this patch, you can define autotool options when you
need to generate build-system. For example:
$ AM_OPTS="--copy" ./autogen.sh
Signed-off-by: Karel Zak <kzak@redhat.com>
Moritz Muehlenhoff [Wed, 18 Jul 2007 22:29:13 +0000 (00:29 +0200)]
agetty: 8 bit characters on the Linux console lead to input corruption
8 bit characters on the Linux console lead to input corruption (e.g.
German umlauts). This is easily reproducable by inserting a login name with
umlaut and typing backspace afterwards.
agetty supports tty parity, which leads to getty treating these characters
as a 7bit char with set parity.
This patch by Samuel Thibault adds a new option -8 which disables parity
detection for ttys not used for serial logins.
| Note: With this patch, 8bit characters are just silently dropped (that's
| the expected getty behavior), this is quite neat since you then don't
| even need to backspace your 8bit characters :)
Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
Pádraig Brady [Wed, 25 Jul 2007 14:36:37 +0000 (15:36 +0100)]
look: man page clarification
* misc-utils/look.1: Clarify the default state of the -d and -f options
Signed-Off-By: Pádraig Brady <P@draigBrady.com>
Karel Zak [Wed, 25 Jul 2007 14:55:25 +0000 (16:55 +0200)]
mkswap: fix signedness problems and remove obsolete code
The UUID is unsigned char *
Signed-off-by: Karel Zak <kzak@redhat.com>
Matthias Koenig [Tue, 17 Jul 2007 14:00:32 +0000 (16:00 +0200)]
ionice: cleanup usage for idle class
The idle class has no class data. It will print a warning if
a prio argument is given for it, since this will be ignored.
Output for idle class will not contain prio data.
Signed-off-by: Matthias Koenig <mkoenig@suse.de>
Matthias Koenig [Tue, 24 Jul 2007 17:29:39 +0000 (19:29 +0200)]
mount: update xfs mount options
Signed-off-by: Matthias Koenig <mkoenig@suse.de>
Karel Zak [Tue, 24 Jul 2007 13:22:57 +0000 (15:22 +0200)]
script: improve quiet mode
script(1) is not consistent and writes "Script started on.." to
scriptfile, although the others messages are ignored when running
with '-q'.
Signed-off-by: Karel Zak <kzak@redhat.com>
Matthias Koenig [Wed, 18 Jul 2007 14:15:45 +0000 (16:15 +0200)]
mkswap: default to V1 in any case
mkswap(8) enforces to use v0 swap format when pagesize > 16kB.
(use case might be ppc64 with CONFIG_PPC_64K_PAGES).
As version 0 swap is not supported anymore by recent kernels, the
behaviour in this case is rather strange.
Here is a testcase:
for i in 4 8 16 32 64; do mkswap -p `expr $i \* 1024` ./swap.file; done
Setting up swapspace version 1, size =
4294963 kB
Using user-specified page size 8192, instead of the system values
4096/4096
Setting up swapspace version 1, size =
4294959 kB
Using user-specified page size 16384, instead of the system values
4096/4096
Setting up swapspace version 1, size =
4294950 kB
Using user-specified page size 32768, instead of the system values
4096/4096
Setting up swapspace version 0, size =
4294934 kB
Using user-specified page size 65536, instead of the system values
4096/4096
Setting up swapspace version 0, size =
4294901 kB
Signed-off-by: Matthias Koenig <mkoenig@suse.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Matthias Koenig [Wed, 18 Jul 2007 14:15:44 +0000 (16:15 +0200)]
readprofile: fix on ppc64
Fix inconsistency between kernel profiling and readprofile.
The range of kernel profiling is between _stext and _etext,
and readprofile tries to extract profiling for all the symbols in
/boot/System.map-2.6.16.11-7-ppc64 from /proc/profile, but there
are more symbols in /boot/System.map-2.6.16.11-7-ppc64 than those
between _stext and _etext.
Signed-off-by: Matthias Koenig <mkoenig@suse.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
LaMont Jones [Wed, 18 Jul 2007 05:32:03 +0000 (23:32 -0600)]
manpage typos
Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
LaMont Jones [Wed, 18 Jul 2007 04:34:04 +0000 (22:34 -0600)]
mount: mention hfsplus in mount manpage
Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
LaMont Jones [Wed, 18 Jul 2007 04:43:15 +0000 (22:43 -0600)]
logger: use snprintf instead of sprintf in logger.c
Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 23 Jul 2007 21:55:37 +0000 (23:55 +0200)]
fdisk: cleanup partname.c
Signed-off-by: Karel Zak <kzak@redhat.com>
Matthias Koenig [Tue, 17 Jul 2007 16:07:11 +0000 (18:07 +0200)]
fdisk: add support for udev persistent device names
udev names partitions with the extension "-partN" (where N is a
partition number).
Signed-off-by: Matthias Koenig <mkoenig@suse.de>
Karel Zak [Fri, 20 Jul 2007 13:08:54 +0000 (15:08 +0200)]
tests: use $AWK based on configure results
The hardcoded "gawk" seems like a bad idea.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 20 Jul 2007 12:43:49 +0000 (14:43 +0200)]
tests: add license notices, change from gplv2-only to gplv2-or-later
The previous "gplv2-only" was copy&past mistake. This re-licensing is
correct -- there is not any other contributor to this code.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 20 Jul 2007 12:43:49 +0000 (14:43 +0200)]
tests: add license notices, change from gplv2-only to gplv2-or-later
The previous "gplv2-only" was copy&past mistake. This re-licensing is
correct -- there is not any other contributor to this code.
Signed-off-by: Karel Zak <kzak@redhat.com>
Gabriel Barazer [Fri, 20 Jul 2007 15:11:38 +0000 (17:11 +0200)]
build-sys: missing header when NLS is disabled
Compiling utils fail when disable NLS with the --disable-nls switch.
"mkfs.c:46: error: 'LC_ALL' undeclared (first use in this function)"
It is due to a missing locale.h header : When enabling NLS, nls.h
includes libintl.h, which in turn includes locale.h. When disabling NLS,
libintl.h isn't anymore included nor locale.h, which is needed for the
setlocale() calls.
Signed-off-by: Gabriel Barazer <gabriel@oxeva.fr>
Signed-off-by: Karel Zak <kzak@redhat.com>
Mike Frysinger [Tue, 17 Jul 2007 20:47:43 +0000 (16:47 -0400)]
tests: use relative paths when sourcing files
The "." command will search $PATH before $PWD if the argument
specified contains no path qualifiers which can cause problems if
you happen to have something in $PATH named the same. The
attached patch changes all of the ". <foo>" in the tests subdir.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
LaMont Jones [Thu, 19 Jul 2007 03:37:56 +0000 (21:37 -0600)]
changelog
Moritz Muehlenhoff [Wed, 18 Jul 2007 22:29:13 +0000 (00:29 +0200)]
util-linux / git / first attempt
git is neat. It feels like tla, only with a usable interface,
less bugs and decent performance.
I'm not sure if I got all the git workflow correct, however first
patch attached. It's been tested and is clean and useful. (221290)
Can git commits be split afterwards? If I add a diff to debian/changelog
for closing a bug, does that interfere with pushing the code change
to the upstream, who doesn't care about debian/changelog?
Cheers,
Moritz
>From
2eebc2ad36cb04ca22c277b94b525f24437e44db Mon Sep 17 00:00:00 2001
From: Moritz Muehlenhoff <jmm@galadriel.localdomain>
Date: Wed, 18 Jul 2007 20:55:45 +0200
Subject: [PATCH] 8 bit characters on the Linux console lead to input corruption (e.g.
German umlauts). Easily reproducable by inserting a login name with
umlaut and typing backspace afterwards.
agetty supports tty paritys, which leads to getty treating these characters
as a 7bit char with set parity.
This patch by Samuel Thibault adds a new option -8 which disables parity
detection for ttys not used for serial logins.
| Note: With this patch, 8bit characters are just silently dropped (that's
| the expected getty behavior), this is quite neat since you then don't
| even need to backspace your 8bit characters :)
LaMont Jones [Thu, 19 Jul 2007 03:16:22 +0000 (21:16 -0600)]
use libvolume-id-dev
LaMont Jones [Thu, 19 Jul 2007 03:12:00 +0000 (21:12 -0600)]
merge ubuntu changes onto 2.13rc2
LaMont Jones [Thu, 19 Jul 2007 03:02:17 +0000 (21:02 -0600)]
2.12r-19ubuntu2
LaMont Jones [Thu, 19 Jul 2007 02:57:43 +0000 (20:57 -0600)]
2.12r-17ubuntu2
LaMont Jones [Thu, 19 Jul 2007 02:52:40 +0000 (20:52 -0600)]
2.12r-11ubuntu2
LaMont Jones [Thu, 19 Jul 2007 02:50:37 +0000 (20:50 -0600)]
2.12r-11ubuntu1
LaMont Jones [Thu, 19 Jul 2007 02:48:15 +0000 (20:48 -0600)]
2.12r-10ubuntu3
LaMont Jones [Thu, 19 Jul 2007 02:42:29 +0000 (20:42 -0600)]
2.12r-4ubuntu6
LaMont Jones [Thu, 19 Jul 2007 02:38:59 +0000 (20:38 -0600)]
2.12r-4ubuntu5
LaMont Jones [Thu, 19 Jul 2007 02:37:49 +0000 (20:37 -0600)]
2.12r-4ubuntu4
LaMont Jones [Thu, 19 Jul 2007 02:37:40 +0000 (20:37 -0600)]
2.12r-4ubuntu3
LaMont Jones [Thu, 19 Jul 2007 02:36:44 +0000 (20:36 -0600)]
2.12r-4ubuntu2
Karel Zak [Wed, 18 Jul 2007 22:38:00 +0000 (00:38 +0200)]
cytune: remove linux/tty.h inclusion
The <linux/tty.h> file is empty. It's __KERNEL__ only.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 18 Jul 2007 21:33:55 +0000 (23:33 +0200)]
build-sys: remove asm/page.h test
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 18 Jul 2007 08:46:42 +0000 (10:46 +0200)]
build-sys: add warning when libuuid is not found
Signed-off-by: Karel Zak <kzak@redhat.com>
LaMont Jones [Wed, 18 Jul 2007 05:37:54 +0000 (23:37 -0600)]
release
LaMont Jones [Wed, 18 Jul 2007 05:32:15 +0000 (23:32 -0600)]
changelog
LaMont Jones [Wed, 18 Jul 2007 05:32:03 +0000 (23:32 -0600)]
manpage typos
LaMont Jones [Wed, 18 Jul 2007 05:31:33 +0000 (23:31 -0600)]
copyright != license
LaMont Jones [Wed, 18 Jul 2007 04:44:21 +0000 (22:44 -0600)]
changelog
LaMont Jones [Wed, 18 Jul 2007 04:44:06 +0000 (22:44 -0600)]
add arch: m32r
LaMont Jones [Wed, 18 Jul 2007 04:43:15 +0000 (22:43 -0600)]
use snprintf instead of sprintf in logger.c
LaMont Jones [Wed, 18 Jul 2007 04:34:04 +0000 (22:34 -0600)]
mention hfsplus in mount manpage
LaMont Jones [Wed, 18 Jul 2007 00:02:48 +0000 (18:02 -0600)]
Revert "grammar nit" - it's not significant enough to worry about.
This reverts commit
e718f507fb993b4b40952dd14465a44b2cd724d2 .
LaMont Jones [Tue, 17 Jul 2007 23:35:49 +0000 (17:35 -0600)]
changelog
LaMont Jones [Tue, 17 Jul 2007 23:26:15 +0000 (17:26 -0600)]
Merge branch 'agetty'
LaMont Jones [Tue, 17 Jul 2007 23:26:02 +0000 (17:26 -0600)]
agetty historical (and broken) code
LaMont Jones [Tue, 17 Jul 2007 23:21:04 +0000 (17:21 -0600)]
Merge branch 'mount'
LaMont Jones [Tue, 17 Jul 2007 23:20:51 +0000 (17:20 -0600)]
Debian's hashed-passphrase implementation
LaMont Jones [Tue, 17 Jul 2007 23:08:00 +0000 (17:08 -0600)]
arch is dealt with upstream now
LaMont Jones [Tue, 17 Jul 2007 22:49:53 +0000 (16:49 -0600)]
--copy on automake call in autogen.sh
LaMont Jones [Tue, 17 Jul 2007 22:41:37 +0000 (16:41 -0600)]
rc2
LaMont Jones [Tue, 17 Jul 2007 14:21:35 +0000 (08:21 -0600)]
merge rc2
Karel Zak [Tue, 17 Jul 2007 11:22:11 +0000 (13:22 +0200)]
build-sys: release++
Increment release number to v2.13-rc2.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 17 Jul 2007 11:17:16 +0000 (13:17 +0200)]
po: update po files
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 17 Jul 2007 11:11:19 +0000 (13:11 +0200)]
docs: update release notes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 17 Jul 2007 09:44:34 +0000 (11:44 +0200)]
login-utils: remove deprecated sigsetmask() from wall
The sigsetmask() is deprecated in favor of sigprocmask().
Signed-off-by: Karel Zak <kzak@redhat.com>
Mike Frysinger [Sat, 14 Jul 2007 17:32:37 +0000 (13:32 -0400)]
fdisk: check returns in fdisk from partition changes
currently the code in fdisk which changes partition types is a bit fragile ...
it assumes the partition type succeeded instead of checking the user input or
for errors. ive tweaked the sub functions to return a value indicative of the
functions' success and fdisk now checks/reports based on that.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Matthias Koenig [Mon, 16 Jul 2007 11:10:59 +0000 (13:10 +0200)]
schedutils: fix chrt docs and pid=0 usage
Fix some documentation bugs for chrt.
Make it work with PID 0, which means current process.
Signed-off-by: Matthias Koenig <mkoenig@suse.de>
Matthias Koenig [Mon, 16 Jul 2007 10:09:37 +0000 (12:09 +0200)]
mount: add acl option documentation for ext3 and reiserfs
Signed-off-by: Matthias Koenig <mkoenig@suse.de>
Karel Zak [Mon, 16 Jul 2007 12:41:28 +0000 (14:41 +0200)]
login-utils: remove unwanted newlines from wall
Prevent wall from adding an empty newline to every new line.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 16 Jul 2007 11:56:08 +0000 (13:56 +0200)]
docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
Bernhard Walle [Fri, 13 Jul 2007 16:18:13 +0000 (18:18 +0200)]
misc-util: new rtcwake command
Signed-off-by: Bernhard Walle <bwalle@suse.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 16 Jul 2007 09:56:23 +0000 (11:56 +0200)]
ionice: prefer SYS_ioprio_{set,get} from glibc to hardcoded version
It's better to use glibc SYS_ioprio_{set,get} definitions rather than an
incomplete (not all archs) and hardcoded version from ionice.c.
Signed-off-by: Karel Zak <kzak@redhat.com>
LaMont Jones [Fri, 13 Jul 2007 14:52:56 +0000 (08:52 -0600)]
kfreebsd-amd64
LaMont Jones [Fri, 13 Jul 2007 14:50:58 +0000 (08:50 -0600)]
no libselinux on kfreebsd-amd64 either
LaMont Jones [Fri, 13 Jul 2007 14:23:23 +0000 (08:23 -0600)]
fix kfreebsd more.
Karel Zak [Thu, 12 Jul 2007 12:31:26 +0000 (14:31 +0200)]
build-sys: remove "make mrproper", git-clean is good enough
Signed-off-by: Karel Zak <kzak@redhat.com>
LaMont Jones [Thu, 12 Jul 2007 01:19:39 +0000 (19:19 -0600)]
mount depends: nfs-common, not util-linux
LaMont Jones [Wed, 11 Jul 2007 21:53:14 +0000 (15:53 -0600)]
cleanup Makefile.in crap the rest of the way
LaMont Jones [Wed, 11 Jul 2007 21:47:17 +0000 (15:47 -0600)]
Merge commit 'origin/master' into debian