[Bug 1766230] Re: Strange window matching behaviour between Slack and Chrome

2020-06-10 Thread Lucas Magasweran
@seb128, yes. It is still in issue on 20.04 (focal).

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

Title:
  Strange window matching behaviour between Slack and Chrome

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1766230/+subscriptions

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

[Bug 1766230] Re: Strange window matching behaviour between Slack and Chrome

2020-01-10 Thread Lucas Magasweran
Removing the snap version and installing the deb version fixed the issue
for me.

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

Title:
  Strange window matching behaviour between Slack and Chrome

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1766230/+subscriptions

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

[Bug 1481596] Re: package xl2tpd 1.3.6+dfsg-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2018-08-19 Thread Lucas Magasweran
Just happened to me on Ubuntu 16.04.5 LTS.

```
$ apt upgrade
...
Unpacking xl2tpd (1.3.6+dfsg-4ubuntu0.16.04.2) over 
(1.3.6+dfsg-4ubuntu0.16.04.1) ...
...
Setting up xl2tpd (1.3.6+dfsg-4ubuntu0.16.04.2) ...
Job for xl2tpd.service failed because the control process exited with error 
code. See "systemctl status xl2tpd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript xl2tpd, action "start" failed.
● xl2tpd.service - LSB: layer 2 tunelling protocol daemon
   Loaded: loaded (/etc/init.d/xl2tpd; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2018-08-19 17:34:05 CEST; 4ms 
ago
 Docs: man:systemd-sysv-generator(8)
  Process: 9756 ExecStart=/etc/init.d/xl2tpd start (code=exited, 
status=1/FAILURE)

Aug 19 17:34:05 laptop-1603 systemd[1]: Starting LSB: layer 2 tunelling 
protocol daemon...
Aug 19 17:34:05 laptop-1603 xl2tpd[9756]: Starting xl2tpd:
Aug 19 17:34:05 laptop-1603 systemd[1]: xl2tpd.service: Control process exited, 
code=exited status=1
Aug 19 17:34:05 laptop-1603 systemd[1]: Failed to start LSB: layer 2 tunelling 
protocol daemon.
Aug 19 17:34:05 laptop-1603 systemd[1]: xl2tpd.service: Unit entered failed 
state.
Aug 19 17:34:05 laptop-1603 systemd[1]: xl2tpd.service: Failed with result 
'exit-code'.
dpkg: error processing package xl2tpd (--configure):
 subprocess installed post-installation script returned error exit status 1
```

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

Title:
  package xl2tpd 1.3.6+dfsg-1 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

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

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

[Bug 1429098] Re: systemd[1]: ureadahead.service fails on vanilla kernels, needs Ubuntu kernel patch

2018-07-18 Thread Lucas Magasweran
A non-Ubuntu kernel doesn't have the required tracepoints and will
result in the following error.

ureadahead: Error while tracing: No such file or directory

If you're not running a stock Ubuntu kernel you will need a patch [1]
(worked on my 4.14 Debian kernel) or [2] (original patch).
Unfortunately, these trace events will never be upstreamed [3].

[1] 
http://kernel.ubuntu.com/git/ubuntu/ubuntu-xenial.git/commit/?h=hwe=7744c33fdad887074a481fd4d21ccb6670ac62e6
 
[2] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/462111
[3] https://patchwork.kernel.org/patch/9254717/

** Changed in: ureadahead (Ubuntu)
   Status: Triaged => Invalid

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

Title:
  systemd[1]: ureadahead.service fails on vanilla kernels, needs Ubuntu
  kernel patch

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

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

[Bug 1237042] Re: ureadahead source needs "tracing_enabled" changed to "tracing_on" for 12.04.3

2018-07-18 Thread Lucas Magasweran
The following error could also indicate that your kernel doesn't have
the required tracepoints.

ureadahead: Error while tracing: No such file or directory

