[Bug 1736975] Re: netplan does not bring up anonymous bridge on boot

2018-06-20 Thread Stefan Beckers privat
I an using Ubuntu Server as a KVM-host, relying on multiple anonymous
bridges, and am suffering from this bug under 18.04.

For others needing a workaround: I do configure the bridges with
netplan.io as usual and bring up the bridges by defining in file

/etc/systemd/network/10-netplan-brUp.network
--
[Match]
Name=brLAN* 
Name=brDMZ*

[Network]
LinkLocalAddressing=no
ConfigureWithoutCarrier=true
--


bringing up multiple bridges following the naming scheme brLAN0, brLAN1, ... , 
brDMZ0, brDMZ1, ...

I do prefer this solution over some other workarounds using systemd
service files or others, that I found on the net. Maybe this helps...

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

Title:
  netplan does not bring up anonymous bridge on boot

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

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

[Bug 1770082] Re: systemd-networkd not renaming devices on boot

2018-05-22 Thread Stefan Beckers privat
I was struggling with this for quite some time and played around using
netplan.io and not using it. I figured out that you need to run "update-
initramfs -u" to make settings persist reboots in
"/etc/systemd/network/" when not using netplan.io.

But netplan.io saves the configuration in "/run/systemd/network/". Here
the update of initramfs does not make any difference and on boot the
network set-up fails to rename the interfaces as configured with all
consequences for the system.

To me it appears that "update-initramfs" needs to include the generated
configuration from netplan.io to get the network configuration correct
on reboot.

The following workaround does the job for me after every configuration
change in netplan.io:

1. netplan apply
2. rm /etc/systemd/network/10-netplan-*.link
3. cp /run/systemd/network/10-netplan-*.link /etc/systemd/network/
4. update-initramfs -u

Now the generated link files are found by update-initrd. Never the less
there should be a consistent solution.

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

Title:
  systemd-networkd not renaming devices on boot

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

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

[Bug 1535008] Re: HP Spectre x360 map keyboard events on switching laptop- to tablet-mode by default

2016-01-17 Thread Stefan Beckers privat
I am not sure if this is the right or only package package if dealing
with this sort of hardware support issue  but as far as I do understand
right now udev is hanling the assighment under systemd, esp if the keys
need to be present in X.

** Package changed: ubuntu => udev (Ubuntu)

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

Title:
  HP Spectre x360 map keyboard events on switching laptop- to tablet-
  mode by default

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

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


[Bug 1535008] [NEW] HP Spectre x360 map keyboard events on switching laptop- to tablet-mode by default

2016-01-16 Thread Stefan Beckers privat
Public bug reported:

The HP Spectre x360 13-4105ng is a Convertible Laptop being able flip
the Display/Lid over so it can be used as a tablet. When changing the
mode to "tablet" (fliping the lid to the bottom side) the Keyboard is
deacticated and this is revesed on switching the mode back. Perfect.

To have the user experience probably expected we are missing several
functions like screen flip, switching the touchpad off, etc. Not the
issue here as this can be scripted easily.

The problem is that I fail to hook into the events.

Expectation: Having these events mapped to suitable key peresses by
default.

Description:

When the screen is tipped over to the bottom (entering tablet mode) syslog 
shows key press events:
Jan  8 18:51:16 hp-spectre kernel: [150865.472396] atkbd serio0: Unknown key 
pressed (translated set 2, code 0xd8 on isa0060/serio0).
Jan  8 18:51:16 hp-spectre kernel: [150865.472411] atkbd serio0: Use 
'setkeycodes e058 ' to make it known.
Jan  8 18:51:16 hp-spectre kernel: [150865.480324] atkbd serio0: Unknown key 
released (translated set 2, code 0xd8 on isa0060/serio0).
Jan  8 18:51:16 hp-spectre kernel: [150865.480340] atkbd serio0: Use 
'setkeycodes e058 ' to make it known.


