[Bug 591834] [NEW] cannot insert job just after mounting root filesystem and all other filesystems (or other tasks)

2010-06-09 Thread manic
Public bug reported:

Binary package hint: upstart

I am trying to get the package flashybrid running on a fresh lucid
install. On a SysV init system, the package works perfectly by doing
some magic (using bind mounts) to the writeable parts of the root
filesystem and then remounting it read only. I tried many dependencies,
but whenever I come AFTER the mountall, flashybrid can't remount the
root filesystem read-only (Error Message "Filesystem in use"). When I
insert the job BEFORE mountall, the filesystem is still mounted from the
kernel (and not /etc/fstab) and the bind mounts inherit the "read only"
status from the kernel mount (and not the "read write" status they would
if root would have been mounted from (/etc/fstab). In addition,  the
output of the  "mount" command looks funny for the bind mounts, all bind
mounts seem to be normal mounts mounting the root filesystem device (and
not the path, as they usually would).

I have found a workaround starting flashybrid BEFORE mountall and I have
patched the flashybrid's fh-sync script to remount the writeable parts
read-write just before synching, but I still believe that upstart should
allow to insert a job AFTER mounting the root filesystem that can
remount the root filesystem read only. Whether this is BEFORE mounting
the other local filesystems or  BEFORE ALL other jobs (without needing
to list them all as explicit dependencies) is not that important...

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

-- 
cannot insert job just after mounting root filesystem and all other filesystems 
(or other tasks)
https://bugs.launchpad.net/bugs/591834
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 1082880] Re: IPv6 Information confusing with multiple IPv6 addresses

