Bug#907485: makepasswd: By default, generated passwords are unsecure

2018-08-28 Thread Emmanuel CHANTREAU
Package: makepasswd
Version: 1.10-10
Severity: important

Dear Maintainer,

makepasswd, by default, generates passwords that can be cracked in one day or
one month by a single PC with a fast GPU.

Why it is true:
By default the generated password is from length 8 to 10.
Nowdays, a 8 length password is cracked in one day by a single pc with a fast
GPU. I saw this using a testing web site (http://password-checker.online-
domain-tools.com/) and also by my own calculations based on the number or
passwords tested by good crackers.

Why it's a big security problem:
-users relies on the default values to get security
-using this program, users are led to believe that a 8/9 length password is a
good security (this was my case).
For example I crypted my sensible data with a 9 length password.

Security is nothing with only good programs, we need also good practices, good
default parameters and good informations.

Suggestion: set the password to length 14 and give the information that this is
a good security level in 2012. We could set a lower length but the password
should resist not just now but also in a few years.

Regards



-- System Information:
Debian Release: 9.5
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-7-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr:en_US (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages makepasswd depends on:
ii  libbytes-random-secure-perl  0.28-1
ii  libcrypt-passwdmd5-perl  1.3-10
ii  perl 5.24.1-3+deb9u4

makepasswd recommends no packages.

makepasswd suggests no packages.

-- no debconf information



Bug#794528: bug specific to ftpfs

2015-08-04 Thread Emmanuel CHANTREAU
Hi

This email show that:

1) with same options sshfs works well and not ftpfs
2) the user option is not in mtab and sshfs works, so it contradicts
the analyze of the bug at
http://fuse.996288.n3.nabble.com/Cannot-umount-as-non-root-user-anymore-td689.html

I use also sshfs the same way, I modified a bit the fstab entry to have
the same options:
fstab:

--
p2p-lect...@gool.bibu.eu:/var/lib/transmission-daemon/downloads   
/mpnts/bibup2p
fuse.sshfs
noauto,_netdev,ro,user,allow_other,idmap=user,uid=1000,gid=1000,default_permissions
0 0

curlftpfs#emmanuel:password@telemmanuel:2221  /mpnts/telephone-emmanuel
fuse
noauto,_netdev,ro,user,allow_other,uid=1000,gid=1000,default_permissions
0 0
--


command line:
--
emmanuel@fanti: ~
$ mount /mpnts/telephone-emmanuel/
emmanuel@fanti: ~
$ mount /mpnts/bobup2p/
emmanuel@fanti: ~
$ tail -n2 /etc/mtab 
curlftpfs#ftp://emmanuel:tytotu@telemmanuel:2221/ /mpnts/telephone-emmanuel
fuse
ro,nosuid,nodev,noexec,relatime,user_id=1000,group_id=1000,default_permissions,allow_other
0 0
p2p-lect...@global.bobu.eu:/var/lib/transmission-daemon/downloads /mpnts/bobup2p
fuse.sshfs
ro,nosuid,nodev,noexec,relatime,user_id=1000,group_id=1000,default_permissions,allow_other
0 0 
emmanuel@fanti: ~ 
$ umount /mpnts/bobup2p/ 
emmanuel@fanti: ~ 
$ umount /mpnts/telephone-emmanuel/ umount: /mpnts/telephone-emmanuel:
umount failed: Operation not permitted

--
and as usual, root can umount it


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#794528: libmount1: fuse user option: can mount but not umount

2015-08-03 Thread Emmanuel Chantreau
Package: libmount1
Version: 2.27~rc1-1
Severity: normal
Tags: upstream

hi

The fstab line:

curlftpfs#emmanuel:password@telemmanuel:2221/mpnts/telephone-emmanuel
fusenoauto,rw,user,uid=1000,_netdev 0   0

I can mount/umount as root without problem, but for a normal user I can just
mount:

emmanuel@fanti: ~
$ mount /mpnts/telephone-emmanuel
emmanuel@fanti: ~
$ ls -d /mpnts/telephone-emmanuel/a*
/mpnts/telephone-emmanuel/acct/
emmanuel@fanti: ~
$ umount /mpnts/telephone-emmanuel
umount: /mpnts/telephone-emmanuel: Permission denied
emmanuel@fanti: ~
$ tail -n1 /etc/mtab
curlftpfs#ftp://emmanuel:tytotu@telemmanuel:2221/ /mpnts/telephone-emmanuel
fuse rw,nosuid,nodev,noexec,relatime,user_id=1000,group_id=1000 0 0

