systemctl can not start X, but startx can.

2018-08-28 Thread Chris Capon
Hi.
During a recent update to xorg 1:7.7+19 my graphical environment stopped
initializing on reboot.

sudo systemctl isolate graphical.target
fails to initialize the graphics card with these messages:

[   340.372] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at
PCI:5:0:0.  Please
[   340.372] (EE) NVIDIA(GPU-0): check your system's kernel log for
additional error
[   340.372] (EE) NVIDIA(GPU-0): messages and refer to Chapter 8:
Common Problems in the
[   340.372] (EE) NVIDIA(GPU-0): README for additional information.
[   340.372] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics
device!
[   340.372] (EE) NVIDIA(0): Failing initialization of X screen 0


on the other hand:
startx
initializes it with no problems.

[   150.685] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:5:0:0
[   150.685] (--) NVIDIA(0): CRT-0
[   150.685] (--) NVIDIA(0): CRT-1
[   150.685] (--) NVIDIA(0): DFP-0 (boot)
[   150.685] (--) NVIDIA(0): DFP-1
[   150.685] (--) NVIDIA(0): DFP-2
[   150.687] (II) NVIDIA(0): NVIDIA GPU GeForce GT 430 (GF108) at PCI:5:0:0
(GPU-0)
[   150.687] (--) NVIDIA(0): Memory: 1048576 kBytes
[   150.687] (--) NVIDIA(0): VideoBIOS: 70.08.29.00.30
[   150.687] (II) NVIDIA(0): Detected PCI Express Link width: 16X


I haven't been able to find additional info on what the problem is.

Attached are the two complete Xorg.log files.

Can anyone help?
Thanks.


Xorg.0.log.isolate
Description: Binary data


Xorg.0.log.startx
Description: Binary data


Re: Authentication required keeps popping up

2013-06-21 Thread Chris Capon

On 2013-06-17 17:51, Bob Proulx wrote:

Chris Capon wrote:

Since upgrading to Debian Stable (Wheezy), the Gnome desktop has a
popup which occurs at least once a day asking for authentication.
The exact message is:

  Authentication is required to update packages

This sounds like Bug#708548.  This thread on debian-devel is
concerning this problem.

   http://lists.debian.org/debian-devel/2013/06/msg00341.html

No resolution yet.  But it is a big problem because it is training
people to fall prey to phishing attacks.

Bob


I agree with the bug report.  When a user initiates an action (like 
launching Synaptic) having a security prompt request credentials is fine 
because its intuitive.  For system generated actions which just show up 
at arbitrary times, there should be a clear way of letting the user know 
which software package is making the request. Otherwise, the security is 
pointless because the user is simply going to have to guess one way or 
the other in the end.


For those with the same problem, I found a solution:

-  From the Gnome desktop, go to Activities, Applications, System Tools.
-  Launch the icon called Software Settings.
-  Select the Update Settings tab.
-  Set the Check for updates setting to Never.
-  Set the Automatically install setting to Nothing.