2014-05-24 Thread manic
Bug still present in trusty (Ubuntu 14.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/1082880

Title:
  IPv6 Information confusing with multiple IPv6 addresses

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

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


[Bug 1220915] [NEW] Inserting a job into dependency is very cumbersome

2013-09-04 Thread manic
Public bug reported:

This is somewhat related to Bug #591834. I tried the suggestion there
but this does not work. I didn't care for 2 years for this issue but now
I have both a new use case for it and I have found a workaround, so I
can explain better what the problem is.

I like the package flashybrid which allows very fine grained control
what parts of the root filesystem are writeable. It works by mounting
the root filesystem read-only and bind-mounting the changeable
directories from a ram filesystem into the root directory.

Mounting the root filesystem read-only ONLY works if

. it is already mounted (which I can check with a dependency to 
"local-filesystems"
. AND no process has an open file in the root filesystem in WRITE mode.

The 2nd part is actually what causes the headaches. My workaround that I 
implemented is that I created
/etc/init/XXX.override files for ALL .conf file that have a "start on 
local-filesystems" or "start on "filesystem"
dependency which contains just a copy of the original "start on" clause, but 
"start on filesystem" is
replaced by  "start on filesystem and stopped flashybrid" (and similar for 
"local-filesystems"). This 
works now, but whenever later a new .conf file is added (e.g. by a new 
package), I will have to create
an appropriate .override file again as described above.

A good solution would be a solution that would allow me to make (in the 
flashybrid .conf file ONLY)
a specification that I want to start AFTER "local-filesystems" (this I can do 
already) AND that all jobs
that are waiting for "local-filesystems" or "filesystem" should IN ADDITION to 
their current clause
also wait for "stopped flashybrid".

It is important that this also works when jobs are added later.

One possible implementation could be that it would be possible to "enhance" 
events, i.e. "local-filesystems"
is only emitted when "stopped flashybrid" is also true. Another - less generic, 
but probably implementable
without code changes in the core code - would be that the standard event scheme 
is enhanced with
hooks (i.e. we would have  events like 'filesystems-pre' and 'filesystems-post' 
and by default a simple
task which waits for filesystem-pre and immediately emits filesystem-post. By 
replacing that default task with
the flashybrid task, I could achieve what I want (provided mountall emits only 
'filesystems-pre' and
all jobs would start on 'filesystems-post' only). 

I am quite sure that you developers have further ideas.

I know this is more like a feature request - but to me (as user of flashybrid) 
it is really a bug that
I have to create so many .override files. With System-V init, this was much 
simpler.

** Affects: upstart (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/1220915

Title:
  Inserting a job into dependency is very cumbersome

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

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


[Bug 1642063] [NEW] Split DNS with openvpn erroneously removes nameservers from dnsmasq

2016-11-15 Thread manic
Public bug reported:

I was setting up a fresh ubuntu xenial a few days ago (Ubuntu 16.04.1 LTS)
with network-manager 1.2.2-0ubuntu0.16.04.3.

I connect to an openvpn server that pushes a DNS Server to me:

push "dhcp-option DNS 172.24.32.1"

This DNS-Server is properly received and (as I have marked "use for this 
network only"
configured correctely over DBus to dnsmasq (sorry, german logs):

Nov 15 22:23:47 chili dnsmasq[1422]: vorgelagerte Server von DBus gesetzt
Nov 15 22:23:47 chili dnsmasq[1422]: Benutze Namensserver 172.24.32.1#53 für 
Domain example.com
Nov 15 22:23:47 chili dnsmasq[1422]: Benutze Namensserver 172.24.32.1#53 für 
Domain 24.172.in-addr.arpa

So now dnsmasq has Nameservers for my vpn internal domain and the reverse 
domains
of the routes pushed by the vpn. That's exactly what I want - for the VPN 
ressources.

BUT (and this took me some time to understand) the previously valid nameservers 
(originated from the DHCP server of the Wireless connection) are REMOVED. This 
means
that dnsmasq is left with name servers for specific domains only, there are no
generic name servers available any more. If queried for a name resolution for 
e.g.
"www.google.com", dnsmasq just returns an error message.

So while I had full IP connectivity in the network behind the VPN AND to the 
internet, I had no name resolution any more for domains outside of the VPN.

I would have expected that the domain servers (that are specific to the VPN 
Domains) are ADDED to the list of dnsmasq's servers, but they are replaced.
As (according to the  dnsmasq man page) "More specific domains take precendence
over less specific domains", no leakage of DNS requests would happen in either 
direction.

I even monitored the D-Bus communication and it can be seen that it uses
the "SetServersEx" command (which replaces the list).

I built a workaround using a script in /etc/NetworkManager/dispatcher.d combined
with a configuration file in /etc/NetworkManager/dnsmasq.d that points to a 
"servers-file". When the vpn comes up, the script populates the servers-file
from the $IP4_NAMESERVERS variable and HUPs dnsmasq, which finally gives me
in /var/log/syslog:

Nov 15 22:23:47 chili dnsmasq[1422]: Benutze Namensserver 8.8.8.8#53
Nov 15 22:23:47 chili dnsmasq[1422]: Benutze Namensserver 172.24.32.1#53 für 
Domain example.com
Nov 15 22:23:47 chili dnsmasq[1422]: Benutze Namensserver 172.24.32.1#53 für 
Domain 24.172.in-addr.arpa

Of course the script undos the changes when the vpn comes down again. If anyone
is interested, I can share my script - but it is quite specific to my use
case so I wonder if others are interested in...

** Affects: network-manager (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/1642063

Title:
  Split DNS with openvpn erroneously removes  nameservers from dnsmasq

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

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

[Bug 881329] Re: Alt+click should raise with raise-on-click disabled

2014-03-04 Thread manic
This bug is still present in the (as of today) current trusty thar
release. I really would love to have a working WM setting as follows:

gsettings set org.gnome.desktop.wm.preferences focus-mode \'sloppy\'
gsettings set org.gnome.desktop.wm.preferences raise-on-click false

But the 2nd setting disables ANY raising of windows (I tried xterm and
gnome-terminal).

Is there any hope that this will be fixed?

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

Title:
  Alt+click should raise with raise-on-click disabled

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

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


[Bug 1082880] [NEW] IPv6 Information confusing with multiple IPv6 addresses

2012-11-25 Thread manic
Public bug reported:

Hi,

I have two routable IPv6 Subnets in use. The preference of one over the
other is done by configuring radvd on the router to set the "preferred
lifetime" to 0 on the one I currently don't want to use by default (but
can if I explicitly set the source address  e.g. for traceroute).

ip -6 addr show eth2
4: eth2:  mtu 1500 qlen 1000
inet6 2a02::::21d:60ff:feae:a82/64 scope global deprecated 
dynamic 
   valid_lft 10739sec preferred_lft 0sec
inet6 2001::::c5ae:62dc:7f23:a66c/64 scope global temporary 
dynamic 
   valid_lft 10739sec preferred_lft 3539sec
inet6 2001::::21d:60ff:feae:a82/64 scope global dynamic 
   valid_lft 10739sec preferred_lft 3539sec
inet6 fe80::21d:60ff:feae:a82/64 scope link 
   valid_lft forever preferred_lft forever

The nm-applet only shows the first address in this list
(2a02::::21d:60ff:feae:a82), although it is marked as
deprecated.

I believe the applet should display ALL routable IP-adresse (the link
local one is not needed), and ordered by the preference of the OS. In my
example, it should be first the "global temporary dynamic", then the
"global dynamic" and then the "global deprecated dynamic" address.

Release: Ubuntu 12.04.1 LTS
Pkg Version: network-manager-gnome, 0.9.4.1-0ubuntu2

** Affects: network-manager-applet (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: ipv6

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

Title:
  IPv6 Information confusing with multiple IPv6 addresses

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

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