[Bug 1553121] Re: Xenial preseed fails to load key for 3rd party repo with apt-setup/local0/key

2016-08-11 Thread Lawren Quigley-Jones
The SHA1 vs SHA256 is an issue but I don't believe it's coming into play
with this bug.  I did have to change my signing process but now I'm
signing my Release.gpg with SHA256 and I'm still unable to add a local
repo via `d-i apt-setup/local0/repository`.

I install local packages during installation using `d-i pkgsel/include` so the 
netboot installation fails with the following error:
WARNING: The following packages cannot be authenticated!

It appears to me that the key import occurs after the verification but I
might be missing something:

Aug 10 17:09:36 base-installer: Get:17 http://apt.local.server.com/apt ./ 
Packages [54.6 kB]
Aug 10 17:09:36 base-installer: Fetched 1494 kB in 2s (500 kB/s)
Aug 10 17:09:36 base-installer: Reading package lists...
Aug 10 17:09:37 base-installer: 
Aug 10 17:09:37 base-installer: W
Aug 10 17:09:37 base-installer: : 
Aug 10 17:09:37 base-installer: GPG error: http://apt.local.server.com/apt ./ 
Release: The following signatures couldn't be verified because the public key 
is not available: NO_PUBKEY 1234567890ABCDEFG
Aug 10 17:09:37 base-installer: 
Aug 10 17:09:37 base-installer: W
Aug 10 17:09:37 base-installer: : 
Aug 10 17:09:37 base-installer: The repository 'http://apt.local.server.com/apt 
./ Release' is not signed. 
Aug 10 17:09:37 base-installer: 
Aug 10 17:09:37 base-installer: W
Aug 10 17:09:37 base-installer: : 
Aug 10 17:09:37 base-installer: There is no public key available for the 
following key IDs:
Aug 10 17:09:37 base-installer: 1234567890ABCDEFG  
Aug 10 17:09:37 base-installer: 
[...]
Aug 10 17:17:28 main-menu[239]: (process:23053): 2016-08-10 17:17:15 
URL:http://apt.local.server.com/server.com.key [1185/1185] -> 
"/target/tmp/key0.pub" [1]
Aug 10 17:17:28 main-menu[239]: (process:23053): OK

I can install my local packages if I `chroot /target`.  All I have to do
is edit my /etc/apt/sources.list and comment out my local0 repo and
`apt-get update` and then uncomment it and `apt-get update` again.

At this point the md5's have been imported however this gets done and my
packages in my local repo install without a hitch.  Based on this
behavior it seems like the installer is skipping a step when it imports
the Release file for local0.

I can verify that I am able to see my key when I `apt-key list` both
before and after my `apt-get update`.

I can confirm that setting local0 to xenial main and using local1 for my
local repo does bypass this bug.  I can also confirm that this all works
in trusty.

I hope this is useful.

Thanks

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1553121

Title:
  Xenial preseed fails to load key for 3rd party repo with apt-
  setup/local0/key

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1553121/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1136494] [NEW] Cannot read device on inactive volumes

2013-02-28 Thread Lawren Quigley-Jones
Public bug reported:

Release:
  Description:  Ubuntu 10.04.4 LTS
  Release:  10.04
Version:
  cryptsetup:
  Installed: 2:1.1.0~rc2-1ubuntu13
  Candidate: 2:1.1.0~rc2-1ubuntu13
  Version table:
 *** 2:1.1.0~rc2-1ubuntu13 0
500 http://apt/ubuntu/ lucid/main Packages
100 /var/lib/dpkg/status

Scenario:
  I have an lvm2 snapshot of an encrypted volume.
  I mount the snapshot using cryptsetup.
  The available space is exceeded for the snapshot and is left inactive by 
the filesystem.
  At this point if I attempt to luksClose the crypt device the following 
error is issued:
 Cannot read device /dev/mapper/crypt-snapshotvolume
  I am unable to destroy the snapshot because it is in use.

Expected Behavior:
  I would expect luksClose to have a force option where it would close the 
device even though it cannot read it.

Bug:
  I am unable to destroy the snapshot without rebooting the system.

** Affects: cryptsetup (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1136494

Title:
  Cannot read device on inactive volumes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1136494/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 893806] Re: postinst fails due to sh fat finger

