]>
err.no Git - util-linux/log
LaMont Jones [Wed, 3 Oct 2007 04:27:00 +0000 (22:27 -0600)]
Merge branch 'stable/v2.13'
Conflicts:
debian/changelog
LaMont Jones [Wed, 3 Oct 2007 03:52:54 +0000 (21:52 -0600)]
deliver hwclockfirst.sh on ubuntu as well. LP: #63175
LaMont Jones [Tue, 2 Oct 2007 04:17:46 +0000 (22:17 -0600)]
changelog: start new release
LaMont Jones [Tue, 2 Oct 2007 04:16:13 +0000 (22:16 -0600)]
Merge branch 'stable/v2.13'
Conflicts:
debian/changelog
LaMont Jones [Tue, 2 Oct 2007 04:00:43 +0000 (22:00 -0600)]
changelog
LaMont Jones [Mon, 1 Oct 2007 18:22:27 +0000 (12:22 -0600)]
fix messages in "hwclock.sh start". Closes: #436873
Signed-off-by: LaMont Jones <lamont@debian.org>
LaMont Jones [Thu, 27 Sep 2007 15:23:51 +0000 (09:23 -0600)]
Honor DEB_BUILD_OPTIONS=nostrip
LaMont Jones [Sun, 23 Sep 2007 22:13:36 +0000 (16:13 -0600)]
Merge commit 'origin/master'
LaMont Jones [Sun, 23 Sep 2007 22:13:23 +0000 (16:13 -0600)]
Merge commit 'origin/stable/v2.13' into stable/v2.13
Daniel Nylander [Sun, 23 Sep 2007 19:30:30 +0000 (21:30 +0200)]
po: update sv.po (from translationproject.org)
Ludwig Nussel [Thu, 20 Sep 2007 12:57:20 +0000 (14:57 +0200)]
mount: doesn't drop privileges properly when calling helpers
{,u}mount calls setuid() and setgid() in the wrong order and doesn't checking
the return value of set{u,g}id(() when running helpers like mount.nfs.
Signed-off-by: Ludwig Nussel <ludwig.nussel@suse.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Matthias Koenig [Thu, 20 Sep 2007 09:11:18 +0000 (11:11 +0200)]
hwclock: fix --rtc option
The --rtc option does not set the name of the device correctly.
It still uses /dev/rtc even if the --rtc option is given.
Testcase:
$ mv /dev/rtc /dev/foo
$ hwclock --show --debug --rtc=/dev/foo
hwclock from util-linux-2.13-rc2
Using /dev interface to clock.
Last drift adjustment done at
1190198135 seconds after 1969
Last calibration done at
1190198135 seconds after 1969
Hardware clock is on local time
Assuming hardware clock is kept in local time.
Waiting for clock tick...
hwclock: open() of /dev/rtc failed, errno=2: No such file or directory.
...got clock tick
Co-Author: Karel Zak <kzak@redhat.com>
Signed-off-by: Matthias Koenig <mkoenig@suse.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
LaMont Jones [Sat, 22 Sep 2007 04:38:32 +0000 (22:38 -0600)]
setarch: fix compiler warning
NULL is not 0L. It's (void*)0. Passing that as a parameter to a function
that takes an unsigned long results in a warning about the lack of a cast.
Signed-off-by: LaMont Jones <lamont@debian.org>
LaMont Jones [Sat, 22 Sep 2007 04:38:32 +0000 (22:38 -0600)]
setarch: fix compiler warning
NULL is not 0L. It's (void*)0. Passing that as a parameter to a function
that takes an unsigned long results in a warning about the lack of a cast.
Signed-off-by: LaMont Jones <lamont@debian.org>
Ludwig Nussel [Thu, 20 Sep 2007 12:57:20 +0000 (14:57 +0200)]
mount: doesn't drop privileges properly when calling helpers
{,u}mount calls setuid() and setgid() in the wrong order and doesn't checking
the return value of set{u,g}id(() when running helpers like mount.nfs.
Signed-off-by: Ludwig Nussel <ludwig.nussel@suse.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Daniel Nylander [Sun, 23 Sep 2007 19:30:30 +0000 (21:30 +0200)]
po: update sv.po (from translationproject.org)
Karel Zak [Sun, 23 Sep 2007 19:22:54 +0000 (21:22 +0200)]
docs: update TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
LaMont Jones [Sat, 22 Sep 2007 04:41:41 +0000 (22:41 -0600)]
Merge commit 'origin/master'
LaMont Jones [Sat, 22 Sep 2007 04:38:32 +0000 (22:38 -0600)]
setarch: fix compiler warning
NULL is not 0L. It's (void*)0. Passing that as a parameter to a function
that takes an unsigned long results in a warning about the lack of a cast.
Signed-off-by: LaMont Jones <lamont@debian.org>
LaMont Jones [Sat, 22 Sep 2007 04:18:59 +0000 (22:18 -0600)]
Merge branch 'stable/v2.13'
Conflicts:
debian/changelog
LaMont Jones [Sat, 22 Sep 2007 04:10:47 +0000 (22:10 -0600)]
changelog
LaMont Jones [Sat, 22 Sep 2007 03:52:46 +0000 (21:52 -0600)]
cfdisk.8: mention slang next to curses. Closes: #295487
LaMont Jones [Sat, 22 Sep 2007 03:51:01 +0000 (21:51 -0600)]
util-linux.postrm: remove /etc/adjtime on purge. Closes: #245236
Signed-off-by: LaMont Jones <lamont@debian.org>
LaMont Jones [Fri, 21 Sep 2007 20:01:04 +0000 (14:01 -0600)]
hwclock: Reintroduce hwclockfirst.sh on Debian machines. Closes: #443487
If /etc/localtime is a readable file, then set the time in hwclockfirst.sh
before mounting the root partition. Many thanks to Ted T'so for the details
(found in the bug report.)
LaMont Jones [Fri, 21 Sep 2007 19:23:55 +0000 (13:23 -0600)]
mount.preinst: chroot-check was broken. Closes: #443466
LaMont Jones [Fri, 21 Sep 2007 19:23:39 +0000 (13:23 -0600)]
changelog: start new release
LaMont Jones [Fri, 21 Sep 2007 16:42:22 +0000 (10:42 -0600)]
merge v2.13-6
LaMont Jones [Fri, 21 Sep 2007 16:37:01 +0000 (10:37 -0600)]
changelog
LaMont Jones [Fri, 21 Sep 2007 16:20:51 +0000 (10:20 -0600)]
sparc-utils 'sparc64' binary sets ADDR_LIMIT_32BIT. Closes: LP#141524
The sparc64 binary in the existing sparc-utils package sets ADDR_LIMIT_32BIT.
Cause setarch to behave likewise when invoked as 'sparc64'.
Signed-off-by: LaMont Jones <lamont@debian.org>
Karel Zak [Thu, 20 Sep 2007 22:34:30 +0000 (00:34 +0200)]
login: login segfaults on EOF (rh#298461)
Stupid bug in audit code:
$ login
login: ^D
login: ^D
Segmentation fault
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 20 Sep 2007 22:34:30 +0000 (00:34 +0200)]
login: login segfaults on EOF (rh#298461)
Stupid bug in audit code:
$ login
login: ^D
login: ^D
Segmentation fault
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 20 Sep 2007 12:33:31 +0000 (14:33 +0200)]
ionice: add a note about permissions to ionice.1
Signed-off-by: Karel Zak <kzak@redhat.com>
Matthias Koenig [Thu, 20 Sep 2007 09:11:18 +0000 (11:11 +0200)]
hwclock: fix --rtc option
The --rtc option does not set the name of the device correctly.
It still uses /dev/rtc even if the --rtc option is given.
Testcase:
$ mv /dev/rtc /dev/foo
$ hwclock --show --debug --rtc=/dev/foo
hwclock from util-linux-2.13-rc2
Using /dev interface to clock.
Last drift adjustment done at
1190198135 seconds after 1969
Last calibration done at
1190198135 seconds after 1969
Hardware clock is on local time
Assuming hardware clock is kept in local time.
Waiting for clock tick...
hwclock: open() of /dev/rtc failed, errno=2: No such file or directory.
...got clock tick
Co-Author: Karel Zak <kzak@redhat.com>
Signed-off-by: Matthias Koenig <mkoenig@suse.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 19 Sep 2007 22:57:01 +0000 (00:57 +0200)]
build-sys: remove hardcoded _GNU_SOURCE
We have AC_GNU_SOURCE, so we needn't any extra hardcoded _GNU_SOURCE.
Signed-off-by: Karel Zak <kzak@redhat.com>
Mike Frysinger [Fri, 7 Sep 2007 00:30:16 +0000 (20:30 -0400)]
build-sys: nls/locale handling in util-linux-ng general
On Monday 03 September 2007, Karel Zak wrote:
> http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/590/focus=592
>
> I agree that we need a better support for compilation without
> locales, but from my point of view NLS != all locales stuff. The NLS
> support is subset only.
thinking about the input from everyone, i'd propose the attached ...
Only pull in locale.h as needed and move it to the common nls.h.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Li Zefan [Mon, 10 Sep 2007 09:25:10 +0000 (17:25 +0800)]
blockdev: add missing description about option --report in manpage
The manpage does not mention the option --report.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Karel Zak [Wed, 19 Sep 2007 22:23:07 +0000 (00:23 +0200)]
namei: cleanup tailing white-spaces
Signed-off-by: Karel Zak <kzak@redhat.com>
Mike Frysinger [Fri, 7 Sep 2007 14:55:36 +0000 (16:55 +0200)]
build-sys: unify method for checking system calls and fallback handling
Co-Author: Stepan Kasal <skasal@redhat.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Stepan Kasal <skasal@redhat.com>
Mike Frysinger [Fri, 7 Sep 2007 00:30:16 +0000 (20:30 -0400)]
build-sys: nls/locale handling in util-linux-ng general
On Monday 03 September 2007, Karel Zak wrote:
> http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/590/focus=592
>
> I agree that we need a better support for compilation without
> locales, but from my point of view NLS != all locales stuff. The NLS
> support is subset only.
thinking about the input from everyone, i'd propose the attached ...
Only pull in locale.h as needed and move it to the common nls.h.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Li Zefan [Mon, 10 Sep 2007 09:25:10 +0000 (17:25 +0800)]
blockdev: add missing description about option --report in manpage
The manpage does not mention the option --report.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Li Zefan [Mon, 10 Sep 2007 08:20:48 +0000 (16:20 +0800)]
namei: add to identify FIFO (named pipe) and update manpage
namei can't identify FIFO, and it will complain that it's an unknown type.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
LaMont Jones [Wed, 12 Sep 2007 16:34:29 +0000 (10:34 -0600)]
changelog: release
LaMont Jones [Wed, 12 Sep 2007 16:04:41 +0000 (10:04 -0600)]
build: cfdisk doesn't exist on some architectures.
LaMont Jones [Wed, 12 Sep 2007 13:32:36 +0000 (07:32 -0600)]
changelog: start new release
LaMont Jones [Wed, 12 Sep 2007 13:04:01 +0000 (07:04 -0600)]
Merge branch 'stable/v2.13'
Conflicts:
debian/changelog
LaMont Jones [Wed, 12 Sep 2007 12:30:45 +0000 (06:30 -0600)]
changelog
LaMont Jones [Wed, 12 Sep 2007 12:30:08 +0000 (06:30 -0600)]
build: look for fdisk in the right place. Closes: LP#138040
LaMont Jones [Fri, 7 Sep 2007 14:53:30 +0000 (08:53 -0600)]
Merge branch 'stable/v2.13'
Conflicts:
debian/changelog
LaMont Jones [Thu, 6 Sep 2007 16:38:36 +0000 (10:38 -0600)]
changelog
LaMont Jones [Thu, 6 Sep 2007 16:36:19 +0000 (10:36 -0600)]
LaMont Jones [Thu, 6 Sep 2007 16:24:36 +0000 (10:24 -0600)]
changelog
LaMont Jones [Wed, 5 Sep 2007 20:50:16 +0000 (14:50 -0600)]
metadata: Replaces: sparc-utils (for sparc{32,64}. Closes: #440966
LaMont Jones [Thu, 6 Sep 2007 16:21:12 +0000 (10:21 -0600)]
Merge commit 'v2.13-2' into stable/v2.13
LaMont Jones [Wed, 5 Sep 2007 20:50:16 +0000 (14:50 -0600)]
metadata: Replaces: sparc-utils (for sparc{32,64}. Closes: #440966
Karel Zak [Tue, 4 Sep 2007 07:45:10 +0000 (15:45 +0800)]
setarch: add long options to setarch and update manpage
Co-Author: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
LaMont Jones [Wed, 5 Sep 2007 12:42:28 +0000 (06:42 -0600)]
Merge commit 'origin'
Li Zefan [Tue, 4 Sep 2007 07:33:36 +0000 (15:33 +0800)]
rename: add description about option -V to manpage
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Li Zefan [Tue, 4 Sep 2007 07:20:25 +0000 (15:20 +0800)]
rename: remove useless variable
The number of files successfully renamed is calculated and stored in variable
ct, > but actually the variable is not used afterwards.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Norbert Buchmuller [Sun, 2 Sep 2007 20:08:53 +0000 (14:08 -0600)]
mount: chain of symlinks to fstab causes use of pointer after free
Looking at the source in 'mount/realpath.c' we find that when dealing with
the second or later symlink in the chain, a memory block was free()d before
copying its contents to a newly allocated block.
Li Zefan [Mon, 3 Sep 2007 06:25:40 +0000 (14:25 +0800)]
cal: add description about option -V to manpage
cal support option -V to display version information, but the manpage doesn't
mention it.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
LaMont Jones [Tue, 28 Aug 2007 21:56:41 +0000 (15:56 -0600)]
build-sys: remove files that are no longer delivered from git
Neither mount/h/swap.h nor mount/mount.smbfs is delivered
as part of util-linux-ng tar archives. As such, they
should not be in git either.
Signed-off-by: LaMont Jones <lamont@debian.org>
Karel Zak [Wed, 5 Sep 2007 09:55:50 +0000 (11:55 +0200)]
docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
Pascal Terjan [Mon, 3 Sep 2007 22:10:16 +0000 (00:10 +0200)]
fdisk: doing useless ioctl when editing an image
When editing a disk image, fdisk wants to ask the kernel to reread the
partition table which is useless and provokes an error, a wrong exit
code and some waiting. This annoys me as I can't check the return code
in my script and because I have to wait a few seconds each time.
This trivial patch makes it only do the ioctl on block devices.
It also simplifies code by dropping some workaround for kernel 1.2.x
Signed-off-by: Pascal Terjan <pterjan@linuxfr.org>
Li Zefan [Tue, 4 Sep 2007 07:33:36 +0000 (15:33 +0800)]
rename: add description about option -V to manpage
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Li Zefan [Tue, 4 Sep 2007 07:20:25 +0000 (15:20 +0800)]
rename: remove useless variable
The number of files successfully renamed is calculated and stored in variable
ct, > but actually the variable is not used afterwards.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
LaMont Jones [Tue, 28 Aug 2007 21:56:41 +0000 (15:56 -0600)]
build-sys: remove files that are no longer delivered from git
Neither mount/h/swap.h nor mount/mount.smbfs is delivered
as part of util-linux-ng tar archives. As such, they
should not be in git either.
Signed-off-by: LaMont Jones <lamont@debian.org>
Li Zefan [Mon, 3 Sep 2007 06:25:40 +0000 (14:25 +0800)]
cal: add description about option -V to manpage
cal support option -V to display version information, but the manpage doesn't
mention it.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Norbert Buchmuller [Sun, 2 Sep 2007 20:08:53 +0000 (14:08 -0600)]
mount: chain of symlinks to fstab causes use of pointer after free
Looking at the source in 'mount/realpath.c' we find that when dealing with
the second or later symlink in the chain, a memory block was free()d before
copying its contents to a newly allocated block.
LaMont Jones [Tue, 4 Sep 2007 19:07:01 +0000 (13:07 -0600)]
Merge commit 'origin'
Arkadiusz Miskiewicz [Tue, 28 Aug 2007 07:16:57 +0000 (09:16 +0200)]
setarch: adding groff symlinks to setarch manual page
Signed-off-by: Arkadiusz Miskiewicz <arekm@maven.pl>
LaMont Jones [Thu, 9 Aug 2007 19:37:22 +0000 (13:37 -0600)]
mount: improve error message when helper program not present
"missing codepage" is a bit confusing to many people, so include
"helper program" in the error message when we fail to mount something.
Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
Karel Zak [Sun, 2 Sep 2007 09:43:53 +0000 (11:43 +0200)]
docs: fix stable branche name in README.devel
Signed-off-by: Karel Zak <kzak@redhat.com>
LaMont Jones [Sun, 2 Sep 2007 20:15:41 +0000 (14:15 -0600)]
changelog
Norbert Buchmuller [Sun, 2 Sep 2007 20:08:53 +0000 (14:08 -0600)]
mount: chain of symlinks to fstab causes use of pointer after free
Looking at the source in 'mount/realpath.c' we find that when dealing with
the second or later symlink in the chain, a memory block was free()d before
copying its contents to a newly allocated block.
Arkadiusz Miskiewicz [Tue, 28 Aug 2007 07:16:57 +0000 (09:16 +0200)]
setarch: adding groff symlinks to setarch manual page
Signed-off-by: Arkadiusz Miskiewicz <arekm@maven.pl>
LaMont Jones [Thu, 9 Aug 2007 19:37:22 +0000 (13:37 -0600)]
mount: improve error message when helper program not present
"missing codepage" is a bit confusing to many people, so include
"helper program" in the error message when we fail to mount something.
Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
Karel Zak [Sun, 2 Sep 2007 13:02:55 +0000 (15:02 +0200)]
fdisk: fix typo
Reported-by: Daniel Nylander <po@danielnylander.se>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Sun, 2 Sep 2007 13:02:55 +0000 (15:02 +0200)]
fdisk: fix typo
Reported-by: Daniel Nylander <po@danielnylander.se>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Sun, 2 Sep 2007 11:43:31 +0000 (13:43 +0200)]
build-sys: autogen.sh reports versions of autotools now
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Sun, 2 Sep 2007 11:10:06 +0000 (13:10 +0200)]
build-sys: set AC_PREREQ to 2.60, increment version to 2.14
The autoconf >= 2.60 supports @localedir@ and others new directory
variables.
Signed-off-by: Karel Zak <kzak@redhat.com>
A. Costa [Wed, 29 Aug 2007 13:07:10 +0000 (07:07 -0600)]
flock: typo in man page
Signed-off-by: LaMont Jones <lamont@debian.org>
A. Costa [Wed, 29 Aug 2007 13:07:10 +0000 (07:07 -0600)]
flock: typo in man page
Signed-off-by: LaMont Jones <lamont@debian.org>
Karel Zak [Sun, 2 Sep 2007 11:00:23 +0000 (13:00 +0200)]
build-sys: fix localedir (unsupported by autoconf < 2.60)
The autoconf < 2.60 doesn't support the @localedir@ directory
variable. The util-linux-ng-2.13 minimally requires autoconf-2.59.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Sun, 2 Sep 2007 09:43:53 +0000 (11:43 +0200)]
docs: fix stable branche name in README.devel
Signed-off-by: Karel Zak <kzak@redhat.com>
LaMont Jones [Wed, 29 Aug 2007 19:18:24 +0000 (13:18 -0600)]
changelog
A. Costa [Wed, 29 Aug 2007 13:07:10 +0000 (07:07 -0600)]
flock.1: typo in man page
Signed-off-by: LaMont Jones <lamont@debian.org>
LaMont Jones [Tue, 28 Aug 2007 17:39:20 +0000 (11:39 -0600)]
changelog
LaMont Jones [Tue, 28 Aug 2007 17:38:40 +0000 (11:38 -0600)]
Update bsdutils description. Closes: #439907
LaMont Jones [Tue, 28 Aug 2007 17:38:34 +0000 (11:38 -0600)]
Don't deliver hexdump bsdmainutils is newer). Closes: #439905
LaMont Jones [Tue, 28 Aug 2007 17:37:53 +0000 (11:37 -0600)]
Don't make rename an alternative. Closes: #439935.
LaMont Jones [Tue, 28 Aug 2007 04:53:42 +0000 (22:53 -0600)]
cleanup changelog
LaMont Jones [Tue, 28 Aug 2007 04:30:59 +0000 (22:30 -0600)]
cleanup diff.gz
LaMont Jones [Tue, 28 Aug 2007 04:10:12 +0000 (22:10 -0600)]
build: Have debian/rules deal with architectures that don't get packages.
Closes: #439830
LaMont Jones [Tue, 28 Aug 2007 04:01:00 +0000 (22:01 -0600)]
changelog
LaMont Jones [Tue, 28 Aug 2007 03:51:33 +0000 (21:51 -0600)]
Merge commit 'origin'
Conflicts:
sys-utils/Makefile.am
sys-utils/setarch.c
Karel Zak [Mon, 27 Aug 2007 22:41:54 +0000 (00:41 +0200)]
build-sys: release++
Increment release number to v2.13
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 27 Aug 2007 22:38:57 +0000 (00:38 +0200)]
docs: update ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 27 Aug 2007 22:15:49 +0000 (00:15 +0200)]
docs: update and sort AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 27 Aug 2007 22:14:16 +0000 (00:14 +0200)]
po: update po/ stuff
Signed-off-by: Karel Zak <kzak@redhat.com>
Matthias Koenig [Mon, 27 Aug 2007 14:49:19 +0000 (16:49 +0200)]
ionice: clean up error handling
Print error in case execvp fails and use exit macros.
Based on patch by Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Matthias Koenig <mkoenig@suse.de>
Signed-off-by: Karel Zak <kzak@redhat.com>