Bug#5212: xdm *still* allows login for /bin/true users

2002-11-30 Thread H. S. Teoh
Hi,

I've just verified that XDM still exhibits this bug, contrary to what
Steve Durham said about PAM fixing it. I added /bin/true to /etc/shells,
and changed a user's shell to /bin/true. XDM still logged me in.


T

-- 
The two rules of success: 1. Don't tell everything you know. -- YHL



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




Re: lintian should warn about /usr/X11R6 usage being disallowed

2002-11-30 Thread Josip Rodin
Hi,

I think I'm going to make a Lintian check for all packages that use
/usr/X11R6 except those where $source{$binpkg} eq "xfree86"
(half-pseudo-code there).

AIUI, Overfiend only added the imake exception into policy so that less
packages need immediate fixing (policy-is-not-a-stick policy :), not because
they don't actually need fixing to get out of the X-version-specific
hierarchy and into the normal places.

Lintian should simply barf on these packages since fixing Imakefiles in
build systems that aren't monstrous like X's own isn't really all that hard.

Comments?

-- 
 2. That which causes joy or happiness.


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




Bug#171294: xserver-xfree86: shift-num lock makes X beep alot

2002-11-30 Thread Göran Weinholt
Package: xserver-xfree86
Version: 4.2.1-4
Severity: normal

When I press shift-num lock to active the mouse stuff on the
numerical keyboard, X starts to beep. It keeps on beeping until
I kill the server...

It's very annoying.

-- Package-specific info:
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX] (rev b2)
01:00.0 Class 0300: 10de:0110 (rev b2)

# XF86Config-4 (XFree86 server configuration file) generated by Dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config manual page.
# (Type "man XF86Config" at the shell prompt.)

Section "Files"
FontPath"unix/:7100"# local font server
# if the local font server has problems, we can fall back on these
#FontPath   "/usr/lib/X11/fonts/misc"
#FontPath   "/usr/lib/X11/fonts/cyrillic"
#FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
#FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
#FontPath   "/usr/lib/X11/fonts/Type1"
#FontPath   "/usr/lib/X11/fonts/Speedo"
#FontPath   "/usr/lib/X11/fonts/100dpi"
#FontPath   "/usr/lib/X11/fonts/75dpi"
EndSection

Section "ServerFlags"
EndSection

Section "Module"
Load"ddc"
Load"GLcore"
Load"dbe"
Load"dri"
Load"extmod"
#   Load"glx"
Load"v4l"
Load"pex5"
Load"record"
Load"xie"
Load"bitmap"
Load"freetype"
Load"speedo"
Load"type1"
Load"vbe"
Load"int10"
EndSection

Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "keyboard"
Option  "CoreKeyboard"
Option  "XkbRules"  "xfree86"
#   Option  "XkbModel"  "pc105"
Option  "XkbModel"  "logicordless"
Option  "XkbLayout" "se"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Device""/dev/psaux"
Option  "Protocol"  "ImPS/2"
Option  "Emulate3Buttons"   "false"
Option  "ZAxisMapping"  "4 5"
EndSection

Section "InputDevice"
Identifier  "Generic Mouse"
Driver  "mouse"
Option  "SendCoreEvents""true"
Option  "Device""/dev/input/mice"
Option  "Protocol"  "ImPS/2"
Option  "Emulate3Buttons"   "true"
Option  "ZAxisMapping"  "4 5"
EndSection

Section "Device"
Identifier  "Generic Video Card"
Driver  "nv"
#   Option  "UseFBDev"  "true"
#   Option  "backingstore"  "true"
EndSection

Section "Monitor"
Identifier  "Generic Monitor"
#   HorizSync 31.5 - 37.9
#   VertRefresh 50-90
HorizSync 31 - 70
VertRefresh 55-120

Option  "DPMS"
#ModeLine "1280x960"108.00   1280 1320 1432 1696960  961  964 1000 
+hsync +vsync

#ModeLine "1280x960"108.00   1280 1344 1456 1696960  961  964 1000 
+hsync +vsync
#ModeLine "1024x768" 94.50   1024 1072 1168 1348768  769  772  800 
+hsync +vsync
ModeLine "1024x768" 94.50   1024 1080 1176 1376768  769  772  808 
+hsync +vsync
EndSection