2011-12-30 Thread Lawren Quigley-Jones
it's line 149 of the nslcd postinst script in oneiric.  I just checked
and there aren't updates since I ran into this.  If I can help further
please let me know.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/893806

Title:
  postinst fails due to sh fat finger

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nss-pam-ldapd/+bug/893806/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 893806] Re: postinst fails due to sh fat finger

2011-12-30 Thread Lawren Quigley-Jones
You are correct.  I just downloaded the package from the repository and
as you say, there's no || /bin/true.  I'm not sure what the story is.
When I get a chance I'll do another fresh install and see if I can sort
out what happened.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/893806

Title:
  postinst fails due to sh fat finger

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nss-pam-ldapd/+bug/893806/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 893806] Re: postinst fails due to sh fat finger

2011-11-22 Thread Lawren Quigley-Jones
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/893806

Title:
  postinst fails due to sh fat finger

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nss-pam-ldapd/+bug/893806/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 893806] [NEW] postinst fails due to sh fat finger

2011-11-22 Thread Lawren Quigley-Jones
Public bug reported:

diff -u /var/lib/dpkg/info/nslcd.postinst /var/lib/dpkg/info/nslcd.postinst.old
--- /var/lib/dpkg/info/nslcd.postinst   2011-11-22 17:35:53.785247884 -0500
Or statement is made before escape newlines causing a '--gecos command not 
found' error.  See Patch below.

+++ /var/lib/dpkg/info/nslcd.postinst.old   2011-11-22 17:43:46.773254681 
-0500
@@ -146,10 +146,10 @@
 :
   else
 # create nslcd user and group
-adduser --system --group --home /var/run/nslcd/ \
+adduser --system --group --home /var/run/nslcd/ \ || /bin/true
 --gecos nslcd name service LDAP connection daemon \
 --no-create-home \
-nslcd || /bin/true
+nslcd
 # add uid/gid options to the config file if it exists
 # (this is when we're upgrading)
 if [ -f $CONFFILE ]

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: nslcd 0.7.13
ProcVersionSignature: Ubuntu 3.0.0-13.22-generic 3.0.6
Uname: Linux 3.0.0-13-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Tue Nov 22 17:41:07 2011
InstallationMedia: Ubuntu 11.10 Oneiric Ocelot - Release amd64 (20111012)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: nss-pam-ldapd
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: nss-pam-ldapd (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug oneiric running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/893806

Title:
  postinst fails due to sh fat finger

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nss-pam-ldapd/+bug/893806/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 423252] Re: NSS using LDAP+SSL breaks setuid applications like su and sudo

2010-05-07 Thread Lawren Quigley-Jones
My experience with libnss-ldap is that nscd allows sudo but not su.
Also the GUI authentication doesn't work.


I just got around to testing libnss-ldapd and I can verify that both sudo and 
su work there.

Ubuntu's gui authentication process does not work though.  When you try
to perform a privileged action like adding a printer it opens the
Authentication dialogue and asks for a password.  When you enter an
ldap password it returns bad password and the entire printer config
system freezes.  The following errors are from auth.log:

May  7 11:53:11 engine cupsd: pam_unix(cups:auth): check pass; user unknown
May  7 11:53:11 engine cupsd: pam_unix(cups:auth): authentication failure; 
logname= uid=0 euid=0 tty=cups ruser= rhost=localhost 
May  7 11:53:11 engine cupsd: pam_unix(cups:account): could not identify user 
(from getpwnam(lquigley))

-- 
NSS using LDAP+SSL breaks setuid applications like su and sudo
https://bugs.launchpad.net/bugs/423252
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 423252] Re: NSS using LDAP+SSL breaks setuid applications like su and sudo

2010-05-07 Thread Lawren Quigley-Jones
I'm sorry, my previous comment didn't hold up to scrutiny.  A reboot
seems to have gotten rid of those errors

The GUI authentication dialogue is asking for the root password rather
than the password of the logged in user.  Does anyone know if this is
the intended behavior?

-- 
NSS using LDAP+SSL breaks setuid applications like su and sudo
https://bugs.launchpad.net/bugs/423252
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 423252] Re: NSS using LDAP+SSL breaks setuid applications like su and sudo

2010-05-07 Thread Lawren Quigley-Jones
My experience with libnss-ldap is that nscd allows sudo but not su.
Also the GUI authentication doesn't work.