This bug is already known:
http://fuse.996288.n3.nabble.com/Cannot-umount-as-non-root-user-anymore-
td689.html
http://sourceforge.net/p/fuse/mailman/message/29878050/

As explained, the user option is not in mtab and then a normal user can't
umount.

thx



-- System Information:
Debian Release: 8.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libmount1 depends on:
ii  libblkid12.25.2-6
ii  libc62.19-18
ii  libselinux1  2.3-2

libmount1 recommends no packages.

libmount1 suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#724813: cryptsetup doesn't wait disk to appear in /dev

2013-09-28 Thread Emmanuel CHANTREAU
Package: cryptsetup
Version: 2:1.6.1-1
Severity: important

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?

I boot on a quick ssd disk and I have a crypted partition on a hard disk 
attached by an usb3. The crypttab got the line for this partition but the
partition is not done. The password is in a file so there is no need to 
wait the user.

The trace (set -x and ls /dev/sd* in init.d/cryptsetup)
show that the partition is not already visible. Adding /bin/sleep 1s 
at the start of the script resolve the problem.

My conclusion is that the cryptsetup is executed no matter if the disks 
are already visibles, so the user need to be lucky to get the good behaviour.

*** End of the template - remove these lines ***


-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.10-3-686-pae 
root=UUID=3a51bc0b-7b6b-409a-b843-9e4783d95c22 ro quiet

-- /etc/crypttab
# target name source device key file  options

kikiext /dev/sdc1 /etc/crypttab.kikicrypt luks,loud


-- /etc/fstab
# /etc/fstab: static file system information.
#
# file system mount point   type  options   dump  pass
proc/proc   procdefaults0   0
LABEL=root  /   ext4
noatime,discard,errors=remount-ro,noatime 0   1
LABEL=boot  /boot   ext2defaults,noatime,errors=remount-ro  
   0   2
LABEL=reste /reste  ext4
defaults,discard,noatime,errors=remount-ro 0   2
/reste/usr  /usrnonedefaults,bind,noatime
/reste/var  /varnonedefaults,bind,noatime
/reste/home /home   nonedefaults,bind,noatime
/dev/mapper/kikiext /mpnts/kikiext ext4 defaults,errors=remount-ro
/reste/opt  /optnonedefaults,bind,noatime
tmpfs   /tmptmpfs   defaults,size=1g 0  0
/dev/sdb/media/usb0 autodefaults,users,noauto,errors=remount-ro
/dev/sdb1   /media/usb0 autodefaults,users,noauto,errors=remount-ro
/dev/sdb2   /media/usb1 autodefaults,users,noauto,errors=remount-ro
/dev/sdc/media/usb2 autodefaults,users,noauto,errors=remount-ro
/dev/sdc1   /media/usb2 autodefaults,users,noauto,errors=remount-ro
/dev/sdc2   /media/usb3 autodefaults,users,noauto,errors=remount-ro


LABEL=pti80 /pti80  ext4defaults,users,noauto,errors=remount-ro