Section "Screen"
Identifier  "Default Screen"
Device  "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth16
#   SubSection "Display"
#   Depth   1
#   Modes   "800x600" "640x480"
#   EndSubSection
#   SubSection "Display"
#   Depth   4
#   Modes   "800x600" "640x480"
#   EndSubSection
#   SubSection "Display"
#   Depth   8
#   Modes   "800x600" "640x480"
#   EndSubSection
#   SubSection "Display"
#   Depth   15
#   Modes   "800x600" "640x480"
#   EndSubSection
SubSection "Display"
Depth   16
#   Modes   "1280x960" "1024x768" "800x600" "640x480"
Modes   "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   24
Modes   "1280x960" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier  "Default Layout"
Screen  "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection

Section "DRI

Bug#5212: xdm *still* allows login for /bin/true users

2002-11-30 Thread Herbert Xu
H. S. Teoh <[EMAIL PROTECTED]> wrote:
> 
> I've just verified that XDM still exhibits this bug, contrary to what
> Steve Durham said about PAM fixing it. I added /bin/true to /etc/shells,
> and changed a user's shell to /bin/true. XDM still logged me in.

IMHO this bug is bogus.  Raul's suggestion does not work, there is no
generic way to execute a command given an arbitrary shell.

What Steven Durham may have meant is that after switching to PAM, the
people who want to allow only FTP access can use something other than
/bin/true to do so, e.g., a simple list through pam_listfile.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



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




Bug#171305: Xfree86 Package Configuration Failure

2002-11-30 Thread Bob Parnes
Package: xserver-xfree86

Version: 4.2.1-3

Installation fails, with an apparently endless series of lines complaining
about input overruns, when I try to upgrade from version 4.1.0. Following
is an example, recorded after I downloaded the .deb packages, from a 
console without X running.

Reading Package Lists...
Building Dependency Tree...
The following extra packages will be installed:
  libc6 libc6-dev libc6-pic libdb1-compat locales 
The following NEW packages will be installed:
  libdb1-compat 
5 packages upgraded, 1 newly installed, 0 to remove and 394  not upgraded.
Need to get 0B/14.0MB of archives. After unpacking 1012kB will be freed.
Do you want to continue? [Y/n] 

Preconfiguring packages ...

ttyS: 1 input overrun(s)
ttyS: 257 input overrun(s)
ttyS: 257 input overrun(s)
ttyS: 257 input overrun(s)
ttyS: 257 input overrun(s)
ttyS: 257 input overrun(s)

etc., continuing until I press ctrl-c. I tried this several times; sometimes
the numbers differ, on two occasions the keyboard froze.

To test whether one of the the extra packages is responsible, I installed
them separately, using dpkg. Then I ran dpkg on the xserver-xfree86
package, and the above overrun(s) lines again appeared.

Kernel version is 2.4.20-pre7-ac3, libc-2.2.5.so is on the system.

Motherboard is an intel 845 with P4 1700 MHZ cpu. /home directory is set up 
with software raid 1. The kernel is the result of two patches applied to 
version 2.4.19, in order to support a Promise ultra 133 TX2 controller. Two 
hard drives: seagate 80 GB 7200 rpm and quantum 15 GB 5400 rpm.

Bob Parnes


-- 
Bob Parnes
[EMAIL PROTECTED]



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




Bug#171294: neverending beep reproduced

2002-11-30 Thread Eduard Bloch
I have the same problem here. It is even easier to reproduce - press and
hold the Shift button for about 10 seconds and it will beep till you
kill this X server.

Gruss/Regards,
Eduard.
-- 
Diese .sig wird ihnen präsentiert von: 

 ihrem Newsreader



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




Bug#169308: xserver-xfree86: LCD blanks and won't unblank -> kernel bug?

2002-11-30 Thread Jerry Quinn
Chris Halls writes:
 > I read this in Kernel Traffic #192.  Could this be your problem?

