Upload Tizen:Base source
[framework/base/util-linux-ng.git] / docs / v2.14-ReleaseNotes
1
2 Util-linux-ng 2.14 Release Notes (09-Jun-2008)
3 ==============================================
4
5 Release highlights
6 ------------------
7
8  mount(8) supports new "nofail" mount option.
9
10  mount(8) supports auto-destruction of loop devices.
11
12  losetup(8) supports new command line option "-j" to show status of all
13  loop devices associated with given file.
14
15  losetup(8) supports unlimited number of loop devices.
16
17  losetup(8) supports new command line option "--sizelimit" to set data end.
18
19  ldattach(8) command has been added to util-linux-ng. The ldattach
20  daemon opens the specified device file and attaches the line discipline
21  to it for processing of the sent and/or received data.
22
23  setterm(8) supports new command line option "-blank [force|poke]" for
24  TIOCL_{BLANKED,BLANK}SCREEN.
25
26  tailf(8) has been reimplemented to use inotify.
27
28  tailf(8) supports new command line option "-n" to specifying output lines.
29
30  mkswap(8) supports new command line option "-U" to set UUID explicitly.
31
32  fdisk(8) has been fixed to calculate partition size in 2^N.
33
34  cal(8) supports highlighting an arbitrary date.
35
36  agetty(8) makes username-in-uppercase feature optional (off by default).
37  Users who use uppercase-only terminals need to use the option "-U" now.
38
39  losetup(8), mount(8), umount(8), fdisk(8) and sfdisk(8) support static
40  linking when compiled with --enable-static-programs.
41
42  hwclock(8) supports new command line option "adjfile" to override
43  the default /etc/adjtime.
44
45  scriptreplay(1) command has been re-written from Perl to C.
46
47
48 Deprecated
49 ----------
50
51  The losetup(8) '-s' option (introduced by util-linux-ng-2.13) is deprecated
52  now.  This short form of the option '--show' could be in collision with
53  Loop-AES losetup implementation where the same option is used for the loop
54  sizelimit.
55
56
57 Fixed security issues
58 ---------------------
59
60  CVE-2008-1926 - audit log injection via login
61
62                  The problem was originally reported for OpenSSH few months
63                  ago (CVE-2007-3102). The login(1) is affected by the same
64                  bug when built with the option "--with-audit".
65
66
67 Stable maintenance releases between v2.13 and v2.14
68 ---------------------------------------------------
69
70 util-linux-ng 2.13.1.1 [22-Apr-2008]
71
72  * ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.13/v2.13.1.1-ReleaseNotes
73    ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.13/v2.13.1.1-ChangeLog
74
75 util-linux-ng 2.13.1 [16-Jan-2008]
76
77  * ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.13/v2.13.1-ReleaseNotes
78    ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.13/v2.13.1-ChangeLog
79
80
81 ChangeLog between v2.13 and v2.14
82 ---------------------------------
83
84  For more details see ChangeLog files at:
85  ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.14/
86
87 agetty:
88    - cleanup MAXHOSTNAMELEN  [Karel Zak]
89    - make username-in-uppercase feature optional (off by default.)  [Hamish Coleman]
90    - non-linux support (use pathnames.h)  [Karel Zak]
91    - replace termio with termios interface  [Samuel Thibault]
92    - ungettextize several debugging messages.  [Benno Schulenberg]
93 blockdev:
94    - add --getsz to blockdev.8  [Karel Zak]
95    - add missing description about option --report in manpage  [Li Zefan]
96    - fix  opened file leaving unclosed  [lizf]
97    - use lib/blkdev.c, fix --report  [Karel Zak]
98 build-sys:
99    - add --enable-static-programs  [Stepan Kasal, Karel Zak]
100    - add AC_CANONICAL_HOST  [Miklos Szeredi]
101    - add VARSUFFIX to UTIL_CHECK_LIB  [Karel Zak]
102    - add err.h check  [Karel Zak]
103    - add support ionice for Super-H architecture  [Karel Zak]
104    - add v2.14 to NEWS  [Karel Zak]
105    - autogen.sh reports versions of autotools now  [Karel Zak]
106    - build arch(1) during distcheck  [Stepan Kasal]
107    - cleanup "x$foo" usage  [Karel Zak]
108    - cleanup disk-utils/Makefile.am (use $utils_common)  [Karel Zak]
109    - cleanup usage of linux/major.h  [Samuel Thibault]
110    - disable syscall fallbacks for non-linux systems  [Karel Zak]
111    - do not add -luuid to BLKID_LIBS  [Stepan Kasal]
112    - fix missing deps for swapon  [Matthias Koenig]
113    - ignore a bunch of generated files, mostly binaries  [James Youngman]
114    - nls/locale handling in util-linux-ng general  [Mike Frysinger]
115    - non-linux support  [Samuel Thibault]
116    - release++  [Karel Zak]
117    - remove errs.h  [Karel Zak]
118    - remove files that are no longer delivered from git  [LaMont Jones]
119    - remove hardcoded _GNU_SOURCE  [Karel Zak]
120    - remove unnecessary check-local target from login-utils/  [Karel Zak]
121    - set AC_PREREQ to 2.60, increment version to 2.14  [Karel Zak]
122    - simplify code around RDEV_LINKS and SETARCH_LINKS  [Stepan Kasal]
123    - unify method for checking system calls and fallback handling  [Mike Frysinger, Stepan Kasal]
124    - update .gitignore files  [Karel Zak]
125    - use dist_man_MANS instead of man_MANS  [Stepan Kasal]
126    - use ncursesw (wide version) when possibe  [Karel Zak, Mike Frysinger]
127    - use pkg-config to find the libs for static build  [Stepan Kasal]
128    - use portable $(VAR =) instead of gmake-specific $(addsuffix)  [Stepan Kasal]
129 cal:
130    - add description about option -V to manpage  [Li Zefan]
131    - add support for highlighting an arbitrary date  [Pádraig Brady]
132    - avoid -Wformat warnings  [Jim Meyering]
133    - fix weekday alignment for certain locales  [Pádraig Brady]
134    - replace errs.h with libc err.h  [Karel Zak]
135    - use HAVE_LIB{NCURSES,NCURSESW} instead HAVE_NCURSES  [Karel Zak]
136 cfdisk:
137    - define portable {DEFAULT,ALTERNATE}_DEVICE  [Samuel Thibault]
138    - display cylinders beyond 1024  [Peter Breitenlohner]
139    - slightly increase the size of menu buttons  [Benno Schulenberg]
140    - translate partition-type names when they are printed.  [Benno Schulenberg]
141 chfn:
142    - add pam_end() call and cleanup PAM code  [Karel Zak]
143    - fix compiler warnings in selinux stuff  [Karel Zak]
144 chfn, chsh, login:
145    - collapsing three similar messages into a single one  [Benno Schulenberg]
146 chsh:
147    - should use pam_end function to terminate the PAM transaction  [Yu Zhiguo, Karel Zak]
148 column:
149    - replace errs.h with libc err.h  [Karel Zak]
150 ddate:
151    - 11th, 12th and 13th of month  [Volker Schatz]
152 docs:
153    - add a note about minix v3 to TODO file  [Karel Zak]
154    - add info about .bugfix releases and branches  [Karel Zak]
155    - add note about incorrect tag 2.13.1  [Karel Zak]
156    - add note about losetup --sizelimit to ReleaseNotes  [Karel Zak]
157    - add note about static linking  [Karel Zak]
158    - add v2.14 ReleaseNotes  [Karel Zak]
159    - cleanup DEPRECATED file  [Karel Zak]
160    - cleanup README.devel, add note about coding style and Signed-off-by  [Karel Zak]
161    - fix ChangeLog URL  [Pascal Terjan]
162    - fix stable branche name in README.devel  [Karel Zak]
163    - mark vipw(1) is deprecated in favor of vipw from shadow-utils  [Karel Zak]
164    - refresh TODO list  [Karel Zak]
165    - remove date from ReleasNotes  [Karel Zak]
166    - tweak a few messages for clarity  [Benno Schulenberg]
167    - update AUTHORS file  [Karel Zak]
168    - update TODO file  [Karel Zak]
169    - update v2.14 ReleaseNotes  [Karel Zak]
170    - we already rewrote the scriptreplay script; remove that TODO entry  [James Youngman]
171 elvtune:
172    - use get_linux_version()  [Karel Zak]
173 fdformat:
174    - install to /usr/sbin instead to /usr/bin  [Karel Zak]
175 fdisk:
176    - better fallback for get_random_id()  [H. Peter Anvin]
177    - calculate +size{K,M,G} in 2^N  [Karel Zak]
178    - cleanup BLK* ioctls usage  [Karel Zak]
179    - doesn't recognize the VMware ESX partitions  [Karel Zak]
180    - doing useless ioctl when editing an image  [Pascal Terjan]
181    - fix building for AVR32 and CRIS  [Imre Kaloz]
182    - fix typo  [Karel Zak]
183    - message tweak  [Karel Zak]
184    - non-linux support (MAXPATHLEN)  [Karel Zak]
185    - non-linux support (use standard uintxy_t instead __uxy)  [Samuel Thibault]
186    - use more readable "GPT" name rather than "EFI GPT"  [Robert Millan]
187    - use swab macros from bitops.h  [Karel Zak]
188 flock:
189    - typo in man page  [A. Costa]
190 fsck.cramfs:
191    - clean up gcc warnings  [Randy Dunlap]
192 fsck.minix:
193    - correct the error message given when we can't open the device  [James Youngman]
194    - reset the terminal state if we are killed by a fatal signal  [James Youngman]
195 getopt:
196    - fix path to examples in getopt.1  [Karel Zak]
197    - install example scripts as SCRIPTS, not DATA  [Peter Breitenlohner]
198 hwclock:
199    - add --adjfile=path option  [Karel Zak]
200    - check for ENODEV  [David Woodhouse]
201    - do not create a zero adjfile  [Alain Guibert]
202    - fix --rtc option  [Matthias Koenig, Karel Zak]
203 include:
204    - <stdint.h> provides everything  [Samuel Thibault]
205    - add bitops.h with swab{16,32,64} macros  [Karel Zak]
206    - add mount paths to pathnames.h  [Karel Zak]
207    - cleanup pathnames.h  [Karel Zak]
208 ionice:
209    - add a note about permissions to ionice.1  [Karel Zak]
210    - update man page to reflect IDLE class change in  2.6.25  [Karel Zak]
211 ipcs:
212    - add information about POSIX compatibility to ipcs.1  [Karel Zak]
213 kill:
214    - man page is missing a description of "kill -0"  [Karel Zak]
215 ldattach:
216    - add NLS support  [Karel Zak]
217    - new command  [Tilman Schmidt]
218    - use glibc termios  [Karel Zak]
219 lib:
220    - add blkdev.{c,h}  [Stefan Krah, Karel Zak]
221    - add linux_version.{c,h}  [Stefan Krah]
222 login:
223    - audit log injection attack via login  [Steve Grubb]
224    - fix a small memory leak and remove unnecessary zeroing  [Karel Zak]
225    - login segfaults on EOF (rh#298461)  [Karel Zak]
226    - replace termio with termios interface  [Samuel Thibault]
227    - rewrite is_local() to remove limits on line length  [James Youngman]
228 login-utils:
229    - cleanup strlen() and fgets() usage  [James Youngman]
230 losetup:
231    - add --associated option  [Karel Zak]
232    - add --sizelimit option  [Shachar Shemesh]
233    - canonicalize loopfile name  [Karel Zak, Matthias Koenig]
234    - clean up gcc warnings  [Randy Dunlap]
235    - fix errno usage  [Karel Zak]
236    - fix typo in losetup.8  [Karel Zak]
237    - mark the option -s as deprecated  [Karel Zak]
238    - remove duplicate xstrdup() and error()  [Karel Zak]
239    - split help message into two smaller parts  [Benno Schulenberg]
240    - support unlimited number of loops  [Karel Zak]
241    - use standard uintxy_t types (struct loop_info64)  [Samuel Thibault]
242 mesg:
243    - replace errs.h with libc err.h  [Karel Zak]
244 mkfs.cramfs:
245    - clean up gcc warnings  [Randy Dunlap, Karel Zak]
246    - remove unused header file  [lizf]
247    - switch on localization.  [Benno Schulenberg]
248 mkfs.minix:
249    - add sectorsize check  [Matthias Koenig]
250    - clean up gcc warnings  [Karel Zak]
251    - clean up gcc warnings  [Randy Dunlap]
252    - device size cleanup  [Matthias Koenig]
253 mkswap:
254    - BLKGETSIZE cleanup  [Karel Zak]
255    - cleanup kB vs. KiB usage in error messages  [Karel Zak]
256    - fix compiler warnings  [Karel Zak]
257    - linux_version() code consolidation  [Karel Zak]
258    - possible to crash with SELinux relabeling support  [KaiGai Kohei]
259    - set UUID for swap space (add -U option)  [Martin Schulze]
260    - set errno=0 in write_all()  [Karel Zak]
261    - when writing the signature page, handle EINTR returns  [Karel Zak]
262 more:
263    - cleanup gcc warnings  [Randy Dunlap]
264    - non-linux support  [Samuel Thibault]
265    - replace CBAUD with cfgetispeed()  [Samuel Thibault]
266    - use HAVE_WIDECHAR instead ENABLE_WIDECHAR  [Karel Zak]
267 mount:
268    - "can't create lock file" message sometimes means failure, sometimes not  [Mark McLoughlin]
269    - "nofail" mount option  [Matthias Koenig, Karel Zak]
270    - -L|-U segfault when label or uuid doesn't exist  [Karel Zak]
271    - add more details to the --version output  [Karel Zak]
272    - add support for sizelimit= mount option (for loop mounts)  [Shachar Shemesh]
273    - allow auto-destruction of loop devices  [Bernardo Innocenti]
274    - chain of symlinks to fstab causes use of pointer after free  [Norbert Buchmuller]
275    - clean up gcc warnings (mount_mntent.c)  [Randy Dunlap]
276    - clean up global variables  [Karel Zak]
277    - cleanup "none" fstype usage  [Karel Zak]
278    - cleanup KERNEL_VERSION, remove my_dev_t.h  [Karel Zak]
279    - cleanup canonicalize() usage  [Karel Zak]
280    - cleanup error() and die()  [Karel Zak]
281    - cleanup usage of _PATH_*  [Karel Zak]
282    - doesn't drop privileges properly when calling helpers  [Ludwig Nussel]
283    - don't call canonicalize(SPEC) for cifs, smbfs and nfs  [Karel Zak]
284    - don't canonicalize LABEL= or UUID= spec  [Karel Zak]
285    - drop the part always true from a while condition  [Pascal Terjan]
286    - fix a small typo in mount.8  [Christophe Blaess]
287    - fix fd leak  [Matthias Koenig]
288    - fix typo in mount.8  [Karel Zak]
289    - hint about helper program if device doesn't exist  [Karel Zak]
290    - improve chmod & chown usage and clean up gcc warnings (fstab.c)  [Karel Zak]
291    - improve error message when helper program not present  [LaMont Jones]
292    - prevent loop mounting the same file twice  [Karel Zak, Matthias Koenig]
293    - remount doesn't care about loop=  [Karel Zak]
294    - remove MS_{REPLACE,AFTER,BEFORE,OVER}  [Karel Zak]
295    - remove built-in support for background mounts  [Karel Zak]
296    - remove redundant fflush  [Karel Zak]
297    - remove set_proc_name()  [Karel Zak]
298    - remove useless if-before-my_free, define my_free as a macro  [Karel Zak]
299    - use MNTTYPE_SWAP (from mntent.h)  [Karel Zak]
300    - use atexit() rather than (*at_die)()  [Karel Zak]
301    - use blkdev_get_size()  [Karel Zak]
302    - use canonicalize in getfs_by_devname  [Karel Zak]
303 namei:
304    - add to identify FIFO (named pipe) and update manpage  [Li Zefan]
305    - cleanup tailing white-spaces  [Karel Zak]
306    - non-linux support (get_current_dir_name() and PATH_MAX)  [Karel Zak, Samuel Thibault]
307 partx:
308    - fix compiler warnings  [Karel Zak]
309    - use swab macros from bitops.h  [Karel Zak]
310 pg:
311    - fix segfault on search  [Rajeev V. Pillai]
312 po:
313    - add eu.po (from translationproject.org)  [Mikel Olasagasti]
314    - add pl.po (from translationproject.org)  [Andrzej Krzysztofowicz]
315    - fix typo in de.po  [Karel Zak]
316    - merge changes  [Karel Zak]
317    - update POTFILES.in  [Karel Zak]
318    - update ca.po (from translationproject.org)  [Josep Puigdemont]
319    - update cs.po (from translationproject.org)  [Petr Pisar]
320    - update da.po (from translationproject.org)  [Claus Hindsgaul]
321    - update de.po (from translationproject.org)  [Michael Piefel]
322    - update es.po (from translationproject.org)  [Santiago Vila Doncel]
323    - update et.po (from translationproject.org)  [Meelis Roos]
324    - update fi.po (from translationproject.org)  [Lauri Nurmi]
325    - update fr.po (from translationproject.org)  [Michel Robitaille]
326    - update hu.po (from translationproject.org)  [Gabor Kelemen]
327    - update id.po (from translationproject.org)  [Arif E. Nugroho]
328    - update it.po (from translationproject.org)  [Marco Colombo]
329    - update ja.po (from translationproject.org)  [Daisuke Yamashita]
330    - update nl.po (from translationproject.org)  [Benno Schulenberg]
331    - update po files  [Karel Zak]
332    - update pt_BR.po (from translationproject.org)  [Rodrigo Stulzer Lopes]
333    - update ru.po (from translationproject.org)  [Pavel Maryanov]
334    - update sl.po (from translationproject.org)  [Simon Mihevc]
335    - update sv.po (from translationproject.org)  [Daniel Nylander]
336    - update tr.po (from translationproject.org)  [Nilgün Belma Bugüner]
337    - update uk.po (from translationproject.org)  [Maxim V. Dziumanenko]
338    - update vi.po (from translationproject.org)  [Clytie Siddall]
339 rename:
340    - add description about option -V to manpage  [Li Zefan]
341    - remove useless variable  [Li Zefan]
342 renice:
343    - detect errors in arguments, add -v, -h and long options  [LaMont Jones, Karel Zak]
344 rev:
345    - use warn() in errs.h  [Li Zefan]
346 rtcwake:
347    - fix UTC time usage  [David Brownell]
348    - fix the default mode to "standby"  [Paulius Zaleckas]
349    - fix typo  [Karel Zak]
350    - fix typo SATE -> STATE  [Mike Frysinger]
351    - fix verbose message  [Karel Zak]
352    - include libgen.h for basename prototype  [Mike Frysinger]
353    - misc cleanups  [David Brownell]
354 script:
355    - cleanup gcc warnings  [Randy Dunlap]
356    - cleanup includes  [Samuel Thibault]
357    - dies on SIGWINCH  [Karel Zak]
358    - read returns a size_t  [James Youngman]
359 scriptreplay:
360    - gettextize a forgotten messages  [Karel Zak]
361    - rewrite in C  [Karel Zak, James Youngman]
362 setarch:
363    - add fallback for linux/personality  [Karel Zak]
364    - add long options to setarch and update manpage  [Karel Zak, Li Zefan]
365    - add missing alpha subarchs  [Oliver Falk]
366    - adding groff symlinks to setarch manual page  [Arkadiusz Miskiewicz]
367    - fix compiler warning  [LaMont Jones]
368    - generate groff links in a better way  [Karel Zak]
369    - provide backwards compatibility  [Dmitry V. Levin]
370    - tweak the help text, and gettextize a forgotten message  [Benno Schulenberg]
371 setterm:
372    - add -blan [force|poke] options for TIOCL_{BLANKED,BLANK}SCREEN  [Samuel Thibault, Karel Zak]
373    - dump by TIOCLINUX is deprecated since linux 1.1.92.  [Karel Zak]
374    - opened file leaving unclosed  [Karel Zak, lizf]
375    - remove unnecessaty ifndef TCGETS  [Samuel Thibault]
376 sfdisk:
377    - allow partitioning drives of over 2^31 sectors.  [Kunihiko IMAI]
378    - cleanup 83 gcc warnings  [Randy Dunlap]
379    - opened files leaving unclosed  [Karel Zak, Li Zefan]
380    - remove unnecessary linux/unistd.h  [Samuel Thibault]
381    - use get_linux_version()  [Karel Zak]
382 shutdown:
383    - use _PATH_MOUNTED instead of _PATH_MTAB  [Stepan Kasal]
384 swapon:
385    - Reinitialize software suspend areas to avoid future corruption.  [Kees Cook, Karel Zak]
386    - add sundries.h  [Karel Zak]
387    - clean up gcc warnings  [Randy Dunlap]
388    - cleanup usage output  [Karel Zak]
389    - cleanup usage()  [Karel Zak]
390    - fix swsuspend detection  [Karel Zak]
391    - fix typo in usage()  [Karel Zak]
392    - readjust the usage summaries  [Benno Schulenberg]
393    - remove unnecessary myrealpath() call  [Karel Zak]
394 sys-utils:
395    - correct setarch.8 manpage link creation  [Frédéric Bothamy]
396 tailf:
397    - add option -n to specifying output lines  [Li Zefan]
398    - clean up gcc warnings & fix use of errno  [Karel Zak]
399    - inotify based reimplementation  [Karel Zak]
400    - non-linux support  [Samuel Thibault]
401    - opened file leaving unclosed  [lizf]
402    - replace errs.h with libc err.h  [Karel Zak]
403 tests:
404    - add "sort" to cramfs test  [Karel Zak]
405    - add test for include/pathnames.h  [Karel Zak]
406    - add ts-mount-noncanonical  [Karel Zak]
407    - exactly define a time format in ls -l output  [Karel Zak]
408    - fix blkid cache usage  [Karel Zak]
409    - move test_bkdev to lib/  [Karel Zak]
410    - redirect libblkid cache to BLKID_FILE  [Karel Zak]
411    - rename test_sysinfo, remove tailing white-spaces  [Karel Zak]
412    - use losetup -s  [Karel Zak]
413 umount:
414    - add hint about lsof & fuser  [Karel Zak]
415    - don't print duplicate error messages  [Karel Zak]
416    - use atexit() rather than (*at_die)()  [Karel Zak]
417 wall:
418    - cleanup MAXHOSTNAMELEN  [Karel Zak]