Bug#975325: dash(1) man page: ulimit documentation is inconsistent and out-of-date

2023-01-05 Thread наб
Control: tags -1 + fixed-upstream

Fixed in
  
https://git.kernel.org/pub/scm/utils/dash/dash.git/commit/?id=c3b97c70d8ffec83122caf2bfd0489380610217c

The message references the wrong Bebian bug; mea culpa.

наб


signature.asc
Description: PGP signature


Bug#975325: dash(1) man page: ulimit documentation is inconsistent and out-of-date

2022-12-17 Thread наб
Control: tags -1 + upstream patch
Control: forwarded -1 
https://lore.kernel.org/dash/20221217151717.tiupxl7jrgwvw...@tarta.nabijaczleweli.xyz/t/#u

On Fri, Nov 20, 2020 at 03:25:55PM +0100, Vincent Lefevre wrote:
> On 2020-11-20 14:54:50 +0100, Vincent Lefevre wrote:
> > $ ulimit -r
> > sh: 17: ulimit: Illegal option -r
> For -r, it should probably be supported. See
>   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=975326

Indeed; it's supported as part of ulimit -a only, and I've covered that
with my patch for #975326.

I've appended the dash@ thread with a documentation fix for ulimit -w
(and the synopsis), archived at forwarded-to.
Those are the only mis-match problems with ulimit, AFAICT at least.

наб


signature.asc
Description: PGP signature


Bug#975325: dash(1) man page: ulimit documentation is inconsistent and out-of-date

2020-11-20 Thread Vincent Lefevre
On 2020-11-20 14:54:50 +0100, Vincent Lefevre wrote:
> In the ulimit documentation from the dash(1) man page:
> 
>  ulimit [-H | -S] [-a | -tfdscmlpnv [value]]
> [...]
> -r  show or set the limit on the real-time scheduling
> priority of a process
> 
> The -r option is not listed in the synopsis, but described anyway.
> However, it is not supported:
> 
> $ ulimit -r
> sh: 17: ulimit: Illegal option -r

For -r, it should probably be supported. See

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=975326

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Bug#975325: dash(1) man page: ulimit documentation is inconsistent and out-of-date

2020-11-20 Thread Vincent Lefevre
Package: dash
Version: 0.5.11+git20200708+dd9ef66-2
Severity: normal

In the ulimit documentation from the dash(1) man page:

 ulimit [-H | -S] [-a | -tfdscmlpnv [value]]
[...]
-r  show or set the limit on the real-time scheduling
priority of a process

The -r option is not listed in the synopsis, but described anyway.
However, it is not supported:

$ ulimit -r
sh: 17: ulimit: Illegal option -r

Moreover, the -w option is supported:

$ ulimit -w
unlimited

but neither given in the synopsis, nor described.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.9.0-2-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dash depends on:
ii  debconf [debconf-2.0]  1.5.74
ii  debianutils4.11.2
ii  dpkg   1.20.5
ii  libc6  2.31-4

dash recommends no packages.

dash suggests no packages.

-- debconf information excluded

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)