I don't think so.  The problem below occurs as a result of fbdev
suspending and shows up after resume.  My problem is when the screen
blanks after being idle for a while, and doing suspend/resume fixes
it.  Also, I don't use fbdev, because I don't get a working display at
all with it.

That said, I can pull down this kernel and give it a try.

Thanks,
Jerry Quinn



 > --
 > 1. Linux 2.4.20-rc1 Released
 >  Topics: Filesystems, Framebuffer, Source Control
 > 29 Oct  - 8 Nov  (8 posts) Archive Link: "Linux 2.4.20-rc1"
 > 
 > Marcelo Tosatti announced 2.4.20-rc1 and included the BitKeeper summary. He
 > said, "Several networking fixes, net drivers fixes, devfs root boot option
 > fixed, and more." Carl-Daniel Hailfinger reported that his system would come
 > back up with a blank screen after a hardware suspend and resume. Switching
 > to another console and back again would fix it. He traced the problem to
 > 2.4.18-pre7, in the power management code; and Marcelo asked if he'd
 > actually reverted the part of the code he'd identified. Carl tried this and
 > found that his initial assessment was wrong. Instead, he traced the problem
 > all the way back to some framebuffer changes in 2.4.18-pre1. He posted a



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




Re: Powerbook crashing on wakeup only in X

2002-11-30 Thread Jeffrey Baker
On Fri, Nov 29, 2002 at 10:38:34AM +0100, Michel D?nzer wrote:
> dOn Die, 2002-11-26 at 18:31, Jeffrey Baker wrote: 
> > Greetings all.  I have a powerbook g4, first revision.
> > Since upgrading to 4.2.1-4 X packages last night, my
> > powerbook now crashes when woken up, if X is running.  The
> > crash is unfortunately 100% reliable and happens the very
> > first time the book is put to sleep.  This crash does not
> > occur at the console.
> > 
> > Before the upgrade, I was having intermittent crashes, but
> > nothing like this.
> 
> What version did you have before?

2.4.19-pre4-ben0 --- is there anyway I can get a snapshot of
that source?  I'd love to have it back :(

> Is APM emulation enabled in the kernel, and /dev/apm_bios exists?

Yes.

-jwb


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




Bug#5212: xdm *still* allows login for /bin/true users

2002-11-30 Thread H. S. Teoh
Hi,

I've just verified that XDM still exhibits this bug, contrary to what
Steve Durham said about PAM fixing it. I added /bin/true to /etc/shells,
and changed a user's shell to /bin/true. XDM still logged me in.


T

-- 
The two rules of success: 1. Don't tell everything you know. -- YHL




Re: lintian should warn about /usr/X11R6 usage being disallowed

2002-11-30 Thread Josip Rodin
Hi,

I think I'm going to make a Lintian check for all packages that use
/usr/X11R6 except those where $source{$binpkg} eq "xfree86"
(half-pseudo-code there).

AIUI, Overfiend only added the imake exception into policy so that less
packages need immediate fixing (policy-is-not-a-stick policy :), not because
they don't actually need fixing to get out of the X-version-specific
hierarchy and into the normal places.

Lintian should simply barf on these packages since fixing Imakefiles in
build systems that aren't monstrous like X's own isn't really all that hard.

Comments?

-- 
 2. That which causes joy or happiness.



Bug#171294: xserver-xfree86: shift-num lock makes X beep alot

2002-11-30 Thread Göran Weinholt
Package: xserver-xfree86
Version: 4.2.1-4
Severity: normal

When I press shift-num lock to active the mouse stuff on the
numerical keyboard, X starts to beep. It keeps on beeping until
I kill the server...

It's very annoying.

-- Package-specific info:
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX] (rev 
b2)
01:00.0 Class 0300: 10de:0110 (rev b2)

# XF86Config-4 (XFree86 server configuration file) generated by Dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config manual page.
# (Type "man XF86Config" at the shell prompt.)

Section "Files"
FontPath"unix/:7100"# local font server
# if the local font server has problems, we can fall back on these
#FontPath   "/usr/lib/X11/fonts/misc"
#FontPath   "/usr/lib/X11/fonts/cyrillic"
#FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
#FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
#FontPath   "/usr/lib/X11/fonts/Type1"
#FontPath   "/usr/lib/X11/fonts/Speedo"
#FontPath   "/usr/lib/X11/fonts/100dpi"
#FontPath   "/usr/lib/X11/fonts/75dpi"
EndSection