If you're not running a stock Ubuntu kernel you will need a patch [1]
(worked on my 4.14 Debian kernel). Unfortunately, these trace events
will not be upstreamed [2].

[1] http://kernel.ubuntu.com/git/ubuntu/ubuntu-
xenial.git/commit/?h=hwe=7744c33fdad887074a481fd4d21ccb6670ac62e6

[2] https://patchwork.kernel.org/patch/9254717/

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

Title:
  ureadahead source needs "tracing_enabled" changed to "tracing_on" for
  12.04.3

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

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

[Bug 1195504] Re: Add a noswap option to avoid accessing drives - w/ PATCH

2018-06-14 Thread Lucas Magasweran
Hello again ~ubuntu-installer develoeprs! Ran into this issue again.

We observed a hang on reboot after installation until we added a
`/sbin/swapoff -a` to the ubiquity ubiquity/success_command seed file
entry. The issue is likely occurring because our seed file uses partman-
auto to repartition the entire disk, including the swap partition.

It would be great to have the `noswap` option so that our disk can be
repartitioned without concern for any active swap partition.

Thanks!

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

Title:
  Add a noswap option to avoid accessing drives - w/ PATCH

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

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

[Bug 1098362] Re: DHCP settings for network manager shared connection are hard-coded source, should be editable

2017-09-26 Thread Lucas Magasweran
This has been fixed and merged upstream in nm-applet/network-manager
1.4.2.

https://bugzilla.gnome.org/show_bug.cgi?id=763937#c14

Ubuntu 17.04 has 1.4.4. Is it possible to backport this to 16.04 LTS?

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

Title:
  DHCP settings for network manager shared connection are hard-coded
  source, should be editable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1098362/+subscriptions

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

[Bug 940145] Re: USB analog only devices sometimes show up with digital profile as well

2017-09-01 Thread Lucas Magasweran
Does anyone know what the root cause of this digital in/out appearing?
Is it within ALSA or is there something wrong with the USB AudioControl
interface descriptor being returned by the USB audio device? I ask
because I have a custom USB audio device with this issue.

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

Title:
  USB analog only devices sometimes show up with digital profile as well

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-lib/+bug/940145/+subscriptions

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


[Bug 1002952] Re: [meta-bug] Invalid extra "Digital output S/PDIF" device for USB cards

2017-09-01 Thread Lucas Magasweran
I'm curious what the root cause of this bug is because I have a custom
USB audio device with this issue. Is it within ALSA or is something
wrong with the USB audio device's AudioControl Interface descriptor?

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

Title:
  [meta-bug] Invalid extra "Digital output S/PDIF" device for USB cards

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-lib/+bug/1002952/+subscriptions

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


[Bug 1347776] Re: shutdown trigger on gpio_keys.X for armhf hardware

2015-12-04 Thread Lucas Magasweran
I added the keys sysfs attribute to gpio-keys-polled.c. Please try this
patch (should apply on ubuntu-linux 4.3).

diff --git a/drivers/input/keyboard/gpio_keys_polled.c 
b/drivers/input/keyboard/gpio_keys_polled.c
index 11e77a9..3a8ee50 100644
--- a/drivers/input/keyboard/gpio_keys_polled.c
+++ b/drivers/input/keyboard/gpio_keys_polled.c
@@ -43,6 +43,85 @@ struct gpio_keys_polled_dev {
struct gpio_keys_button_data data[0];
 };
 