When flipping back into Laptop mode:
Jan  8 18:51:21 hp-spectre kernel: [150870.671201] atkbd serio0: Unknown key 
pressed (translated set 2, code 0xd7 on isa0060/serio0).
Jan  8 18:51:21 hp-spectre kernel: [150870.671220] atkbd serio0: Use 
'setkeycodes e057 ' to make it known.
Jan  8 18:51:21 hp-spectre kernel: [150870.679319] atkbd serio0: Unknown key 
released (translated set 2, code 0xd7 on isa0060/serio0).
Jan  8 18:51:21 hp-spectre kernel: [150870.679334] atkbd serio0: Use 
'setkeycodes e057 ' to make it known.
Jan  8 18:51:21 hp-spectre kernel: [150870.691549] atkbd serio0: Unknown key 
pressed (translated set 2, code 0xd7 on isa0060/serio0).
Jan  8 18:51:21 hp-spectre kernel: [150870.691564] atkbd serio0: Use 
'setkeycodes e057 ' to make it known.
Jan  8 18:51:21 hp-spectre kernel: [150870.699264] atkbd serio0: Unknown key 
released (translated set 2, code 0xd7 on isa0060/serio0).
Jan  8 18:51:21 hp-spectre kernel: [150870.699284] atkbd serio0: Use 
'setkeycodes e057 ' to make it known.
Jan  8 18:51:21 hp-spectre kernel: [150870.711563] atkbd serio0: Unknown key 
pressed (translated set 2, code 0xd7 on isa0060/serio0).
Jan  8 18:51:21 hp-spectre kernel: [150870.711577] atkbd serio0: Use 
'setkeycodes e057 ' to make it known.
Jan  8 18:51:21 hp-spectre kernel: [150870.719406] atkbd serio0: Unknown key 
released (translated set 2, code 0xd7 on isa0060/serio0).
Jan  8 18:51:21 hp-spectre kernel: [150870.719422] atkbd serio0: Use 
'setkeycodes e057 ' to make it known.

These events need to be accessible in Unity, so you are able to call
scripts to do the tasks required for the event.

I di try to use setkeycode and failed to have these keypress events
available in X.

After reading some doumentation, e.g.
https://wiki.archlinux.org/index.php/Map_scancodes_to_keycodes I did end
up with an attempt to  create a file "/etc/udev/hwdb.d/70-hp-
spectre-x360-convertible.hwdb" containing:

-%<
#evdev:name::dmi:bvn*:bvr*:bd*:svn*:pn*
evdev:input:b0011v0001p0001eab38*
  KEYBOARD_KEY_d7=prog1 # enter laptop mode 
  KEYBOARD_KEY_d8=prog2 # enter tablet mode
-%<

Running 
# udevadm hwdb --update
# udevadm trigger

But I did not manage to get these Keys to be mapped, so I could use it
for assigning keypress events in Unity.

FYI (not sure if this is of any help):
-%<
root@hp-spectre:~/Develop/hp-spectre-modeswitcher/doc# evtest 
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0:  Lid Switch
/dev/input/event1:  Power Button
/dev/input/event2:  Power Button
/dev/input/event3:  AT Translated Set 2 keyboard
/dev/input/event4:  Video Bus
/dev/input/event5:  SynPS/2 Synaptics TouchPad
/dev/input/event6:  HP Wireless hotkeys
/dev/input/event7:  ELAN Touchscreen Pen
/dev/input/event8:  ELAN Touchscreen
/dev/input/event9:  HP Truevision Full HD
/dev/input/event10: HP WMI hotkeys
/dev/input/event11: HDA Intel PCH Mic
/dev/input/event12: HDA Intel PCH Headphone
/dev/input/event13: HDA Intel PCH HDMI/DP,pcm=3
/dev/input/event14: HDA Intel PCH HDMI/DP,pcm=7
/dev/input/event15: HDA Intel PCH HDMI/DP,pcm=8
Select the device event number [0-15]: 3
Input driver version is 1.0.1
Input device ID: bus 0x11 vendor 0x1 product 0x1 version 0xab83
Input device name: "AT Translated Set 2 keyboard"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
Event code 1 (KEY_ESC)
Event code 2 (KEY_1)
Event code 3 (KEY_2)
Event code 4 (KEY_3)
Event code 5 

[Bug 1097643] Re: Multiple vulnerabilities, remote code execution - CVE-2013-0156

2013-01-12 Thread Stefan Beckers privat
Debian has released a fix, see http://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=697789

** Bug watch added: Debian Bug tracker #697789
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697789

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

Title:
  Multiple vulnerabilities, remote code execution - CVE-2013-0156

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

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


[Bug 1097643] Re: Multiple vulnerabilities, remote code execution - CVE-2013-0156

2013-01-12 Thread Stefan Beckers privat
** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2013-0156

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

Title:
  Multiple vulnerabilities, remote code execution - CVE-2013-0156

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

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