I just got around to testing libnss-ldapd and I can verify that both sudo and 
su work there.

Ubuntu's gui authentication process does not work though.  When you try
to perform a privileged action like adding a printer it opens the
Authentication dialogue and asks for a password.  When you enter an
ldap password it returns bad password and the entire printer config
system freezes.  The following errors are from auth.log:

May  7 11:53:11 engine cupsd: pam_unix(cups:auth): check pass; user unknown
May  7 11:53:11 engine cupsd: pam_unix(cups:auth): authentication failure; 
logname= uid=0 euid=0 tty=cups ruser= rhost=localhost 
May  7 11:53:11 engine cupsd: pam_unix(cups:account): could not identify user 
(from getpwnam(lquigley))

-- 
NSS using LDAP+SSL breaks setuid applications like su and sudo
https://bugs.launchpad.net/bugs/423252
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 423252] Re: NSS using LDAP+SSL breaks setuid applications like su and sudo

2010-05-07 Thread Lawren Quigley-Jones
I'm sorry, my previous comment didn't hold up to scrutiny.  A reboot
seems to have gotten rid of those errors

The GUI authentication dialogue is asking for the root password rather
than the password of the logged in user.  Does anyone know if this is
the intended behavior?

-- 
NSS using LDAP+SSL breaks setuid applications like su and sudo
https://bugs.launchpad.net/bugs/423252
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 507616] Re: CustomLog directive in apache2.conf makes it impossible to change default logging without editing the global config.

2010-02-22 Thread Lawren Quigley-Jones
The problem with editing apache2.conf is that future distro changes get
lost.  Once you edit a config file the end user is given two options
during an upgrade.  They can either replace the current file with the
packaged maintainer's file or keep the edited file.  So either the
system loses the local change or else it because distinct to a default
ubuntu configuration.  The greater problem is depending on which version
of apache2 was installed at the point that the change was made, the
configuration can look different.

If this log line was moved to a file within conf.d then I could set up a
divert which over-wrote the config without disrupting the package
maintainers future changes.

-- 
CustomLog directive in apache2.conf makes it impossible to change default 
logging without editing the global config.
https://bugs.launchpad.net/bugs/507616
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 507616] Re: CustomLog directive in apache2.conf makes it impossible to change default logging without editing the global config.

2010-02-22 Thread Lawren Quigley-Jones
The problem with editing apache2.conf is that future distro changes get
lost.  Once you edit a config file the end user is given two options
during an upgrade.  They can either replace the current file with the
packaged maintainer's file or keep the edited file.  So either the
system loses the local change or else it because distinct to a default
ubuntu configuration.  The greater problem is depending on which version
of apache2 was installed at the point that the change was made, the
configuration can look different.

If this log line was moved to a file within conf.d then I could set up a
divert which over-wrote the config without disrupting the package
maintainers future changes.

-- 
CustomLog directive in apache2.conf makes it impossible to change default 
logging without editing the global config.
https://bugs.launchpad.net/bugs/507616
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 273687] Re: apt-mirror does not download Release files if no components are defined.

2010-02-22 Thread Lawren Quigley-Jones
What's the status on this bug?  I see changes to the apt-mirror package
in lucid but no fix for this issue.

-- 
apt-mirror does not download Release files if no components are defined. 
https://bugs.launchpad.net/bugs/273687
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 250614] Re: apt-mirror does not correctly handle apache auth protected apt repositories

2010-02-22 Thread Lawren Quigley-Jones
What's the status on this bug?  I see changes to the apt-mirror package
in lucid but no fix for these issues.

-- 
apt-mirror does not correctly handle apache auth protected apt repositories
https://bugs.launchpad.net/bugs/250614
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 507616] [NEW] CustomLog directive in apache2.conf makes it impossible to change default logging without editing the global config.

2010-01-14 Thread Lawren Quigley-Jones
Public bug reported:

Binary package hint: apache2

Ubuntu Karmic
apache2 - 2.2.12-1ubuntu2.1

The following line in apache2.conf is a global, un-editable configuration:
 CustomLog /var/log/apache2/other_vhosts_access.log vhost_combined

In hardy logging was configured in the default site configuration.  By
adding this configuration line it becomes impossible to change or
disable the default logging behavior without editing apache2.conf .