+/**
+ * get_n_events_by_type() - returns maximum number of events per @type
+ * @type: type of button (%EV_KEY, %EV_SW)
+ *
+ * Return value of this function can be used to allocate bitmap
+ * large enough to hold all bits for given type.
+ */
+static inline int get_n_events_by_type(int type)
+{
+   BUG_ON(type != EV_SW && type != EV_KEY);
+
+   return (type == EV_KEY) ? KEY_CNT : SW_CNT;
+}
+
+/**
+ * gpio_keys_polled_attr_show_helper() - fill in stringified bitmap of buttons
+ * @ddata: pointer to drvdata
+ * @buf: buffer where stringified bitmap is written
+ * @type: button type (%EV_KEY, %EV_SW)
+ *
+ * Returns 0 on success or negative errno on failure.
+ */
+static ssize_t gpio_keys_polled_attr_show_helper(
+   struct gpio_keys_polled_dev 
*ddata,
+   char *buf, unsigned int type)
+{
+   int n_events = get_n_events_by_type(type);
+   unsigned long *bits;
+   ssize_t ret;
+   int i;
+
+   bits = kcalloc(BITS_TO_LONGS(n_events), sizeof(*bits), GFP_KERNEL);
+   if (!bits)
+   return -ENOMEM;
+
+   for (i = 0; i < ddata->pdata->nbuttons; i++) {
+   struct gpio_keys_button *bdata = >pdata->buttons[i];
+
+   if (bdata->type != type)
+   continue;
+
+   __set_bit(bdata->code, bits);
+   }
+
+   ret = scnprintf(buf, PAGE_SIZE - 1, "%*pbl", n_events, bits);
+   buf[ret++] = '\n';
+   buf[ret] = '\0';
+
+   kfree(bits);
+
+   return ret;
+}
+
+static ssize_t gpio_keys_polled_show_keys(struct device *dev,
+struct device_attribute *attr,
+char *buf)
+{
+   struct platform_device *pdev = to_platform_device(dev);
+   struct gpio_keys_polled_dev *ddata = platform_get_drvdata(pdev);
+
+   return gpio_keys_polled_attr_show_helper(ddata, buf, EV_KEY);
+}
+
+/*
+ * ATTRIBUTES:
+ *
+ * /sys/devices/platform/gpio-keys-polled/keys [ro]
+ */
+static DEVICE_ATTR(keys, S_IRUGO, gpio_keys_polled_show_keys, NULL);
+
+static struct attribute *gpio_keys_polled_attrs[] = {
+   _attr_keys.attr,
+   NULL,
+};
+
+static struct attribute_group gpio_keys_polled_attr_group = {
+   .attrs = gpio_keys_polled_attrs,
+};
+
 static void gpio_keys_polled_check_state(struct input_dev *input,
 struct gpio_keys_button *button,
 struct gpio_keys_button_data *bdata)
@@ -286,6 +365,13 @@ static int gpio_keys_polled_probe(struct platform_device 
*pdev)
bdev->pdata = pdata;
platform_set_drvdata(pdev, bdev);
 