Section "ServerFlags"
EndSection

Section "Module"
Load"ddc"
Load"GLcore"
Load"dbe"
Load"dri"
Load"extmod"
#   Load"glx"
Load"v4l"
Load"pex5"
Load"record"
Load"xie"
Load"bitmap"
Load"freetype"
Load"speedo"
Load"type1"
Load"vbe"
Load"int10"
EndSection

Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "keyboard"
Option  "CoreKeyboard"
Option  "XkbRules"  "xfree86"
#   Option  "XkbModel"  "pc105"
Option  "XkbModel"  "logicordless"
Option  "XkbLayout" "se"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Device""/dev/psaux"
Option  "Protocol"  "ImPS/2"
Option  "Emulate3Buttons"   "false"
Option  "ZAxisMapping"  "4 5"
EndSection

Section "InputDevice"
Identifier  "Generic Mouse"
Driver  "mouse"
Option  "SendCoreEvents""true"
Option  "Device""/dev/input/mice"
Option  "Protocol"  "ImPS/2"
Option  "Emulate3Buttons"   "true"
Option  "ZAxisMapping"  "4 5"
EndSection

Section "Device"
Identifier  "Generic Video Card"
Driver  "nv"
#   Option  "UseFBDev"  "true"
#   Option  "backingstore"  "true"
EndSection

Section "Monitor"
Identifier  "Generic Monitor"
#   HorizSync 31.5 - 37.9
#   VertRefresh 50-90
HorizSync 31 - 70
VertRefresh 55-120

Option  "DPMS"
#ModeLine "1280x960"108.00   1280 1320 1432 1696960  961  964 
1000 +hsync +vsync

#ModeLine "1280x960"108.00   1280 1344 1456 1696960  961  964 
1000 +hsync +vsync
#ModeLine "1024x768" 94.50   1024 1072 1168 1348768  769  772  
800 +hsync +vsync
ModeLine "1024x768" 94.50   1024 1080 1176 1376768  769  772  
808 +hsync +vsync
EndSection

Section "Screen"
Identifier  "Default Screen"
Device  "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth16
#   SubSection "Display"
#   Depth   1
#   Modes   "800x600" "640x480"
#   EndSubSection
#   SubSection "Display"
#   Depth   4
#   Modes   "800x600" "640x480"
#   EndSubSection
#   SubSection "Display"
#   Depth   8
#   Modes   "800x600" "640x480"
#   EndSubSection
#   SubSection "Display"
#   Depth   15
#   Modes   "800x600" "640x480"
#   EndSubSection
SubSection "Display"
Depth   16
#   Modes   "1280x960" "1024x768" "800x600" "640x480"
Modes   "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   24
Modes   "1280x960" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier  "Default Layout"
Screen  "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection

Section "DR

Bug#5212: xdm *still* allows login for /bin/true users

2002-11-30 Thread Herbert Xu
H. S. Teoh <[EMAIL PROTECTED]> wrote:
> 
> I've just verified that XDM still exhibits this bug, contrary to what
> Steve Durham said about PAM fixing it. I added /bin/true to /etc/shells,
> and changed a user's shell to /bin/true. XDM still logged me in.

IMHO this bug is bogus.  Raul's suggestion does not work, there is no
generic way to execute a command given an arbitrary shell.

What Steven Durham may have meant is that after switching to PAM, the
people who want to allow only FTP access can use something other than
/bin/true to do so, e.g., a simple list through pam_listfile.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt




Bug#171305: Xfree86 Package Configuration Failure

2002-11-30 Thread Bob Parnes
Package: xserver-xfree86

Version: 4.2.1-3

Installation fails, with an apparently endless series of lines complaining
about input overruns, when I try to upgrade from version 4.1.0. Following
is an example, recorded after I downloaded the .deb packages, from a 
console without X running.

Reading Package Lists...
Building Dependency Tree...
The following extra packages will be installed:
  libc6 libc6-dev libc6-pic libdb1-compat locales 
