2011-07-21 10:45:04 -05:00
|
|
|
|
2011-07-28 06:16:31 -05:00
|
|
|
Note that items with (!) have high priority.
|
2011-07-21 10:45:04 -05:00
|
|
|
|
2017-08-14 05:25:07 -05:00
|
|
|
build-sys
|
|
|
|
---------
|
|
|
|
- for example
|
|
|
|
./configure --disable-all-programs --enable-hwclock
|
|
|
|
|
|
|
|
enables only hwclock, unfortunately we have no --enable/disable for all programs.
|
|
|
|
It would be nice to have generic --enable-programs <list>, for example:
|
|
|
|
|
|
|
|
./configure --disable-all-programs --enable-programs hwclock,lsblk
|
|
|
|
|
2017-09-18 04:44:57 -05:00
|
|
|
tests (!):
|
|
|
|
---------
|
|
|
|
|
|
|
|
- add a new --enable-clang-asan to ./configure
|
|
|
|
- add a new --asan option to tests/run.sh
|
|
|
|
- rename tests/run.sh --memcheck to --valgrind
|
|
|
|
- rename tests/functions.sh:ts_valgrind() to ts_run()
|
|
|
|
- improve ts_run() to be sensitive to --asan or --valgrind (etc.)
|
|
|
|
- use export ASAN_OPTIONS='detect_leaks=0' by default
|
|
|
|
- add TS_ENABLE_MEMLEAK_CHECK=yes to tests where we want to check for
|
|
|
|
memory leaks
|
|
|
|
|
|
|
|
Note we don't want free-before-exit code in simple utils, so no all memory
|
|
|
|
leaks are relevant. We care about leaks in libs, deamons, etc.
|
|
|
|
|
|
|
|
and then we can use
|
|
|
|
|
|
|
|
$ ./configure --enable-clang-asan
|
|
|
|
$ cd tests
|
|
|
|
$ ./run.sh --asan
|
|
|
|
|
2016-11-07 03:19:16 -06:00
|
|
|
su/runuser
|
|
|
|
----------
|
2016-10-06 03:28:33 -05:00
|
|
|
- (!) implement pty container for all su/runuser session (something like
|
|
|
|
script(1)) to separate user from the original terminal (see CVE-2016-2779)
|
|
|
|
|
2016-03-18 06:05:51 -05:00
|
|
|
- add functions strtime_short(), strtime_iso(), strtime_ctime(), ...
|
|
|
|
|
2016-11-07 03:19:16 -06:00
|
|
|
cleanup lib/path.c:
|
|
|
|
------------------
|
2016-03-18 06:05:51 -05:00
|
|
|
- always return rc from all functions
|
|
|
|
- introduce control struct and use openat() from top-level path
|
|
|
|
(e.g. top-level is /proc, etc)
|
|
|
|
- use lib/path.c as low-level API for lib/sysfs.c
|
|
|
|
- now we duplicate code in functions like {path,sysfs}_read_u32, etc.
|
|
|
|
- it would be also nice to have a way how to redirect sysfs.c functions
|
|
|
|
to /sys snapshots (e.g. lsblk regression tests)
|
|
|
|
|
2016-03-22 04:26:35 -05:00
|
|
|
|
|
|
|
lscpu
|
|
|
|
-----
|
|
|
|
- read cpuid and uname information from file if --sysroot is specified, then
|
|
|
|
we can prepare regression tests completely independent on hw and architecture.
|
|
|
|
|
2015-08-13 04:49:20 -05:00
|
|
|
lsblk
|
|
|
|
-----
|
|
|
|
- currently it does not show mountpoint for all devices in btrfs RAID. It's because
|
|
|
|
/proc/#/mountinfo contains reference to the one device only. Maybe we can add some
|
|
|
|
btrfs specific code to provide a better output for FS based stacks. Not sure.
|
|
|
|
https://bugzilla.redhat.com/show_bug.cgi?id=1084453
|
|
|
|
|
2015-02-03 04:22:21 -06:00
|
|
|
cfdisk
|
|
|
|
------
|
2015-02-19 04:56:11 -06:00
|
|
|
- (!) add auto-sort support (sort partitions automatically) and
|
|
|
|
--sort={auto,never,always} command line option. This feature should be
|
|
|
|
enabled by default for logical partitions if we created all container (extended
|
|
|
|
partition) in the current session.
|
|
|
|
|
|
|
|
|
2014-10-21 07:24:00 -05:00
|
|
|
agetty
|
|
|
|
-----
|
|
|
|
- support default issue (/etc/issue) output for agetty to make it agetty
|
|
|
|
usable on systems with empty /etc.
|
|
|
|
|
|
|
|
This change is little bit controversial, because now agetty prints nothing
|
|
|
|
by default and it's probably used by admins to hide information about the
|
|
|
|
system to unauthorized users. We already have --noissue to disable issue
|
|
|
|
output. The question is if admins use this option, "rm /etc/issue" is
|
|
|
|
probably easer than modify inittab (or systemd unit file).
|
|
|
|
|
|
|
|
Maybe we can implement it by --enable-agetty-default-issue compile option and
|
|
|
|
move the decision to downstream maintainers ;-)
|
|
|
|
|
2014-07-29 06:17:35 -05:00
|
|
|
nsenter(1)
|
|
|
|
----------
|
|
|
|
- read the default UID and GID from the target process.
|
|
|
|
http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/9553/focus=9585
|
|
|
|
|
2013-03-26 07:48:25 -05:00
|
|
|
hwlock
|
|
|
|
------
|
|
|
|
- use /var/lib/hwclock/drift to store hw-clock drift numbers.
|
|
|
|
- use /etc/adjtime as read-only for UTC/LOCAL information only
|
|
|
|
- the /var/lib/hwclock/drift should be implemented backwardly compatible,
|
|
|
|
it means use the file only if exists, otherwise follow /etc/adjtime
|
|
|
|
|
2013-03-18 11:07:39 -05:00
|
|
|
bash completion
|
|
|
|
---------------
|
2013-03-26 15:54:47 -05:00
|
|
|
- Optional argument handling requires user to press backspace to get
|
2013-04-07 03:12:07 -05:00
|
|
|
argument completion.
|
2013-03-26 15:54:47 -05:00
|
|
|
- Comma separated value, e.g., --output 'value1,value2', are not
|
|
|
|
completed for users.
|
2013-03-18 11:07:39 -05:00
|
|
|
|
2011-07-28 06:16:31 -05:00
|
|
|
libmount (mount/umount)
|
|
|
|
-----------------------
|
2011-03-03 15:57:27 -06:00
|
|
|
|
2017-08-22 04:22:26 -05:00
|
|
|
- support CAP_SYS_ADMIN; for mount(2) syscall the CAP_SYS_ADMIN is good
|
|
|
|
enough. Unfortunately, mount(8) does more things like check for filesystem
|
|
|
|
type (but it's usually done by udev, so root perms are unnecessary), create
|
|
|
|
loop devices, write to /run/mount/utab or /etc/mtab, etc.
|
|
|
|
|
|
|
|
It would be nice to improve libmount to check for CAP_SYS_ADMIN if suid not
|
|
|
|
set and allow to use it for simple tasks where no another operation is
|
|
|
|
necessary.
|
|
|
|
|
2015-08-13 04:41:49 -05:00
|
|
|
- allow to execute mount(2) in another namespace, something like:
|
|
|
|
mount --namespace=/proc/$n/ns/mnt /dev/sda2 /bar
|
|
|
|
see https://bugzilla.redhat.com/show_bug.cgi?id=1199554 for more details.
|
|
|
|
|
2012-02-23 05:31:31 -06:00
|
|
|
- add options to control fstab/mtab mount options usage, something like:
|
|
|
|
|
|
|
|
--options-mode={ignore,append,prepend,replace} MNT_OMODE_{IGNORE, ...}
|
|
|
|
--options-source={fstab,mtab,disable} MNT_OMODE_{FSTAB,MTAB,NOTAB}
|
|
|
|
--options-source-force MNT_OMODE_FORCE
|
|
|
|
|
|
|
|
(all this already supported by libmount)
|
2011-03-03 15:57:27 -06:00
|
|
|
|
2014-06-25 07:04:20 -05:00
|
|
|
|
2011-05-05 07:56:53 -05:00
|
|
|
partx
|
|
|
|
-----
|
|
|
|
|
2011-05-30 10:22:07 -05:00
|
|
|
- support mapping by device-mapper if argv[0] is "kpartx" or --dm option is used.
|
|
|
|
|
2011-07-28 06:16:31 -05:00
|
|
|
|
|
|
|
docs
|
|
|
|
----
|
|
|
|
|
|
|
|
- (!) use something better than gtk-doc for libmount and libblkid (doxyden?)
|
|
|
|
|
|
|
|
- (!) add API documentation to libuuid
|
2011-05-05 07:56:53 -05:00
|
|
|
|
2011-05-30 10:22:07 -05:00
|
|
|
|
2010-11-30 06:28:46 -06:00
|
|
|
login-utils:
|
|
|
|
-----------
|
|
|
|
|
2013-03-18 11:07:39 -05:00
|
|
|
- consolidate newgrp(1)
|
|
|
|
* we have "su --group/--supp-group" to switch between groups, newgrp(1) in
|
|
|
|
util-linux and shadow-utils (and sg(1) alias in shadow-utils)
|
|
|
|
* the unique functionality provided by newgpr(1) is support for group
|
|
|
|
passwords [/etc/gshadow] -- do we really need this functionality?
|
|
|
|
* maybe we can mark group-passwords as deprecated, and replace sg(1) and
|
|
|
|
newgpr(1) with su(1) code. The another way is to ask fro group password in
|
|
|
|
su --group too.
|
|
|
|
* note that shadow-utils newgpr(1) provides support for syslog and audit log.
|
2010-11-30 06:28:46 -06:00
|
|
|
|
2017-08-14 05:09:50 -05:00
|
|
|
|
2009-06-26 02:23:23 -05:00
|
|
|
libblkid
|
|
|
|
--------
|
2009-04-29 07:46:21 -05:00
|
|
|
|
2011-08-02 06:29:29 -05:00
|
|
|
- (!) don't use internally blkid_loff_t, rather use off_t, size_t, ssize_t,
|
|
|
|
stdint.h types and so on...
|
|
|
|
|
2010-10-07 10:57:35 -05:00
|
|
|
- add FSSIZE value -- filesystem size (klibc requirement)
|
2009-06-26 02:23:23 -05:00
|
|
|
|
2011-07-28 06:16:31 -05:00
|
|
|
- (!) add support for dasd PT (used for example on s390)
|
2010-08-10 02:06:29 -05:00
|
|
|
|
2014-06-25 04:39:30 -05:00
|
|
|
libfdisk
|
|
|
|
--------
|
2013-10-16 04:08:18 -05:00
|
|
|
|
2014-06-25 04:39:30 -05:00
|
|
|
- add support for Apple Partition Map (see libblkid/src/partitions/mac.c)
|
|
|
|
http://en.wikipedia.org/wiki/Apple_Partition_Map
|
|
|
|
|
2009-06-26 02:23:23 -05:00
|
|
|
misc
|
|
|
|
----
|
|
|
|
|
2011-07-28 06:16:31 -05:00
|
|
|
- add mllockall() and SCHED_FIFO to hwclock,
|
2009-06-26 02:23:23 -05:00
|
|
|
see http://lkml.org/lkml/2008/10/12/132
|
|
|
|
|
2011-02-17 09:30:52 -06:00
|
|
|
|
|
|
|
---------------
|
|
|
|
exotic requests
|
|
|
|
---------------
|
|
|
|
|
2011-07-28 06:16:31 -05:00
|
|
|
- add SELinux security contexts support to the 'ipcs' utility
|
2008-12-02 07:27:37 -06:00
|
|
|
http://bugzilla.redhat.com/show_bug.cgi?id=225342
|
|
|
|
|
|
|
|
Would be great to list the current system IPC Objects with their respective
|
|
|
|
security labels (where allowed) with something like 'ipcs -Z' - following the
|
|
|
|
way other tools reports those.
|
|
|
|
|
|
|
|
|