I install a standard apache configuration file into /etc/apache2/conf.d/
which configures apache to log to syslog.  In hardy this config file
overrides the global behavior, but this does not seem to be possible in
Karmic.  Documentation I've read suggests that CustomLog declarations
within a virtualhost will override global declarations, but multiple
CustomLog declarations are complementary.

** Affects: apache2 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
CustomLog directive in apache2.conf makes it impossible to change default 
logging without editing the global config.
https://bugs.launchpad.net/bugs/507616
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 507616] [NEW] CustomLog directive in apache2.conf makes it impossible to change default logging without editing the global config.

2010-01-14 Thread Lawren Quigley-Jones
Public bug reported:

Binary package hint: apache2

Ubuntu Karmic
apache2 - 2.2.12-1ubuntu2.1

The following line in apache2.conf is a global, un-editable configuration:
 CustomLog /var/log/apache2/other_vhosts_access.log vhost_combined

In hardy logging was configured in the default site configuration.  By
adding this configuration line it becomes impossible to change or
disable the default logging behavior without editing apache2.conf .

I install a standard apache configuration file into /etc/apache2/conf.d/
which configures apache to log to syslog.  In hardy this config file
overrides the global behavior, but this does not seem to be possible in
Karmic.  Documentation I've read suggests that CustomLog declarations
within a virtualhost will override global declarations, but multiple
CustomLog declarations are complementary.

** Affects: apache2 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
CustomLog directive in apache2.conf makes it impossible to change default 
logging without editing the global config.
https://bugs.launchpad.net/bugs/507616
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 423252] Re: NSS using LDAP on Karmic (alpha 4) breaks 'su' and 'sudo'

2009-10-29 Thread Lawren Quigley-Jones
I couldn't test ldap vs. ldaps, but sudo was working before my karmic
upgrade and it stopped working after.  I could do getent operations
which did ldap queries, so it wasn't an ldap problem for me.

I was able to ~solve~ this by installing nscd.  Not sure why there would
be a nscd requirement.

Here's my nsswitch.conf:
passwd: files ldap
group:  files ldap
shadow: files ldap
hosts:  files mdns4_minimal [NOTFOUND=return] dns mdns4
networks:   files
protocols:  db files
services:   db files
ethers: db files
rpc:db files
netgroup:   files ldap

I'm not sure what else to include for debugging...

-- 
NSS using LDAP on Karmic (alpha 4) breaks 'su' and 'sudo'
https://bugs.launchpad.net/bugs/423252
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 435618] Re: [karmic] n-m overwrites /etc/resolv.conf even when NICs are configured in /etc/network/interfaces

2009-10-16 Thread Lawren Quigley-Jones
I can verify this behavior in karmic server which has resolvconf rather than 
network-manager.
resolvconf 1.44ubuntu1

My test was on a karmic machine.  The original install was hardy with
sequential dist-upgrades to karmic.

After the karmic upgrade was complete /etc/resolv.conf would be over-
written on boot.

The following file had my original resolv.conf file in it:
 /etc/resolvconf/resolv.conf.d/original

/etc/network/interfaces has the following lines:
dns-nameservers address removed for comment
dns-search domain removed for comment

I was able to ~resolve~ my issue by adding my desired resolv.conf into the 
following:
/etc/resolvconf/resolv.conf.d/base

My experience is that dns-nameservers in /etc/network/interfaces has
been ignored since hardy, but until karmic /etc/resolv.conf is left
untouched.

-- 
[karmic] n-m overwrites /etc/resolv.conf even when NICs are configured in 
/etc/network/interfaces
https://bugs.launchpad.net/bugs/435618
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 438177] [NEW] linux kernel's post-installation script corrupts lilo when it encounters a software raid error.

2009-09-28 Thread Lawren Quigley-Jones
Public bug reported:

Binary package hint: lilo

Ubuntu Hardy

linux-image-2.6.24-24-server   2.6.24-24.60
lilo   1:22.8-3.1ubuntu1
mdadm
2.6.3+200709292116+4450e59-3ubuntu3.1

A kernel upgrade identified a failed drive in a software mirror and
refused to write changes to just one disk.  From what I gathered, this
fail state was hit after the second stage had been written to disk
leaving an incompatible first/second stage pair.  At very least this
error message should include a warning that the system will be
unbootable until the lilo install command is re-run with the -H option.