The following NEW packages will be installed:
  libdb1-compat 
5 packages upgraded, 1 newly installed, 0 to remove and 394  not upgraded.
Need to get 0B/14.0MB of archives. After unpacking 1012kB will be freed.
Do you want to continue? [Y/n] 

Preconfiguring packages ...

ttyS: 1 input overrun(s)
ttyS: 257 input overrun(s)
ttyS: 257 input overrun(s)
ttyS: 257 input overrun(s)
ttyS: 257 input overrun(s)
ttyS: 257 input overrun(s)

etc., continuing until I press ctrl-c. I tried this several times; sometimes
the numbers differ, on two occasions the keyboard froze.

To test whether one of the the extra packages is responsible, I installed
them separately, using dpkg. Then I ran dpkg on the xserver-xfree86
package, and the above overrun(s) lines again appeared.

Kernel version is 2.4.20-pre7-ac3, libc-2.2.5.so is on the system.

Motherboard is an intel 845 with P4 1700 MHZ cpu. /home directory is set up 
with software raid 1. The kernel is the result of two patches applied to 
version 2.4.19, in order to support a Promise ultra 133 TX2 controller. Two 
hard drives: seagate 80 GB 7200 rpm and quantum 15 GB 5400 rpm.

Bob Parnes


-- 
Bob Parnes
[EMAIL PROTECTED]




Bug#171294: neverending beep reproduced

2002-11-30 Thread Eduard Bloch
I have the same problem here. It is even easier to reproduce - press and
hold the Shift button for about 10 seconds and it will beep till you
kill this X server.

Gruss/Regards,
Eduard.
-- 
Diese .sig wird ihnen präsentiert von: 

 ihrem Newsreader




Bug#169308: xserver-xfree86: LCD blanks and won't unblank -> kernel bug?

2002-11-30 Thread Jerry Quinn
Chris Halls writes:
 > I read this in Kernel Traffic #192.  Could this be your problem?

I don't think so.  The problem below occurs as a result of fbdev
suspending and shows up after resume.  My problem is when the screen
blanks after being idle for a while, and doing suspend/resume fixes
it.  Also, I don't use fbdev, because I don't get a working display at
all with it.

That said, I can pull down this kernel and give it a try.

Thanks,
Jerry Quinn



 > --
 > 1. Linux 2.4.20-rc1 Released
 >  Topics: Filesystems, Framebuffer, Source Control
 > 29 Oct  - 8 Nov  (8 posts) Archive Link: "Linux 2.4.20-rc1"
 > 
 > Marcelo Tosatti announced 2.4.20-rc1 and included the BitKeeper summary. He
 > said, "Several networking fixes, net drivers fixes, devfs root boot option
 > fixed, and more." Carl-Daniel Hailfinger reported that his system would come
 > back up with a blank screen after a hardware suspend and resume. Switching
 > to another console and back again would fix it. He traced the problem to
 > 2.4.18-pre7, in the power management code; and Marcelo asked if he'd
 > actually reverted the part of the code he'd identified. Carl tried this and
 > found that his initial assessment was wrong. Instead, he traced the problem
 > all the way back to some framebuffer changes in 2.4.18-pre1. He posted a




Re: Powerbook crashing on wakeup only in X

2002-11-30 Thread Jeffrey Baker
On Fri, Nov 29, 2002 at 10:38:34AM +0100, Michel D?nzer wrote:
> dOn Die, 2002-11-26 at 18:31, Jeffrey Baker wrote: 
> > Greetings all.  I have a powerbook g4, first revision.
> > Since upgrading to 4.2.1-4 X packages last night, my
> > powerbook now crashes when woken up, if X is running.  The
> > crash is unfortunately 100% reliable and happens the very
> > first time the book is put to sleep.  This crash does not
> > occur at the console.
> > 
> > Before the upgrade, I was having intermittent crashes, but
> > nothing like this.
> 
> What version did you have before?

2.4.19-pre4-ben0 --- is there anyway I can get a snapshot of
that source?  I'd love to have it back :(

> Is APM emulation enabled in the kernel, and /dev/apm_bios exists?

Yes.

-jwb