Each of the two settings seem to work independently from the other, so 
they were both responsible for one security prompt each.  Be aware, this 
will disable some sort of software update checking by Gnome.  The Gnome 
update process may possibly be using the PackageKit and PolicyKit 
infrastructure, and is also different from update-manager (which 
doesn't do these security prompts).  Very confusing.  Personally, I use 
a shell script which calls apt-get to keep things simple.


Anyway, thanks to all who helped point me in the right direction.
Cheers.


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

Archive: http://lists.debian.org/51c46c5c.4000...@gmail.com



Authentication required keeps popping up

2013-06-17 Thread Chris Capon

Hi all.

Since upgrading to Debian Stable (Wheezy), the Gnome desktop has a popup 
which occurs at least once a day asking for authentication. The exact 
message is:


 Authentication is required to update packages

It always pops up twice in a row whether I type in a password or just 
cancel the dialog.  I've uninstalled the gnome update manager but this 
still shows up.


Does anyone know what might be causing this or how to get rid of it?

Thanks.


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

Archive: http://lists.debian.org/51bf3d44.4010...@gmail.com



Re: Authentication required keeps popping up

2013-06-17 Thread Chris Capon
Thanks for letting me know about the message headers.  I wasn't aware 
they were there.


PackageKit is installed on my system.  When I try to remove 
gnome-packagekit-data, though, the dependencies also want to remove 
gnome, gnome-core and gnome-desktop-environment.  Maybe there is a way 
to disable it instead?





On 2013-06-17 13:28, green wrote:

Chris Capon wrote at 2013-06-17 11:45 -0500:

Since upgrading to Debian Stable (Wheezy), the Gnome desktop has a
popup which occurs at least once a day asking for authentication.
The exact message is:

  Authentication is required to update packages

It always pops up twice in a row whether I type in a password or
just cancel the dialog.  I've uninstalled the gnome update manager
but this still shows up.

Does anyone know what might be causing this or how to get rid of it?

Check for any PackageKit packages that are installed.  But I have had
some trouble like this too (I think the message is the same, it is on
a system that I do not use personally) and do not see any PackageKit
packages installed.  Let me know what you find.


It would be better to start a new thread with a new message to the
list rather than replying to another.  I chose to not follow the
Openvpn, network manager and resolv.conf thread and your message
consequently did not appear in my inbox.  This is called
thread-killing or -muting and is possible with many email clients due
to the Message-Id and References headers.  More information here:
http://content.reviveyourinbox.com/16-how-to-mute-a-thread-conversation-outlook-gmail-thunderbird.html



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

Archive: http://lists.debian.org/51bf5853.2090...@gmail.com



Re: ACPID stuck in an endless loop - prevents login

2012-09-15 Thread Chris Capon

On 2012-09-14 13:28, Camaleón wrote:

On Fri, 14 Sep 2012 08:48:11 -0400, Chris Capon wrote:


On 2012-09-13 13:07, Camaleón wrote:

On Wed, 12 Sep 2012 14:54:20 -0400, Chris Capon wrote:


After a recent Debian update, I've been unable to log in to my
Debian/Linux server using the console and GDM3 won't start - X.org
crashes part way through the startup.

What can be read from X server error logs?

The mga driver is not loading because it thinks a kernel module is
already using it.

(thanks for sending the log)
  

[  1223.466] (EE) mga: The PCI device 0x525 at 01@00:00:0 has a kernel module 
claiming it.
[  1223.466] (EE) mga: This driver cannot operate until it has been unloaded.

Is there a way to find out what is using it?




Did some more digging and found out that one of the Matrox kernel 
modules was blocking the X.org mga X server from starting.  The module 
causing the problem is called matrox_w1.  Don't know what it is used 
for, but as soon as it was blacklisted, X started cleanly and the 
endless loop problem seems to have stopped.


I think I'll file a bug with Debian about it.  This must be a recent 
problem.


Thanks for your help, Camaleón.


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

Archive: http://lists.debian.org/50552ff7.3010...@gmail.com



Re: ACPID stuck in an endless loop - prevents login

2012-09-14 Thread Chris Capon

On 2012-09-13 13:07, Camaleón wrote:

On Wed, 12 Sep 2012 14:54:20 -0400, Chris Capon wrote:


After a recent Debian update, I've been unable to log in to my
Debian/Linux server using the console and GDM3 won't start - X.org
crashes part way through the startup.

What can be read from X server error logs?


The mga driver is not loading because it thinks a kernel module is 
already using it.


[  1223.466] (EE) mga: The PCI device 0x525 at 01@00:00:0 has a kernel 
module claiming it.
[  1223.466] (EE) mga: This driver cannot operate until it has been 
unloaded.


Is there a way to find out what is using it?

Thanks.


[  1223.417]
X.Org X Server 1.12.3
Release Date: 2012-07-09
[  1223.418] X Protocol Version 11, Revision 0
[  1223.418] Build Operating System: Linux 2.6.32-5-686-bigmem i686 Debian
[  1223.418] Current Operating System: Linux cczip 3.2.0-3-686-pae #1 
SMP Mon Jul 23 03:50:34 UTC 2012 i686
[  1223.418] Kernel command line: 
BOOT_IMAGE=/boot/vmlinuz-3.2.0-3-686-pae 
root=UUID=ea1106bd-afdd-4b04-849a-91b7e8ba0029 ro

[  1223.418] Build Date: 18 July 2012  09:27:53AM
[  1223.418] xorg-server 2:1.12.3-1 (Julien Cristau jcris...@debian.org)
[  1223.418] Current version of pixman: 0.26.0
[  1223.419] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[  1223.419] Markers: (--) probed, (**) from config file, (==) default 
setting,

(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1223.420] (==) Log file: /var/log/Xorg.0.log, Time: Fri Sep 14 
08:40:10 2012

[  1223.420] (==) Using system config directory /usr/share/X11/xorg.conf.d
[  1223.420] (==) No Layout section.  Using the first Screen section.
[  1223.420] (==) No screen section available. Using defaults.
[  1223.421] (**) |--Screen Default Screen Section (0)
[  1223.421] (**) |   |--Monitor default monitor
[  1223.421] (==) No monitor specified for screen Default Screen Section.
Using a default monitor configuration.
[  1223.421] (==) Automatically adding devices
[  1223.421] (==) Automatically enabling devices
[  1223.421] (WW) The directory /usr/share/fonts/X11/cyrillic does not 
exist.

[  1223.421] Entry deleted from font path.
[  1223.421] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
[  1223.421] (==) ModulePath set to /usr/lib/xorg/modules
[  1223.421] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.

[  1223.421] (II) Loader magic: 0xb77285a0
[  1223.421] (II) Module ABI versions:
[  1223.421] X.Org ANSI C Emulation: 0.4
[  1223.421] X.Org Video Driver: 12.0
[  1223.421] X.Org XInput driver : 16.0
[  1223.421] X.Org Server Extension : 6.0
[  1223.422] (--) PCI: (0:0:11:0) 14f1:5b7a:0070:7444 rev 0, Mem @ 
0xec00/67108864
[  1223.422] (--) PCI:*(0:1:0:0) 102b:0525:102b:0641 rev 130, Mem @ 
0xfc00/33554432, 0xf380/16384, 0xf300/8388608, BIOS @ 
0x/131072

[  1223.423] (II) Open ACPI successful (/var/run/acpid.socket)
[  1223.423] (II) LoadModule: extmod
[  1223.424] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[  1223.425] (II) Module extmod: vendor=X.Org Foundation
[  1223.425] compiled for 1.12.3, module version = 1.0.0
[  1223.425] Module class: X.Org Server Extension
[  1223.425] ABI class: X.Org Server Extension, version 6.0
[  1223.425] (II) Loading extension SELinux
[  1223.425] (II) Loading extension MIT-SCREEN-SAVER
[  1223.425] (II) Loading extension XFree86-VidModeExtension
[  1223.425] (II) Loading extension XFree86-DGA
[  1223.425] (II) Loading extension DPMS
[  1223.425] (II) Loading extension XVideo
[  1223.425] (II) Loading extension XVideo-MotionCompensation
[  1223.425] (II) Loading extension X-Resource
[  1223.425] (II) LoadModule: dbe
[  1223.426] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[  1223.426] (II) Module dbe: vendor=X.Org Foundation
[  1223.426] compiled for 1.12.3, module version = 1.0.0
[  1223.426] Module class: X.Org Server Extension
[  1223.426] ABI class: X.Org Server Extension, version 6.0
[  1223.426] (II) Loading extension DOUBLE-BUFFER
[  1223.426] (II) LoadModule: glx
[  1223.427] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  1223.427] (II) Module glx: vendor=X.Org Foundation
[  1223.427] compiled for 1.12.3, module version = 1.0.0
[  1223.427] ABI class: X.Org Server Extension, version 6.0
[  1223.427] (==) AIGLX enabled
[  1223.427] (II) Loading extension GLX
[  1223.427] (II) LoadModule: record
[  1223.428] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[  1223.428] (II

ACPID stuck in an endless loop - prevents login

2012-09-12 Thread Chris Capon

Hi all.

After a recent Debian update, I've been unable to log in to my 
Debian/Linux server using the console and GDM3 won't start - X.org 
crashes part way through the startup.


I think ACPID may be the cause because in syslog there is an endless 
repetition of the same messages every few seconds.  Below is a sample.


Login through SSH still works.  If I stop the ACPID daemon, the messages 
go away and the machine settles down.  Logins work again but GDM3 is 
still messed up - it is trying to start over 100 X sessions repeatedly 
and as each fails, it tries again.


Anyone have any idea what is going on here?

Thanks.

Sep 12 06:36:06 cczip acpid: client 28379[0:0] has disconnected
Sep 12 06:36:06 cczip acpid: client 28381[0:0] has disconnected
Sep 12 06:36:06 cczip acpid: client 28387[0:0] has disconnected
Sep 12 06:36:06 cczip acpid: client 28386[0:0] has disconnected
Sep 12 06:36:06 cczip acpid: client 28390[0:0] has disconnected
Sep 12 06:36:06 cczip acpid: client 28380[0:0] has disconnected
Sep 12 06:36:06 cczip acpid: client 28388[0:0] has disconnected
Sep 12 06:36:06 cczip acpid: client 28385[0:0] has disconnected
Sep 12 06:36:06 cczip acpid: client 28384[0:0] has disconnected
Sep 12 06:36:06 cczip acpid: client 28389[0:0] has disconnected
Sep 12 06:36:06 cczip acpid: client connected from 28521[0:0]
Sep 12 06:36:06 cczip acpid: 1 client rule loaded
Sep 12 06:36:06 cczip acpid: client 28521[0:0] has disconnected
Sep 12 06:36:06 cczip acpid: client connected from 28538[0:0]
Sep 12 06:36:06 cczip acpid: 1 client rule loaded
Sep 12 06:36:06 cczip acpid: client connected from 28526[0:0]
Sep 12 06:36:06 cczip acpid: 1 client rule loaded
Sep 12 06:36:06 cczip acpid: client connected from 28530[0:0]
Sep 12 06:36:06 cczip acpid: 1 client rule loaded
Sep 12 06:36:06 cczip acpid: client connected from 28532[0:0]
Sep 12 06:36:06 cczip acpid: 1 client rule loaded
Sep 12 06:36:06 cczip acpid: client connected from 28528[0:0]
Sep 12 06:36:06 cczip acpid: 1 client rule loaded
Sep 12 06:36:06 cczip acpid: client connected from 28531[0:0]
Sep 12 06:36:06 cczip acpid: 1 client rule loaded
Sep 12 06:36:06 cczip acpid: client connected from 28529[0:0]
Sep 12 06:36:06 cczip acpid: 1 client rule loaded
Sep 12 06:36:06 cczip acpid: client connected from 28527[0:0]
Sep 12 06:36:06 cczip acpid: 1 client rule loaded
Sep 12 06:36:06 cczip acpid: client connected from 28539[0:0]
Sep 12 06:36:06 cczip acpid: 1 client rule loaded
Sep 12 06:36:06 cczip acpid: client connected from 28540[0:0]
Sep 12 06:36:06 cczip acpid: 1 client rule loaded
Sep 12 06:36:08 cczip acpid: client 28538[0:0] has disconnected
Sep 12 06:36:08 cczip acpid: client 28526[0:0] has disconnected
Sep 12 06:36:08 cczip acpid: client 28530[0:0] has disconnected
Sep 12 06:36:08 cczip acpid: client 28532[0:0] has disconnected
Sep 12 06:36:08 cczip acpid: client 28528[0:0] has disconnected
Sep 12 06:36:08 cczip acpid: client 28531[0:0] has disconnected
Sep 12 06:36:08 cczip acpid: client 28529[0:0] has disconnected
Sep 12 06:36:08 cczip acpid: client 28527[0:0] has disconnected
Sep 12 06:36:08 cczip acpid: client 28539[0:0] has disconnected
Sep 12 06:36:08 cczip acpid: client 28540[0:0] has disconnected
Sep 12 06:36:08 cczip acpid: client connected from 28565[0:0]
Sep 12 06:36:08 cczip acpid: 1 client rule loaded
Sep 12 06:36:09 cczip acpid: client connected from 28572[0:0]
Sep 12 06:36:09 cczip acpid: 1 client rule loaded
Sep 12 06:36:09 cczip acpid: client connected from 28566[0:0]
Sep 12 06:36:09 cczip acpid: 1 client rule loaded
Sep 12 06:36:09 cczip acpid: client connected from 28568[0:0]
Sep 12 06:36:09 cczip acpid: 1 client rule loaded
Sep 12 06:36:09 cczip acpid: client connected from 28575[0:0]
Sep 12 06:36:09 cczip acpid: 1 client rule loaded
Sep 12 06:36:09 cczip acpid: client connected from 28569[0:0]
Sep 12 06:36:09 cczip acpid: 1 client rule loaded
Sep 12 06:36:09 cczip acpid: client connected from 28574[0:0]
Sep 12 06:36:09 cczip acpid: 1 client rule loaded
Sep 12 06:36:09 cczip acpid: client connected from 28573[0:0]
Sep 12 06:36:09 cczip acpid: 1 client rule loaded
Sep 12 06:36:11 cczip acpid: client 28565[0:0] has disconnected
Sep 12 06:36:11 cczip acpid: client 28572[0:0] has disconnected
Sep 12 06:36:11 cczip acpid: client 28566[0:0] has disconnected
Sep 12 06:36:11 cczip acpid: client 28568[0:0] has disconnected
Sep 12 06:36:11 cczip acpid: client 28575[0:0] has disconnected
Sep 12 06:36:11 cczip acpid: client 28569[0:0] has disconnected
Sep 12 06:36:11 cczip acpid: client 28574[0:0] has disconnected
Sep 12 06:36:11 cczip acpid: client 28573[0:0] has disconnected
Sep 12 06:36:11 cczip acpid: client connected from 28605[0:0]
Sep 12 06:36:11 cczip acpid: 1 client rule loaded
Sep 12 06:36:11 cczip acpid: client connected from 28604[0:0]
Sep 12 06:36:11 cczip acpid: 1 client rule loaded
Sep 12 06:36:11 cczip acpid: client connected from 28606[0:0]
Sep 12 06:36:11 cczip acpid: 1 client rule loaded
Sep 12 06:36:11 cczip acpid: client connected 

Trouble getting apt-get Default-Release to work

2011-09-29 Thread Chris Capon
This problem occurs on a Debian install predominantly intended to
follow the Stable release.

Some packages on the system need to be upgraded to Testing.

A file has been added to /etc/apt/apt.conf.d called 88ccc

$ cat /etc/apt/apt.conf.d/88ccc
   //
   APT::Default-Release stable;
   //

And /etc/apt/sources.list set to:

   deb http://ftp.ca.debian.org/debian/ stable main contrib non-free
   #deb http://ftp.ca.debian.org/debian/ testing main contrib non-free

   deb http://security.debian.org/ stable/updates main contrib non-free
   #deb http://security.debian.org/ testing/updates main contrib non-free

   deb http://ftp.ca.debian.org/debian/ squeeze-updates main contrib non-free


When the two testing lines in sources.list above are uncommented, a
whole bunch of updates from testing show up when running:  sudo
apt-get upgrade

I would have expected those packages to stay at the Stable release.

Is this intended?  Will some or all packages be upgraded to Testing
regardless of the Default-Release setting?

Thanks,
Chris.


$ sudo apt-config dump
APT ;
APT::Architecture i386;
APT::Build-Essential ;
APT::Build-Essential:: build-essential;
APT::Install-Recommends true;
APT::Install-Suggests 0;
APT::Authentication ;
APT::Authentication::TrustCDROM true;
APT::NeverAutoRemove ;
APT::NeverAutoRemove:: ^firmware-linux.*;
APT::NeverAutoRemove:: ^linux-firmware$;
APT::NeverAutoRemove:: ^linux-image.*;
APT::NeverAutoRemove:: ^kfreebsd-image.*;
APT::NeverAutoRemove:: ^linux-restricted-modules.*;
APT::NeverAutoRemove:: ^linux-ubuntu-modules-.*;
APT::NeverAutoRemove:: ^gnumach$;
APT::NeverAutoRemove:: ^gnumach-image.*;
APT::Never-MarkAuto-Sections ;
APT::Never-MarkAuto-Sections:: metapackages;
APT::Never-MarkAuto-Sections:: restricted/metapackages;
APT::Never-MarkAuto-Sections:: universe/metapackages;
APT::Never-MarkAuto-Sections:: multiverse/metapackages;
APT::Never-MarkAuto-Sections:: oldlibs;
APT::Never-MarkAuto-Sections:: restricted/oldlibs;
APT::Never-MarkAuto-Sections:: universe/oldlibs;
APT::Never-MarkAuto-Sections:: multiverse/oldlibs;
APT::Periodic ;
APT::Periodic::Update-Package-Lists 1;
APT::Periodic::Download-Upgradeable-Packages 0;
APT::Periodic::AutocleanInterval 0;
APT::Update ;
APT::Update::Post-Invoke ;
APT::Update::Post-Invoke:: touch
/var/lib/apt/periodic/update-success-stamp 2/dev/null || true;
APT::Archives ;
APT::Archives::MaxAge 30;
APT::Archives::MinAge 2;
APT::Archives::MaxSize 500;
APT::Default-Release stable;
APT::Architectures ;
APT::Architectures:: i386;
Dir /;
Dir::State var/lib/apt/;
Dir::State::lists lists/;
Dir::State::cdroms cdroms.list;
Dir::State::mirrors mirrors/;
Dir::State::extended_states extended_states;
Dir::State::status /var/lib/dpkg/status;
Dir::Cache var/cache/apt/;
Dir::Cache::archives archives/;
Dir::Cache::srcpkgcache srcpkgcache.bin;
Dir::Cache::pkgcache pkgcache.bin;
Dir::Etc etc/apt/;
Dir::Etc::sourcelist sources.list;
Dir::Etc::sourceparts sources.list.d;
Dir::Etc::vendorlist vendors.list;
Dir::Etc::vendorparts vendors.list.d;
Dir::Etc::main apt.conf;
Dir::Etc::netrc auth.conf;
Dir::Etc::parts apt.conf.d;
Dir::Etc::preferences preferences;
Dir::Etc::preferencesparts preferences.d;
Dir::Etc::trusted trusted.gpg;
Dir::Etc::trustedparts trusted.gpg.d;
Dir::Bin ;
Dir::Bin::methods /usr/lib/apt/methods;
Dir::Bin::dpkg /usr/bin/dpkg;
Dir::Media ;
Dir::Media::MountPath /media/apt;
Dir::Log var/log/apt;
Dir::Log::Terminal term.log;
Dir::Log::History history.log;
Dir::Ignore-Files-Silently ;
Dir::Ignore-Files-Silently:: ~$;
Dir::Ignore-Files-Silently:: \.disabled$;
Dir::Ignore-Files-Silently:: \.bak$;
Dir::Ignore-Files-Silently:: \.dpkg-[a-z]+$;
Acquire ;
Acquire::cdrom ;
Acquire::cdrom::mount /media/cdrom/;
Acquire::Languages ;
Acquire::Languages:: en_CA;
Acquire::Languages:: en;
Acquire::Languages:: none;
Unattended-Upgrade ;
Unattended-Upgrade::Origins-Pattern ;
Unattended-Upgrade::Origins-Pattern::
origin=Debian,label=Debian-Security,archive=stable;
DPkg ;
DPkg::Pre-Install-Pkgs ;
DPkg::Pre-Install-Pkgs:: /usr/sbin/dpkg-preconfigure --apt || true;
DPkg::Post-Invoke ;
DPkg::Post-Invoke:: if [ -x /usr/bin/rkhunter ]  grep -qiE
'^APT_AUTOGEN=.?(true|yes)' /etc/default/rkhunter; then
/usr/share/rkhunter/scripts/rkhupd.sh; fi;
DPkg::Post-Invoke:: if [ -d /var/lib/update-notifier ]; then touch
/var/lib/update-notifier/dpkg-run-stamp; fi; if [ -e
/var/lib/update-notifier/updates-available ]; then echo 
/var/lib/update-notifier/updates-available; fi ;
CommandLine ;
CommandLine::AsString apt-config dump;


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAHdBuG3JJjfwjSB-=ksiFBJKyAa=dskr7_dmpdn+tp2jquk...@mail.gmail.com



Synaptic - debconf: TERM not set

2007-09-10 Thread Chris Capon
After a recent upgrade (testing distribution), Synaptic started showing 
this message:


  debconf: unable to initialize frontend: Dialog
  debconf: (TERM is not set, so the dialog frontend is not usable.)
  debconf: falling back to frontend: Readline

for every package or upgrade being installed.

I do not get this message when running something like dpkg-reconfigure 
from a terminal window.


Synaptic creates its own console window so I don't know how to set the 
TERM environment variable.  Is there some way to set it or is Synaptic 
broken?


This happens on two different systems.

Thanks,
Chris.


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




bugzilla: can not log on to default web site

2006-08-22 Thread Chris Capon
This problem relates to a new clean install of Bugzilla.

After installing, it is not possible to log on to the default Bugzilla site.

I have read the documentation in /usr/share/docs/bugzilla, on the
bugzilla web site and in the debian knowledge base but haven't found any
solutions.  Others have reported similar problems but none of the
suggested solutions seem to work.

Bugzilla was installed using aptitude, all recommended and suggested
software were also added:

   bugzilla 2.22-1
   bugzilla-doc 2.22-1

Apache2 was previously installed and is currently serving other pages:

   apache2 2.0.55-4.12.0.55-4.1

Other software versions:

   mysql-server 5.0.22-4
   python 2.3.5-11
   ruby 1.8.2-1
   perl 5.8.8-6.1



Bugzilla has a module to check the install, no problems are reported
other than PatchReader (an optional module):
---
cczip:/usr/share/bugzilla/lib# ./checksetup.pl

Checking perl modules ...
Checking for   AppConfig (v1.52)   ok: found v1.56
Checking for CGI (v2.93)   ok: found v3.15
Checking forData::Dumper (any) ok: found v2.121_08
Checking forDate::Format (v2.21)   ok: found v2.22
Checking for DBI (v1.38)   ok: found v1.51
Checking for  File::Spec (v0.84)   ok: found v3.12
Checking for  File::Temp (any) ok: found v0.16
Checking forTemplate (v2.08)   ok: found v2.14
Checking for  Text::Wrap (v2001.0131) ok: found v2005.082401
Checking forMail::Mailer (v1.67)   ok: found v1.74
Checking forMIME::Base64 (v3.01)   ok: found v3.07
Checking forMIME::Parser (v5.406)  ok: found v5.420
Checking forStorable (any) ok: found v2.15

The following Perl modules are optional:
Checking for  GD (v1.20)   ok: found v2.30
Checking for Chart::Base (v1.0)ok: found v2.4.1
Checking for   XML::Twig (any) ok: found v3.25
Checking for   GD::Graph (any) ok: found v1.4308
Checking for GD::Text::Align (any) ok: found v1.18
Checking for PatchReader (v0.9.4)   not found
Checking for   Image::Magick (any) ok: found v6.2.4

If you want to see pretty HTML views of patches, you should install the
PatchReader module:
PatchReader: /usr/bin/perl -MCPAN -e 'install PatchReader'
Checking user setup ...
Removing existing compiled templates ...
Precompiling templates ...
Checking for  DBD::mysql (v2.9003) ok: found v3.0006
Checking for   MySQL (v4.0.14) ok: found v5.0.22-Debian_4-log

Populating duplicates table...
cczip:/usr/share/bugzilla/lib#
---


Bugzilla also has a tool to test the WEB site, as you can see there are
problems:
---
cczip:/usr/share/bugzilla/lib# ./testserver.pl
http://localhost/cgi-bin/bugzilla/index.cgi
TEST-OK Webserver is running under group id in $webservergroup.
TEST-OK Got front picture.
TEST-FAILED Webserver is not executing CGI files.
TEST-FAILED Webserver is permitting fetch of
http://localhost/cgi-bin/bugzilla/index.cgi//etc/bugzilla/localconfig.
This is a serious security problem.
Check your webserver configuration.
cczip:/usr/share/bugzilla/lib#
---
Apache2 produces this error:
---
[Tue Aug 22 13:20:51 2006] [error] [client 127.0.0.1] [Tue Aug 22
13:20:51 2006] index.cgi: Use of uninitialized value in substitution
(s///) at (eval 58) line 44.
---


When browsing the site with Firefox at:
  http://localhost/cgi-bin/bugzilla/index.cgi
these errors occur in Apache2:
---
[Tue Aug 22 13:24:17 2006] [error] [client 127.0.0.1] File does not
exist: /var/www/bugzilla/skins/custom, referer:
http://localhost/cgi-bin/bugzilla/index.cgi
[Tue Aug 22 13:24:17 2006] [error] [client 127.0.0.1] script not found
or unable to stat: /usr/lib/cgi-bin/bugzilla/skins, referer:
http://localhost/cgi-bin/bugzilla/index.cgi
[Tue Aug 22 13:24:17 2006] [error] [client 127.0.0.1] script not found
or unable to stat: /usr/lib/cgi-bin/bugzilla/skins, referer:
http://localhost/cgi-bin/bugzilla/index.cgi
---



When attempting to log in using the E-Mail address set up for
administrator in the debconfig scripts, Firefox returns:
---
Not Found

The requested URL /cgi-bin/bugzilla/cgi-bin/bugzilla/index.cgi was not
found on this server.
Apache/2.0.55 (Debian) DAV/2 SVN/1.3.2 PHP/5.1.4-0.1 mod_ssl/2.0.55
OpenSSL/0.9.8b Server at localhost Port 80
---

and Apache2 returns this error:
---
[Tue Aug 22 13:26:08 2006] [error] [client 127.0.0.1] script not found
or unable to stat: /usr/lib/cgi-bin/bugzilla/cgi-bin, referer:
http://localhost/cgi-bin/bugzilla/index.cgi
---


Any help would be greatly appreciated.
Thanks, Chris.



bugzilla: can not log on to default web site

2006-08-22 Thread Chris Capon
This problem relates to a new clean install of Bugzilla.

After installing, it is not possible to log on to the default Bugzilla site.

I have read the documentation in /usr/share/docs/bugzilla, on the
bugzilla web site and in the debian knowledge base but haven't found any
solutions.  Others have reported similar problems but none of the
suggested solutions seem to work.

Bugzilla was installed using aptitude, all recommended and suggested
software were also added:

   bugzilla 2.22-1
   bugzilla-doc 2.22-1

Apache2 was previously installed and is currently serving other pages:

   apache2 2.0.55-4.12.0.55-4.1

Other software versions:

   mysql-server 5.0.22-4
   python 2.3.5-11
   ruby 1.8.2-1
   perl 5.8.8-6.1



Bugzilla has a module to check the install, no problems are reported
other than PatchReader (an optional module):
---
cczip:/usr/share/bugzilla/lib# ./checksetup.pl

Checking perl modules ...
Checking for   AppConfig (v1.52)   ok: found v1.56
Checking for CGI (v2.93)   ok: found v3.15
Checking forData::Dumper (any) ok: found v2.121_08
Checking forDate::Format (v2.21)   ok: found v2.22
Checking for DBI (v1.38)   ok: found v1.51
Checking for  File::Spec (v0.84)   ok: found v3.12
Checking for  File::Temp (any) ok: found v0.16
Checking forTemplate (v2.08)   ok: found v2.14
Checking for  Text::Wrap (v2001.0131) ok: found v2005.082401
Checking forMail::Mailer (v1.67)   ok: found v1.74
Checking forMIME::Base64 (v3.01)   ok: found v3.07
Checking forMIME::Parser (v5.406)  ok: found v5.420
Checking forStorable (any) ok: found v2.15

The following Perl modules are optional:
Checking for  GD (v1.20)   ok: found v2.30
Checking for Chart::Base (v1.0)ok: found v2.4.1
Checking for   XML::Twig (any) ok: found v3.25
Checking for   GD::Graph (any) ok: found v1.4308
Checking for GD::Text::Align (any) ok: found v1.18
Checking for PatchReader (v0.9.4)   not found
Checking for   Image::Magick (any) ok: found v6.2.4

If you want to see pretty HTML views of patches, you should install the
PatchReader module:
PatchReader: /usr/bin/perl -MCPAN -e 'install PatchReader'
Checking user setup ...
Removing existing compiled templates ...
Precompiling templates ...
Checking for  DBD::mysql (v2.9003) ok: found v3.0006
Checking for   MySQL (v4.0.14) ok: found v5.0.22-Debian_4-log

Populating duplicates table...
cczip:/usr/share/bugzilla/lib#
---


Bugzilla also has a tool to test the WEB site, as you can see there are
problems:
---
cczip:/usr/share/bugzilla/lib# ./testserver.pl
http://localhost/cgi-bin/bugzilla/index.cgi
TEST-OK Webserver is running under group id in $webservergroup.
TEST-OK Got front picture.
TEST-FAILED Webserver is not executing CGI files.
TEST-FAILED Webserver is permitting fetch of
http://localhost/cgi-bin/bugzilla/index.cgi//etc/bugzilla/localconfig.
This is a serious security problem.
Check your webserver configuration.
cczip:/usr/share/bugzilla/lib#
---
Apache2 produces this error:
---
[Tue Aug 22 13:20:51 2006] [error] [client 127.0.0.1] [Tue Aug 22
13:20:51 2006] index.cgi: Use of uninitialized value in substitution
(s///) at (eval 58) line 44.
---


When browsing the site with Firefox at:
  http://localhost/cgi-bin/bugzilla/index.cgi
these errors occur in Apache2:
---
[Tue Aug 22 13:24:17 2006] [error] [client 127.0.0.1] File does not
exist: /var/www/bugzilla/skins/custom, referer:
http://localhost/cgi-bin/bugzilla/index.cgi
[Tue Aug 22 13:24:17 2006] [error] [client 127.0.0.1] script not found
or unable to stat: /usr/lib/cgi-bin/bugzilla/skins, referer:
http://localhost/cgi-bin/bugzilla/index.cgi
[Tue Aug 22 13:24:17 2006] [error] [client 127.0.0.1] script not found
or unable to stat: /usr/lib/cgi-bin/bugzilla/skins, referer:
http://localhost/cgi-bin/bugzilla/index.cgi
---



When attempting to log in using the E-Mail address set up for
administrator in the debconfig scripts, Firefox returns:
---
Not Found

The requested URL /cgi-bin/bugzilla/cgi-bin/bugzilla/index.cgi was not
found on this server.
Apache/2.0.55 (Debian) DAV/2 SVN/1.3.2 PHP/5.1.4-0.1 mod_ssl/2.0.55
OpenSSL/0.9.8b Server at localhost Port 80
---

and Apache2 returns this error:
---
[Tue Aug 22 13:26:08 2006] [error] [client 127.0.0.1] script not found
or unable to stat: /usr/lib/cgi-bin/bugzilla/cgi-bin, referer:
http://localhost/cgi-bin/bugzilla/index.cgi
---


Any help would be greatly appreciated.
Thanks, Chris.



Rebuilt kernel and CD-ROM problem.

2001-03-27 Thread Chris Capon

Hi all:
A laptop installed with slink and the 2.0.36 kernel was upgraded to potato 
with no problems.  The upgraded system continued to use the original 2.0.36 
kernel.  Everything worked fine.


I decided to upgrade to the 2.2.15 kernel, so I installed the source, ran 
menuconfig and went through the process of compiling and installing the 
kernel along with the modules.  I included support for ide-atapi CD-ROM, 
ISO9660, and Microsoft Jouliet extensions.


The new kernel loads and appears to run fine with the exception that 
dselect doesn't recognize the Debian Install CD set.  I can mount and 
umount /cdrom and can access the files and directories with no problems, 
just dselect won't work.  I've tried removing the Microsoft Jouliet 
extensions and the automount module with no effect.


If I reboot under the old 2.0.36 kernel, dselect works fine.  Same CD-ROM, 
same drive, same parameters.


Anyone got any ideas?

Thanks in advance, Chris.