After the failed kernel upgrade lilo would fail to boot with the following 
error message:
EBDA is big; Kernel setup stack overlaps LILO second stage

The apt failure was as follows:
Log started: 2009-09-27  23:33:54
Setting up linux-image-2.6.24-24-server (2.6.24-24.60) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.24-24-server
update-initramfs: lilo run failed for /boot/initrd.img-2.6.24-24-server:

Warning: LBA32 addressing assumed
Warning: '/proc/partitions' does not match '/dev' directory structure.
Name change: '/dev/dm-0' - '/dev/vg0/root'
Warning: Name change: '/dev/dm-1' - '/dev/vg0/var'
Warning: Name change: '/dev/dm-2' - '/dev/vg0/log'
Warning: Name change: '/dev/dm-3' - '/dev/vg0/usr'
Warning: Name change: '/dev/dm-4' - '/dev/vg0/home'
Warning: Name change: '/dev/dm-5' - '/dev/vg0/swap'
Warning: Name change: '/dev/dm-6' - '/dev/vg0/vmware'
Fatal: Not all RAID-1 disks are active; use '-H' to install to active disks only
Failed to create initrd image.
dpkg: error processing linux-image-2.6.24-24-server (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 linux-image-2.6.24-24-server
Log ended: 2009-09-27  23:34:00

** Affects: lilo (Ubuntu)
 Importance: Undecided
 Status: New

-- 
linux kernel's post-installation script corrupts lilo when it encounters a 
software raid error.
https://bugs.launchpad.net/bugs/438177
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 250614] Re: apt-mirror does not correctly handle apache auth protected apt repositories