+   error = sysfs_create_group(>dev.kobj, 
_keys_polled_attr_group);
+   if (error) {
+   dev_err(dev, "Unable to export keys, error: %d\n",
+   error);
+   return error;
+   }
+
error = input_register_polled_device(poll_dev);
if (error) {
dev_err(dev, "unable to register polled device, err=%d\n",

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

Title:
  shutdown trigger on gpio_keys.X for armhf hardware

To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/1347776/+subscriptions

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


[Bug 1347776] Re: shutdown trigger on gpio_keys.X for armhf hardware

2015-12-04 Thread Lucas Magasweran
gpio-keys-polled: add sysfs bitmask to export supported keycodes

** Patch added: "gpio-keys-polled-sysfs-keys.patch"
   
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1347776/+attachment/4529893/+files/gpio-keys-polled-sysfs-keys.patch

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

Title:
  shutdown trigger on gpio_keys.X for armhf hardware

To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/1347776/+subscriptions

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


[Bug 1489979] [NEW] initiramfs-tools: configure_network retry indefinitely option

2015-08-28 Thread Lucas Magasweran
Public bug reported:

initramfs network booting by default fails after a fixed number of
attempts/timeout to configure the network. For example, in an automation
environment with heavy DHCP usage, a system will give up trying to get a
DHCP lease after 265 seconds. This will require manual intervention or a
hardware watchdog to power-cycle the system in order to retry getting a
DHCP lease.

This patch for Ubuntu 12.04 LTS adds a notimeout kernel command line for
casper that tells configure_network to instead retry indefinitely with
an increasing retry interval.

** Affects: initramfs-tools (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: patch

** Patch added: casper_ipconfig_notimeout.patch
   
https://bugs.launchpad.net/bugs/1489979/+attachment/4453916/+files/casper_ipconfig_notimeout.patch

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

Title:
  initiramfs-tools: configure_network retry indefinitely option

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1489979/+subscriptions

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


[Bug 1283303] Re: ATA drive /dev/disk/by-path/ incorrect due to kernel change

2014-02-21 Thread Lucas Magasweran
** Patch added: udev_ata_path_id_rebase_fix.patch
   
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1283303/+attachment/3990399/+files/udev_ata_path_id_rebase_fix.patch

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

Title:
  ATA drive /dev/disk/by-path/ incorrect due to kernel change

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

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


[Bug 1283303] [NEW] ATA drive /dev/disk/by-path/ incorrect due to kernel change

2014-02-21 Thread Lucas Magasweran
Public bug reported:

Starting in Ubuntu 12.04.3 the kernel commit
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9a6d6a2ddabbd32c07f6a38b659e5f3db319fa5a
changed the ATA host topology changed. This was done to match the single
host to target topology of SCSI/SAS instead of having a single host with
multiple ports.

As a result, when a drive is detected by udev the path ID is determined
and assumes a multi-port host that must be rebased. This results in
/dev/disk/by-path/ nodes that overlap. For example, the following shows
two different disks, sdb and sdc, that have the same scsi-0:0:0:0 path.

# Before inserting second disk:

ubuntu@ubuntu:~$ ls -l /dev/disk/by-path/
total 0
lrwxrwxrwx 1 root root  9 Feb 21 15:57 
pci-:00:1a.7-usb-0:5:1.0-scsi-0:0:0:0 - ../../sda
lrwxrwxrwx 1 root root 10 Feb 21 15:57 
pci-:00:1a.7-usb-0:5:1.0-scsi-0:0:0:0-part1 - ../../sda1
lrwxrwxrwx 1 root root  9 Feb 21 23:58 pci-:11:02.0-scsi-0:0:0:0 - 
../../sdb
lrwxrwxrwx 1 root root 10 Feb 21 23:58 pci-:11:02.0-scsi-0:0:0:0-part1 - 
../../sdb1
lrwxrwxrwx 1 root root 10 Feb 21 23:58 pci-:11:02.0-scsi-0:0:0:0-part2 - 
../../sdb2
lrwxrwxrwx 1 root root 10 Feb 21 23:58 pci-:11:02.0-scsi-0:0:0:0-part3 - 
../../sdb3
lrwxrwxrwx 1 root root 10 Feb 21 23:58 pci-:11:02.0-scsi-0:0:0:0-part5 - 
../../sdb5
lrwxrwxrwx 1 root root 10 Feb 21 23:58 pci-:11:02.0-scsi-0:0:0:0-part6 - 
../../sdb6

# After inserting second disk:

ubuntu@ubuntu:~$ ls -l /dev/disk/by-path/
total 0
lrwxrwxrwx 1 root root  9 Feb 21 15:57 
pci-:00:1a.7-usb-0:5:1.0-scsi-0:0:0:0 - ../../sda
lrwxrwxrwx 1 root root 10 Feb 21 15:57 
pci-:00:1a.7-usb-0:5:1.0-scsi-0:0:0:0-part1 - ../../sda1
lrwxrwxrwx 1 root root  9 Feb 21 23:58 pci-:11:02.0-scsi-0:0:0:0 - 
../../sdc
lrwxrwxrwx 1 root root 10 Feb 21 23:58 pci-:11:02.0-scsi-0:0:0:0-part1 - 
../../sdb1
lrwxrwxrwx 1 root root 10 Feb 21 23:58 pci-:11:02.0-scsi-0:0:0:0-part2 - 
../../sdb2
lrwxrwxrwx 1 root root 10 Feb 21 23:58 pci-:11:02.0-scsi-0:0:0:0-part3 - 
../../sdb3
lrwxrwxrwx 1 root root 10 Feb 21 23:58 pci-:11:02.0-scsi-0:0:0:0-part5 - 
../../sdb5
lrwxrwxrwx 1 root root 10 Feb 21 23:58 pci-:11:02.0-scsi-0:0:0:0-part6 - 
../../sdb6


I have a fix proposed and will attach a patch. I have tested it on all 12.04 
releases including 12.04.4.

** Affects: udev (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/1283303

Title:
  ATA drive /dev/disk/by-path/ incorrect due to kernel change

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

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


[Bug 1195504] Re: Add a noswap option to avoid accessing drives - w/ PATCH

2014-02-03 Thread Lucas Magasweran
Hi casper developers, please consider implementing this patch. It is
needed for an Ubuntu live environment with some disk drive recovery
tools that can be run from a live environment to avoid having to check
the for an active swap partition on the disk that is being tested.

Thanks.

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

Title:
  Add a noswap option to avoid accessing drives - w/ PATCH

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

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


[Bug 845561] Re: module_name.blacklist=yes not working as designed

2013-11-19 Thread Lucas Magasweran
Try modprobe.blacklist=module_name to blacklist the loading of the
module at boot time. You can still insert it later if you need.

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

Title:
  module_name.blacklist=yes not working as designed

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

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


[Bug 1123251] Re: udev build after source -sa build fails due to missing configure target

2013-11-01 Thread Lucas Magasweran
Patch fixed the issue for me. Rebuilds work again. Thanks.

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

Title:
  udev build after source -sa build fails due to missing configure
  target

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

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


[Bug 1233732] [NEW] Documentation: debian-installer source repository URL broken

2013-10-01 Thread Lucas Magasweran
Public bug reported:

In the Partitioning section of the Ubuntu Installation Guide
(https://help.ubuntu.com/lts/installation-guide/i386/preseed-
contents.html) a link to the debian-installer repository is broken.
Subversion has been replaced with Git and the new URL is
http://anonscm.debian.org/gitweb/?p=d-i/debian-
installer.git;a=tree;f=doc/devel .

** Affects: installation-guide (Ubuntu)
 Importance: Undecided
 Status: New

** Description changed:

- In the Partitioning section a link to the debian-installer repository
- is broken. Subversion has been replaced with Git and the new URL is
+ In the Partitioning section of the Ubuntu Installation Guide
+ (https://help.ubuntu.com/lts/installation-guide/i386/preseed-
+ contents.html) a link to the debian-installer repository is broken.
+ Subversion has been replaced with Git and the new URL is
  http://anonscm.debian.org/gitweb/?p=d-i/debian-
  installer.git;a=tree;f=doc/devel .

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

Title:
  Documentation: debian-installer source repository URL broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/installation-guide/+bug/1233732/+subscriptions

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


[Bug 1195504] [NEW] Add a noswap option to avoid accessing drives - w/ PATCH

2013-06-27 Thread Lucas Magasweran
Public bug reported:

I would like to propose the attached patch that adds a noswap Kernel
parameter that disables casper's automatic discovery and activation of
any present swap partitions. The purpose is to not have the drives and
drivers in use so that they can be accessed or unloaded without issue.

** Affects: casper (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/1195504

Title:
  Add a noswap option to avoid accessing drives - w/ PATCH

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

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


[Bug 1195504] Re: Add a noswap option to avoid accessing drives - w/ PATCH

2013-06-27 Thread Lucas Magasweran
** Patch added: noswap kernel parameter patch
   
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1195504/+attachment/3716471/+files/noswap.patch

** Description changed:

- I would like to propose the following patch that adds a noswap Kernel
+ I would like to propose the attached patch that adds a noswap Kernel
  parameter that disables casper's automatic discovery and activation of
  any present swap partitions. The purpose is to not have the drives and
  drivers in use so that they can be accessed or unloaded without issue.
- 
- === modified file 'debian/manpage/casper.7'
- --- old/debian/manpage/casper.7   2010-11-29 12:49:36 +
- +++ new/debian/manpage/casper.7   2013-06-27 22:21:58 +
- @@ -88,6 +88,11 @@
-  .TP
-  .BI noprompt
-  Do not prompt to eject the CD on reboot.
- +.TP
- +.BI noswap
- +Adding this parameter, casper will not attempt to find and activate swap 
partitions requiring manual use of 
- +.B swapon
- +as needed. This is useful to avoid accessing drives that may be present in 
the system.
-  
-  .SH FILES
-  .B /etc/casper.conf
- 
- === modified file 'scripts/casper'
- --- old/scripts/casper2013-05-28 10:19:04 +
- +++ new/scripts/casper2013-06-27 22:23:14 +
- @@ -71,6 +71,8 @@
-  export CMD_USERFULLNAME=${x#userfullname=} ;;
-  username=*)
-  export CMD_USERNAME=${x#username=} ;;
- +noswap)
- +export DISABLE_SWAP=Yes ;;
-  esac
-  done
-  if [ ${UNIONFS} =  ]; then
- 
- === modified file 'scripts/casper-bottom/13swap'
- --- old/scripts/casper-bottom/13swap  2013-03-13 14:24:28 +
- +++ new/scripts/casper-bottom/13swap  2013-06-27 22:23:36 +
- @@ -22,25 +22,29 @@
-  log_begin_msg $DESCRIPTION
-  
-  devices=
- -for device in /dev/[hsv]d[a-z][0-9]*; do
- -if ! [ -b $device ]; then
- -continue
- -fi
- -
- -/sbin/blkid -o udev -p ${device%%[0-9]*} | grep -q ^ID_FS_USAGE=raid 
 continue
- -
- -magic=$(/bin/dd if=$device bs=4086 skip=1 count=1 2/dev/null | 
/bin/dd bs=10 count=1 2/dev/null) || continue
- -
- -if [ $magic = SWAPSPACE2 -o $magic = SWAP-SPACE ]; then
- -#log Found $device
- -devices=$devices $device
- +if [[ -n $DISABLE_SWAP ]]; then
- +echo -n disabled via kernel cmdline: noswap.
- +else
- +for device in /dev/[hsv]d[a-z][0-9]*; do
- +if ! [ -b $device ]; then
- +continue
-  fi
- -done
- -
- -for device in $devices; do
- -cat  $FSTAB EOF
- +
- +/sbin/blkid -o udev -p ${device%%[0-9]*} | grep -q 
^ID_FS_USAGE=raid  continue
- +
- +magic=$(/bin/dd if=$device bs=4086 skip=1 count=1 2/dev/null | 
/bin/dd bs=10 count=1 2/dev/null) || continue
- +
- +if [ $magic = SWAPSPACE2 -o $magic = SWAP-SPACE ]; then
- +#log Found $device
- +devices=$devices $device
- +fi
- +done
- +
- +for device in $devices; do
- +cat  $FSTAB EOF
-  $device swap swap defaults 0 0
-  EOF
- -done
- +done
- +fi
-  
-  log_end_msg

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

Title:
  Add a noswap option to avoid accessing drives - w/ PATCH

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

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


[Bug 1195504] Re: Add a noswap option to avoid accessing drives - w/ PATCH

2013-06-27 Thread Lucas Magasweran
** Patch added: noswap kernel parameter patch
   
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1195504/+attachment/3716470/+files/noswap.patch

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

Title:
  Add a noswap option to avoid accessing drives - w/ PATCH

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

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