[Bug 1962231] [NEW] systemd generator fails with more than one config

2022-02-24 Thread Jim Browne
Public bug reported:

The systemd generator for openvpn (filesystem: /lib/systemd/system-
generators/openvpn-generator; git: openvpn/debian/openvpn-generator)
does not seem to work correctly with multiple configurations.

When run a second time the symlinks exist and the generator fails on the
first config and does not make it through the loop of all configs.  This
means if a config is added later and glob sorts after the first config
it will never be linked.  I believe the ln -s invocation should be ln
-sf


root@host:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 20.04.4 LTS
Release:20.04
Codename:   focal

dir=/tmp/tmp.JmcFdf9b6s

# First run succeeds:

root@host:~# SYSTEMD_LOG_LEVEL=debug sh -x 
/lib/systemd/system-generators/openvpn-generator "$dir" "$dir" "$dir"
+ set -eu
+ GENDIR=/tmp/tmp.JmcFdf9b6s
+ WANTDIR=/tmp/tmp.JmcFdf9b6s/openvpn.service.wants
+ SERVICEFILE=/lib/systemd/system/openvpn@.service
+ AUTOSTART=all
+ CONFIG_DIR=/etc/openvpn
+ mkdir -p /tmp/tmp.JmcFdf9b6s/openvpn.service.wants
+ test -e /etc/default/openvpn
+ . /etc/default/openvpn
++ OPTARGS=
++ OMIT_SENDSIGS=0
++ AUTOSTART=all
+ test xall = xnone
+ test xall = xall -o -z all
++ cd /etc/openvpn
++ ls network-one.conf network-two.conf
+ for CONFIG in `cd $CONFIG_DIR; ls *.conf 2> /dev/null`
+ NAME=network-one
+ ln -s /lib/systemd/system/openvpn@.service 
/tmp/tmp.JmcFdf9b6s/openvpn.service.wants/openvpn@network-one.service
+ for CONFIG in `cd $CONFIG_DIR; ls *.conf 2> /dev/null`
+ NAME=network-two
+ ln -s /lib/systemd/system/openvpn@.service 
/tmp/tmp.JmcFdf9b6s/openvpn.service.wants/openvpn@network-two.service
+ exit 0

# Second run fails:

root@host:~# SYSTEMD_LOG_LEVEL=debug sh -x 
/lib/systemd/system-generators/openvpn-generator "$dir" "$dir" "$dir"
+ set -eu
+ GENDIR=/tmp/tmp.JmcFdf9b6s
+ WANTDIR=/tmp/tmp.JmcFdf9b6s/openvpn.service.wants
+ SERVICEFILE=/lib/systemd/system/openvpn@.service
+ AUTOSTART=all
+ CONFIG_DIR=/etc/openvpn
+ mkdir -p /tmp/tmp.JmcFdf9b6s/openvpn.service.wants
+ test -e /etc/default/openvpn
+ . /etc/default/openvpn
++ OPTARGS=
++ OMIT_SENDSIGS=0
++ AUTOSTART=all
+ test xall = xnone
+ test xall = xall -o -z all
++ cd /etc/openvpn
++ ls network-one.conf network-two.conf
+ for CONFIG in `cd $CONFIG_DIR; ls *.conf 2> /dev/null`
+ NAME=network-one
+ ln -s /lib/systemd/system/openvpn@.service 
/tmp/tmp.JmcFdf9b6s/openvpn.service.wants/openvpn@network-one.service
ln: failed to create symbolic link 
'/tmp/tmp.JmcFdf9b6s/openvpn.service.wants/openvpn@network-one.service': File 
exists

** Affects: openvpn (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/1962231

Title:
  systemd generator fails with more than one config

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


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

[Bug 1787127] Re: java Corrupted page table

2018-08-17 Thread Jim Browne
Any news on when new AMIs might be built and published.

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

Title:
  java Corrupted page table

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

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

[Bug 1787127] Re: java Corrupted page table

2018-08-15 Thread Jim Browne
Just a note that someone should probably re-spin the AWS AMIs for Trusty
as soon as this is resolved.

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

Title:
  java Corrupted page table

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

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

[Bug 1711428] Re: cloud-init sometimes fails on dpkg lock due to concurrent apt-daily-upgrade.service execution

2017-08-17 Thread Jim Browne
> So I think this is something that you will want to fix in your image
> mastering scripts.

I agree and am fine with this being marked INVALID.

However, is juliank's note about the implementation of After= a concern
w.r.t. how LP#1693361 was resovled?

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

Title:
  cloud-init sometimes fails on dpkg lock due to concurrent apt-daily-
  upgrade.service execution

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1711428/+subscriptions

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


[Bug 1711428] Re: cloud-init sometimes fails on dpkg lock due to concurrent apt-daily-upgrade.service execution

2017-08-17 Thread Jim Browne
Hmmm.  I confirm what you see.

I think this problem is arising because we have Packer run (due to LP#1693361):
systemctl disable apt-daily.service
systemctl disable apt-daily.timer

when building the AMI.

I guess if apt-daily.service is disabled the Before is not transitive
from cloud-init to apt-daily-upgrade via apt-daily?  Not seeing anything
definitive in the docs after a quick glance.

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

Title:
  cloud-init sometimes fails on dpkg lock due to concurrent apt-daily-
  upgrade.service execution

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1711428/+subscriptions

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


[Blueprint servercloud-q-awstools] Package (more) AWS tools for Ubuntu

2012-05-22 Thread Jim Browne
Blueprint changed by Jim Browne:

Work items changed:
  Work items:
- [jbrowne] Package ELB: TODO
+ [jbrowne] Package ELB: Proposed package files brought in line with state of 
RDS package, version is current: DONE
  [jbrowne] AWS Import/Export: TODO
  [jbrowne] RDS: Updated to latest (1.8.001), merge proposal to smoser reviewed 
and accepted: DONE
  [jbrowne] Check IAM for latest version: TODO
  [utlemming] Package Autoscaling: TODO
  [utlemming] Package Cloudwatch: TODO
  [utlemming] MIRs for packages: TODO
  [smoser] Re-sync python-boto to 2.3.0 from debian: DONE
  [kamal] Debian packaging: TODO
  [kamal] Debian packaging: TODO
  [utlemming] Setup daily build PPA: TODO
  [esh] Promotion of packaging work on Alestic.com: TODO

-- 
Package (more) AWS tools for Ubuntu
https://blueprints.launchpad.net/ubuntu/+spec/servercloud-q-awstools

-- 
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


[Blueprint servercloud-q-awstools] Package (more) AWS tools for Ubuntu

2012-05-22 Thread Jim Browne
Blueprint changed by Jim Browne:

Work items changed:
  Work items:
- [jbrowne] Package ELB: Proposed package files brought in line with state of 
RDS package, version is current: DONE
+ [jbrowne] Package ELB: Proposed package files brought in line with state of 
RDS package, version is current, merge proposal to smoser: DONE
  [jbrowne] AWS Import/Export: TODO
  [jbrowne] RDS: Updated to latest (1.8.001), merge proposal to smoser reviewed 
and accepted: DONE
  [jbrowne] Check IAM for latest version: TODO
  [utlemming] Package Autoscaling: TODO
  [utlemming] Package Cloudwatch: TODO
  [utlemming] MIRs for packages: TODO
  [smoser] Re-sync python-boto to 2.3.0 from debian: DONE
  [kamal] Debian packaging: TODO
  [kamal] Debian packaging: TODO
  [utlemming] Setup daily build PPA: TODO
  [esh] Promotion of packaging work on Alestic.com: TODO

-- 
Package (more) AWS tools for Ubuntu
https://blueprints.launchpad.net/ubuntu/+spec/servercloud-q-awstools

-- 
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


[Blueprint servercloud-q-awstools] Package (more) AWS tools for Ubuntu

2012-05-21 Thread Jim Browne
Blueprint changed by Jim Browne:

Work items changed:
  Work items:
  [jbrowne] Package ELB: TODO
  [jbrowne] AWS Import/Export: TODO
- [jbrowne] RDS: TODO
+ [jbrowne] RDS: Updated to latest (1.8.001), merge proposal to smoser reviewed 
and accepted: DONE
  [jbrowne] Check IAM for latest version: TODO
  [utlemming] Package Autoscaling: TODO
  [utlemming] Package Cloudwatch: TODO
  [utlemming] MIRs for packages: TODO
  [smoser] Re-sync python-boto to 2.3.0 from debian: DONE
  [kamal] Debian packaging: TODO
  [kamal] Debian packaging: TODO
  [utlemming] Setup daily build PPA: TODO
  [esh] Promotion of packaging work on Alestic.com: TODO

-- 
Package (more) AWS tools for Ubuntu
https://blueprints.launchpad.net/ubuntu/+spec/servercloud-q-awstools

-- 
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