2009-01-06 Thread Lawren Quigley-Jones
There are a few more instances where anything before the @ needs to be removed 
the the directory structure:
r...@bishop:/usr/bin# diff -u apt-mirror.20080923 apt-mirror.20090106 
--- apt-mirror.20080923 2008-09-23 14:20:51.0 -0400
+++ apt-mirror.20090106 2009-01-06 16:06:48.0 -0500
@@ -233,7 +233,7 @@
 }
 
 if($config_line eq skip-clean) {
-   $config_line[0] =~ s[^(\w+)://][];
+   $config_line[0] =~ s[^(\w+)://(.*@)?][];
$config_line[0] =~ s[/$][];
$config_line[0] =~ s[~][%7E]g if get_variable(_tilde);
$skipclean{$config_line[0]} = 1;
@@ -241,7 +241,7 @@
 }
 
 if($config_line eq clean) {
-   $config_line[0] =~ s[^(\w+)://][];
+   $config_line[0] =~ s[^(\w+)://(.*@)?][];
$config_line[0] =~ s[/$][];
$config_line[0] =~ s[~][%7E]g if get_variable(_tilde);
$clean_directory{$config_line[0]} = 1;
@@ -319,7 +319,7 @@
 download_urls(index, @index_urls);
 
 foreach (keys %urls_to_download) {
-s[^(\w+)://][];
+s[^(\w+)://(.*@)?][];
 s[~][%7E]g if get_variable(_tilde);
 $skipclean{$_} = 1;
 $skipclean{$_} = 1 if s[\.gz$][];
@@ -374,7 +374,7 @@
 my ($path, $package, $mirror, $files) = '';
 
 $path = $uri;
-$path =~ s[^(\w+)://][];
+$path =~ s[^(\w+)://(.*@)?][];
 $path =~ s[...@]+@][];
 $path =~ s/~/\%7E/g if get_variable(_tilde);
 local $/ = \n\n;
@@ -493,9 +493,8 @@
 }
 
 foreach (@index_urls) {
-die(apt-mirror: invalid url in index_urls) unless s[^(\w+)://][];
+die(apt-mirror: invalid url in index_urls) unless s[^(\w+)://(.*@)?][];
 copy_file(get_variable(skel_path) . /$_, get_variable(mirror_path) . 
/$_);
-copy_file(get_variable(skel_path) . /$_, get_variable(mirror_path) . 
/$_) if(s/\.gz$//);
 }

-- 
apt-mirror does not correctly handle apache auth protected apt repositories
https://bugs.launchpad.net/bugs/250614
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 273687] [NEW] apt-mirror does not download Release files if no components are defined.

2008-09-23 Thread Lawren Quigley-Jones
Public bug reported:

Binary package hint: apt-mirror

Release: Hardy
Version: 0.4.5-1~dapper1

Description:When a local apt repository is defined in
/etc/apt/mirror.list which does not have a component none of the Release
files are downloaded (ie Release, Release.gz, Release.gpg).  If one or
more components are defined then Sources.gz, Release, and Release.gpg
are all dlownloaded.

Solution: When parsing the deb and deb-src lines apt-mirror will
add the Release files to the download list when parsing the component
elements, but does not in the else statement if there are no components.
An add url line similar to the line in the component section must be
included in this else section.

diff -u apt-mirror.orig apt-mirror
--- apt-mirror.orig 2008-09-23 14:18:52.0 -0400
+++ apt-mirror  2008-09-23 14:42:42.0 -0400
@@ -288,6 +288,8 @@
add_url_to_download($url . $_ . /source/Sources.gz);
}
 } else {
+   add_url_to_download($uri . /$distribution/Release);
+   add_url_to_download($uri . /$distribution/Release.gpg);
add_url_to_download($uri . /$distribution/Sources.gz);
 }
 }
@@ -306,6 +308,8 @@
add_url_to_download($url . $_ . /binary- . $arch . 
/Packages.gz);
}
 } else {
+   add_url_to_download($uri . /$distribution/Release);
+   add_url_to_download($uri . /$distribution/Release.gpg);
add_url_to_download($uri . /$distribution/Packages.gz);
 }
 }

** Affects: apt-mirror (Ubuntu)
 Importance: Undecided
 Status: New

-- 
apt-mirror does not download Release files if no components are defined. 
https://bugs.launchpad.net/bugs/273687
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 250614] [NEW] apt-mirror does not correctly handle apache auth protected apt repositories

2008-07-21 Thread Lawren Quigley-Jones
Public bug reported:

Binary package hint: apt-mirror

issue:
apt-mirror successfully downloads the apt repository if the url contains 
authentication information (eg http://user:[EMAIL PROTECTED]).  The resulting 
directory structure in the apt-mirror skel directory does not include the auth 
information in the directory name (eg 
/var/spool/apt-mirror/skel/apt.site.com/).  But when the apt-mirror script 
references that directory structure it does not remove the auth portion of the 
url (eg /var/spool/apt-mirror/skel/user:[EMAIL PROTECTED]/).  This results in a 
file not found error.

version:
tested on dapper BUT!!! the apt-mirror script is identical on hardy:

1ef8b51149667f538354040e0531e360  /usr/bin/apt-mirror
ii  apt-mirror 0.4.5-1~dapper1   APT 
sources mirroring tool

solution:
remove anything before and including an @ sign in the path variable before 
referencing the skel dir:

--- /usr/bin/apt-mirror 2007-12-21 08:10:10.0 -0500
+++ /var/tmp/apt-mirror 2008-07-21 16:20:18.0 -0400
@@ -371,6 +371,7 @@
 
 $path = $uri;
 $path =~ s[^(\w+)://][];
+$path =~ [EMAIL PROTECTED]@][];
 $path =~ s/~/\%7E/g if get_variable(_tilde);
 local $/ = \n\n;
 $mirror = get_variable(mirror_path) . / . $path;

** Affects: apt-mirror (Ubuntu)
 Importance: Undecided
 Status: New

-- 
apt-mirror does not correctly handle apache auth protected apt repositories
https://bugs.launchpad.net/bugs/250614
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 250614] Re: apt-mirror does not correctly handle apache auth protected apt repositories

2008-07-21 Thread Lawren Quigley-Jones
I also needed to address an undefined variable on one of my sites.  I
think the root of the problem is a bad repository configuration, but it
might be defensive to set the variable pre-emptively regardless.

--- /usr/bin/apt-mirror 2008-07-21 16:41:18.0 -0400
+++ /var/tmp/apt-mirror 2008-07-21 17:57:03.0 -0400
@@ -387,6 +387,7 @@
chomp $package;
my (undef, %lines) = split(/^([\w\-]+:)/m, $package);
 
+$lines{Directory:} =  unless defined $lines{Directory:};
chomp(%lines);
remove_spaces(\%lines);

-- 
apt-mirror does not correctly handle apache auth protected apt repositories
https://bugs.launchpad.net/bugs/250614
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs