Your message dated Sun, 3 May 2020 22:51:43 +0200
with message-id <[email protected]>
and subject line Documentation and message updates
has caused the Debian Bug report #324852,
regarding util-linux: mkswap manpage should suggest appropriate permissions for 
swapfiles
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
324852: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=324852
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: util-linux
Version: 2.12p-7
Severity: normal


Hi,

in the mkswap manpage one reads:

  To setup a swap file, it is necessary to create that file before initializing 
  it with mkswap, e.g. using a command like

              # dd if=/dev/zero of=swapfile bs=1024 count=65536

With Debian's default umask this creates a file with the following permissions:

-rw-r--r--  

whereas appropriate permissions are:

-rw------- 

Therefore I suggest to add the following command after dd:

              # chmod go-rwx swapfile


(This report is related to bug #196857, which will probably not be fixed soon.)


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (100, 'unstable'), (99, 'experimental'), (98, 'breezy')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

Versions of packages util-linux depends on:
ii  libc6                         2.3.5-4    GNU C Library: Shared libraries an
ii  libncurses5                   5.4-9      Shared libraries for terminal hand
ii  libslang2                     2.0.4-4    The S-Lang programming library - r
ii  libuuid1                      1.38-2     universally unique id library
ii  zlib1g                        1:1.2.3-3  compression library - runtime

util-linux recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Hi,

thank you for your reports. Please send documentation and message
improvements upstream, as tracking this in Debian is a good way of
them never arriving :-)

See https://github.com/karelzak/util-linux/issues 

Karel and team tend to react well to properly formatted patches that
are useful to all distributions.

Stay safe,
Chris

--- End Message ---

Reply via email to