-- lsmod
Module  Size  Used by
parport_pc 22073  0 
ppdev  12620  0 
lp 12805  0 
parport31317  3 lp,ppdev,parport_pc
cpufreq_stats  12762  0 
cpufreq_userspace  12520  0 
cpufreq_conservative13872  0 
cpufreq_powersave  12422  0 
bnep   17264  2 
rfcomm 28433  0 
bluetooth 148477  10 bnep,rfcomm
autofs422898  7 
binfmt_misc12789  1 
uinput 12961  1 
nfsd  165319  13 
auth_rpcgss33694  1 nfsd
oid_registry   12387  1 auth_rpcgss
nfs_acl12463  1 nfsd
nfs94283  0 
lockd  49438  2 nfs,nfsd
dns_resolver   12569  1 nfs
fscache32615  1 nfs
sunrpc129998  23 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
nf_conntrack_irc   12395  0 
nf_conntrack_ftp   12571  0 
xt_tcpudp  12506  12 
nf_conntrack_ipv4  14029  2 
nf_defrag_ipv4 12443  1 nf_conntrack_ipv4
xt_conntrack   12601  2 
nf_conntrack   53821  4 
xt_conntrack,nf_conntrack_ftp,nf_conntrack_irc,nf_conntrack_ipv4
xt_multiport   12492  2 
xt_recent  13159  2 
xt_LOG 17053  2 
xt_limit   12484  2 
iptable_filter 12488  1 
ip_tables  17010  1 iptable_filter
x_tables   18124  8 
xt_recent,ip_tables,xt_tcpudp,xt_limit,xt_conntrack,xt_LOG,xt_multiport,iptable_filter
dummy  12629  0 
ext2   50124  1 
fuse   61469  1 
dm_crypt   18014  1 
dm_mod 57696  3 dm_crypt
joydev 17022  0 
hid_generic12369  0 
usbhid 36040  0 
hid64702  2 hid_generic,usbhid
iTCO_wdt   12727  0 
iTCO_vendor_support12632  1 iTCO_wdt
snd_hda_codec_realtek31992  1 
snd_hda_codec_hdmi 31192  1 
coretemp   12770  0 
kvm   246104  0 
eeepc_wmi  12536  0 
asus_wmi   18511  1 eeepc_wmi
sparse_keymap  12680  1 asus_wmi
rfkill 18706  3 bluetooth,asus_wmi
evdev  17266  21 
microcode  17809  0 
psmouse64900  0 
pcspkr 12560  0 
serio_raw  12812  0 
lpc_ich16685  0 
i2c_i801   16909  0 
mfd_core   12537  1 

Bug#604559: Parsing for creating structure is too slow

2010-11-28 Thread Emmanuel CHANTREAU
Package: kile
Version: 1:2.1.0~svn1112278beta4-2
Severity: normal

This problem occur only when the Structure on the side bar is shown and a lot 
of section. In this case the structure of the tex file can be analysed several 
times (more than 4 with my file).


-- System Information:
Debian Release: squeeze/sid
Architecture: i386 (i686)

Kernel: Linux 2.6.35.8 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages kile depends on:
ii  kdebase-runtime 4:4.4.5-1runtime components from the offici
ii  konsole 4:4.4.5-1X terminal emulator
ii  libc6   2.11.2-6 Embedded GNU C Library: Shared lib
ii  libgcc1 1:4.4.5-2GCC support library
ii  libkdecore5 4:4.4.5-1the KDE Platform Core Library
ii  libkdeui5   4:4.4.5-1the KDE Platform User Interface Li
ii  libkfile4   4:4.4.5-1the File Selection Dialog Library 
ii  libkhtml5   4:4.4.5-1the KHTML Web Content Rendering En
ii  libkio5 4:4.4.5-1the Network-enabled File Managemen
ii  libkjsapi4  4:4.4.5-1the KJS API Library for the KDE De
ii  libkparts4  4:4.4.5-1the Framework for the KDE Platform
ii  libkrosscore4   4:4.4.5-1the Kross Core Library
ii  libktexteditor4 4:4.4.5-1the KTextEditor interfaces for the
ii  libqt4-dbus 4:4.6.3-1+b1 Qt 4 D-Bus module
ii  libqt4-network  4:4.6.3-1+b1 Qt 4 network module
ii  libqt4-script   4:4.6.3-1+b1 Qt 4 script module
ii  libqt4-svg  4:4.6.3-1+b1 Qt 4 SVG module
ii  libqt4-xml  4:4.6.3-1+b1 Qt 4 XML module
ii  libqtcore4  4:4.6.3-1+b1 Qt 4 core module
ii  libqtgui4   4:4.6.3-1+b1 Qt 4 GUI module
ii  libstdc++6  4.4.5-2  The GNU Standard C++ Library v3
ii  texlive-binaries [texlive-b 2009-7   Binaries for TeX Live
ii  texlive-latex-base  2009-11  TeX Live: Basic LaTeX packages

Versions of packages kile recommends:
ii  asymptote 2.02-2 script-based vector graphics langu
ii  context   2009.11.26-2   powerful TeX format
ii  dblatex   0.3-1  Produces DVI, PostScript, PDF docu
ii  dvipng1.13-1 convert DVI files to PNG graphics
ii  evince2.30.3-1   Document (postscript, pdf) viewer
ii  ghostscript   8.71~dfsg2-6   The GPL Ghostscript PostScript/PDF
ii  iceweasel 3.5.13-1   Web browser based on Firefox
ii  imagemagick   8:6.6.0.4-2.2  image manipulation programs
ii  kbibtex   0.2.3.90-1 BibTeX editor for KDE
ii  konqueror 4:4.4.5-1  advanced file manager, web browser
ii  latex2html2008-debian1-5 LaTeX to HTML translator
ii  lilypond  2.12.2-1   A program for typesetting sheet mu
ii  psutils   1.17-27A collection of PostScript documen
ii  tex4ht20090611-1.1   LaTeX and TeX for Hypertext (HTML)
ii  texlive-base [dvipdfmx]   2009-11TeX Live: Essential programs and f
ii  texlive-metapost  2009-11TeX Live: MetaPost (and Metafont) 
ii  texlive-xetex 2009-11TeX Live: XeTeX packages
ii  zip   3.0-3  Archiver for .zip files

Versions of packages kile suggests:
ii  aspell0.60.6-4   GNU Aspell spell-checker
ii  ispell3.1.20.0-7 International Ispell (an interacti
pn  kile-doc  none (no description available)
pn  kile-i18n none (no description available)
ii  texlive-doc-base  2009-2 TeX Live: TeX Live documentation

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#604559: kile: Parsing for creating structure is to slow

2010-11-22 Thread Emmanuel CHANTREAU
Package: kile
Version: 1:2.1.0~svn1112278beta4-2
Severity: minor
Tags: upstream

When kile open a document it parse it to create the structure. The parsing 
was fast with the lenny (1:2.0.1-1) package but is now to slow.

I would like very much to have the speed of the previous version.

-- System Information:
Debian Release: squeeze/sid
Architecture: i386 (i686)

Kernel: Linux 2.6.35.8 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages kile depends on:
ii  kdebase-runtime 4:4.4.5-1runtime components from the offici
ii  konsole 4:4.4.5-1X terminal emulator
ii  libc6   2.11.2-6 Embedded GNU C Library: Shared lib
ii  libgcc1 1:4.4.5-2GCC support library
ii  libkdecore5 4:4.4.5-1the KDE Platform Core Library
ii  libkdeui5   4:4.4.5-1the KDE Platform User Interface Li
ii  libkfile4   4:4.4.5-1the File Selection Dialog Library 
ii  libkhtml5   4:4.4.5-1the KHTML Web Content Rendering En
ii  libkio5 4:4.4.5-1the Network-enabled File Managemen
ii  libkjsapi4  4:4.4.5-1the KJS API Library for the KDE De
ii  libkparts4  4:4.4.5-1the Framework for the KDE Platform
ii  libkrosscore4   4:4.4.5-1the Kross Core Library
ii  libktexteditor4 4:4.4.5-1the KTextEditor interfaces for the
ii  libqt4-dbus 4:4.6.3-1+b1 Qt 4 D-Bus module
ii  libqt4-network  4:4.6.3-1+b1 Qt 4 network module
ii  libqt4-script   4:4.6.3-1+b1 Qt 4 script module
ii  libqt4-svg  4:4.6.3-1+b1 Qt 4 SVG module
ii  libqt4-xml  4:4.6.3-1+b1 Qt 4 XML module
ii  libqtcore4  4:4.6.3-1+b1 Qt 4 core module
ii  libqtgui4   4:4.6.3-1+b1 Qt 4 GUI module
ii  libstdc++6  4.4.5-2  The GNU Standard C++ Library v3
ii  texlive-binaries [texlive-b 2009-7   Binaries for TeX Live
ii  texlive-latex-base  2009-11  TeX Live: Basic LaTeX packages

Versions of packages kile recommends:
ii  asymptote 2.02-2 script-based vector graphics langu
ii  context   2009.11.26-2   powerful TeX format
ii  dblatex   0.3-1  Produces DVI, PostScript, PDF docu
ii  dvipng1.13-1 convert DVI files to PNG graphics
ii  evince2.30.3-1   Document (postscript, pdf) viewer
ii  ghostscript   8.71~dfsg2-6   The GPL Ghostscript PostScript/PDF
ii  iceweasel 3.5.13-1   Web browser based on Firefox
ii  imagemagick   8:6.6.0.4-2.2  image manipulation programs
ii  kbibtex   0.2.3.90-1 BibTeX editor for KDE
ii  konqueror 4:4.4.5-1  advanced file manager, web browser
ii  latex2html2008-debian1-5 LaTeX to HTML translator
ii  lilypond  2.12.2-1   A program for typesetting sheet mu
ii  psutils   1.17-27A collection of PostScript documen
ii  tex4ht20090611-1.1   LaTeX and TeX for Hypertext (HTML)
ii  texlive-base [dvipdfmx]   2009-11TeX Live: Essential programs and f
ii  texlive-metapost  2009-11TeX Live: MetaPost (and Metafont) 
ii  texlive-xetex 2009-11TeX Live: XeTeX packages
ii  zip   3.0-3  Archiver for .zip files

Versions of packages kile suggests:
ii  aspell0.60.6-4   GNU Aspell spell-checker
ii  ispell3.1.20.0-7 International Ispell (an interacti
pn  kile-doc  none (no description available)
pn  kile-i18n none (no description available)
ii  texlive-doc-base  2009-2 TeX Live: TeX Live documentation

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#288455: udftools: And also errors when writing and reading

2007-06-09 Thread Emmanuel CHANTREAU
Package: udftools
Version: 1.0.0b3-12
Followup-For: Bug #288455



-- System Information:
Debian Release: 4.0
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-k7
Locale: LANG=C, LC_CTYPE=fr_FR (charmap=ISO-8859-1)

I changed my dvd device since there was weird errors, but it was the same thing 
with the new device. 
After tests I discovered that there is no problems if I remove udftools. I had 
problems to read and 
write and eject. For exemple: a dvd-rw seen has non readable with udftools 
(even if I blank it full)
is readable and writable without it. I consider this has a BIG problem since it 
tastes like a material problem. 
I am sure it's not material since I change the device and since all the 
problems disapeared when udftools is
uninstalled.

Jun  7 08:01:12 brouillard kernel: pktcdvd: writer pktcdvd0 mapped to hdc
Jun  7 08:05:56 brouillard kernel: hdc: packet command error: status=0x51 { 
DriveReady SeekComplete Error }
Jun  7 08:05:56 brouillard kernel: hdc: packet command error: error=0x54 { 
AbortedCommand LastFailedSense=0x05 }
Jun  7 08:05:56 brouillard kernel: ide: failed opcode was: unknown
Jun  7 08:05:56 brouillard kernel: ATAPI device hdc:
Jun  7 08:05:56 brouillard kernel: Error: Illegal request -- (Sense key=0x05)
Jun  7 08:05:56 brouillard kernel: Cannot read medium - incompatible format -- 
(asc=0x30, ascq=0x02)
Jun  7 08:05:56 brouillard kernel: The failed Read Subchannel packet command 
was:
Jun  7 08:05:56 brouillard kernel: 42 02 40 01 00 00 00 00 10 00 00 00 00 00 
00 00 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#313027: gamix: Prog - Config cause the program to quit

2005-06-11 Thread Emmanuel CHANTREAU
Package: gamix
Version: 1.99.p14.debian1-2
Severity: important


As in bug #271653 gamix quit when I select the configure menu.
If I remove the usb midi keyboard then gamix works fine.

$ rm -r .gamix/
$ gamix
conf_w.c 650: No enough memory.
$ ulimit -a
core file size(blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size   (kbytes, -m) unlimited
open files(-n) 1024
pipe size  (512 bytes, -p) 8
stack size(kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes(-u) 120
virtual memory(kbytes, -v) unlimited
$ free
 total   used   free sharedbuffers cached
Mem:516588 510096   6492  0  16244 165992
-/+ buffers/cache: 327860 188728
Swap:  1172736 223736 949000

/usr/sbin/alsactl store -f - 

state.V8237 {
control.1 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Master Surround Playback Switch'
value.0 true
value.1 true
}
control.2 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
iface MIXER
name 'Master Surround Playback Volume'
value.0 30
value.1 30
}
control.3 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Center Playback Switch'
value true
}
control.4 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 31'
iface MIXER
name 'Center Playback Volume'
value 31
}
control.5 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'LFE Playback Switch'
value false
}
control.6 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 31'
iface MIXER
name 'LFE Playback Volume'
value 22
}
control.7 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Surround Playback Switch'
value.0 false
value.1 false
}
control.8 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
iface MIXER
name 'Surround Playback Volume'
value.0 17
value.1 17
}
control.9 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Master Playback Switch'
value.0 true
value.1 true
}
control.10 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
iface MIXER
name 'Master Playback Volume'
value.0 28
value.1 28
}
control.11 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Master Mono Playback Switch'
value false
}
control.12 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 31'
iface MIXER
name 'Master Mono Playback Volume'
value 27
}
control.13 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Phone Playback Switch'
value false
}
control.14 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 31'
iface MIXER
name 'Phone Playback Volume'
value 22
}
control.15 {
comment.access 'read write'
comment.type BOOLEAN

Bug#298122: postgresql-dump fail if PS_FORMAT environment variable is defined

2005-03-04 Thread Emmanuel CHANTREAU
Package: postgresql
Version: 7.4.7-2
Severity: normal
Tags: patch


Hello

postgresql-dump get pids using ps but it could fail if the ps output is
modified by environment variable PS_FORMAT. To correct the problem you
should replace 
ps ax 
by 
ps ax --format pid,comm
or insert a unset PS_FORMAT at the begining of the script.

see patch below:

diff /usr/lib/postgresql/bin/postgresql-dump 
/usr/lib/postgresql/bin/postgresql-dump~
326c326
   pm_pid=`ps ax --format pid,comm| grep -s postmaster | grep -v 
grep | awk '{print $1}'`
---
   pm_pid=`ps ax | grep -s postmaster | grep -v grep | awk '{print 
 $5}'`
390c390
   new_pm_pid=`ps ax --format pid,comm| grep -s postmaster | 
grep -v grep | awk '{print $1}'`
---
   new_pm_pid=`ps ax | grep -s postmaster | grep -v grep | awk 
 '{print $5}'`
r


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=C, LC_CTYPE=fr_FR (charmap=ISO-8859-1)

Versions of packages postgresql depends on:
ii  adduser  3.59Add and remove users and groups
ii  debconf [debconf 1.4.30.11   Debian configuration management sy
ii  debianutils  2.8.4   Miscellaneous utilities specific t
ii  libc62.3.2.ds1-20GNU C Library: Shared libraries an
ii  libcomerr2   1.35-6  The Common Error Description libra
ii  libkrb53 1.3.6-1 MIT Kerberos runtime libraries
ii  libpam0g 0.76-22 Pluggable Authentication Modules l
ii  libperl5.8   5.8.4-6 Shared Perl library
ii  libpq3   7.4.7-2 PostgreSQL C client library
ii  libreadline4 4.3-11  GNU readline and history libraries
ii  libssl0.9.7  0.9.7e-2SSL shared libraries
ii  mailx1:8.1.2-0.20040524cvs-4 A simple mail user agent
ii  postgresql-clien 7.4.7-2 front-end programs for PostgreSQL
ii  procps   1:3.2.1-2   The /proc file system utilities
ii  python2.32.3.5-1 An interactive high-level object-o
ii  ucf  1.14Update Configuration File: preserv
ii  zlib1g   1:1.2.2-3   compression library - runtime

-- debconf information:
* postgresql/upgrade/preserve_location: /var/lib/postgres/preserve
* postgresql/settings/day_month_order: US
  postgresql/convert-postmaster.init: true
* postgresql/upgrade/policy: true
  postgresql/enable_lang: true
  postgresql/contains_POSTGRESHOME: true
  postgresql/very_old_version_warning: true
* postgresql/upgrade/dump_location: /var/lib/postgres/
  postgresql/convert-pg_hba.conf: true
* postgresql/initdb/location: /var/lib/postgres/data
* postgresql/settings/locale: [EMAIL PROTECTED]
  postgresql/peer-to-ident: true
  postgresql/missing_conf: true
* postgresql/purge_data_too: false
* postgresql/settings/encoding: LATIN9
* postgresql/settings/date_style: POSTGRES


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]