Debian Package Tracker
Register | Log in
Subscribe

amazon-ec2-utils

Utilities to manage Amazon EC2 instance storage

Choose email to subscribe with

general
  • source: amazon-ec2-utils (main)
  • version: 2.0.1-1
  • maintainer: Debian Cloud Team (archive) (DMD)
  • uploaders: Noah Meyerhans [DMD]
  • arch: all
  • std-ver: 4.5.0
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • stable: 1.3+git20200518-2
  • testing: 2.0.1-1
  • unstable: 2.0.1-1
versioned links
  • 1.3+git20200518-2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.0.1-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • amazon-ec2-utils
action needed
18 new commits since last upload, is it time to release? normal
vcswatch reports that this package seems to have new commits in its VCS but has not yet updated debian/changelog. You should consider updating the Debian changelog and uploading this new version into the archive.

Here are the relevant commit logs:
commit 04cfb8314074f3a3439b810ffac4e2865e3939ae
Author: Noah Meyerhans <noahm@debian.org>
Date:   Fri Dec 23 14:18:08 2022 -0800

    Release 2.0.1-1

commit d9bf4406638f047aa024d7682c7ab70889740711
Author: Noah Meyerhans <noahm@debian.org>
Date:   Fri Dec 23 14:17:18 2022 -0800

    Drop patch debian/patches/fixup-python-path

commit bd0c5b4dc106577e9c35a831ce93f19fe3ad7165
Merge: bf9d16f 7442a4d
Author: Noah Meyerhans <noahm@debian.org>
Date:   Fri Dec 23 14:16:26 2022 -0800

    Merge tag 'v2.0.1'

commit 7442a4dac603f8259eeb5956d8f49d36abfd4624
Merge: 73252a6 03acfbd
Author: Noah Meyerhans <nmeyerha@amzn.com>
Date:   Mon Feb 14 09:36:14 2022 -0800

    Merge branch 'main-udev-bugfix' into main
    
    https://github.com/aws/amazon-ec2-utils/pull/24

commit 03acfbdd04e557c2655d9f57b46f03647f4edf86
Author: Noah Meyerhans <nmeyerha@amzn.com>
Date:   Fri Feb 11 10:02:31 2022 -0800

    rpm: update spec for 2.0.1-1 release

commit 0be3d3b5e020eaac436e4f62140a6fca6ad0003c
Author: Noah Meyerhans <nmeyerha@amzn.com>
Date:   Fri Feb 11 10:00:00 2022 -0800

    bugfix: don't lose block-device-mapping symlinks for nvme devices
    
    Fixes https://github.com/aws/amazon-ec2-utils/issues/22
    
    Symlinks need to be created on both add and change udev events,
    otherwise they're lost any time a change event is opened, e.g. when a
    device is open in read/write mode, e.g. when creating or mounting a
    filesystem.

commit 39fbd85d4eb78ed1ee3635e20621929b538d4c9c
Author: Noah Meyerhans <nmeyerha@amzn.com>
Date:   Fri Feb 11 10:08:27 2022 -0800

    ci: install findutils as a dependency
    
    We use xargs from the findutils package, which is no longer installed
    by default in the AL 2022 container images.

commit 73252a68d82c5b84c135c09f32a264881dbc4aaf
Author: Noah Meyerhans <nmeyerha@amzn.com>
Date:   Wed Jan 19 19:58:17 2022 -0800

    Update branch details in CONTRIBUTING.md

commit c94027b2503db8f01c11f4393983efa69d761e8e
Author: Noah Meyerhans <nmeyerha@amzn.com>
Date:   Wed Jan 19 19:50:23 2022 -0800

    Stop creating the /opt/aws/bin/ec2-metadata symlink
    
    This was for compatibility purposes with ancient Amazon Linux
    releases.

commit 53229d2d1669f5d1bfab7a0620477b907efd3368
Author: Noah Meyerhans <nmeyerha@amazon.com>
Date:   Thu Nov 11 20:56:36 2021 +0000

    Correct an invalid variable substitution in udev rules
    
    53-ec2-read-ahead-kb.rules uses awk, with variable references
    beginning with a '$' character.  Udev uses this same character when
    referencing its own device attributes, so the awk variable reference
    needs to be escaped.  Resolves issues such as the following:
    
     /usr/lib/udev/rules.d/53-ec2-read-ahead-kb.rules:9 Invalid value "/bin/awk -v bdi=$kernel 'BEGIN{ret=1} {if ($4 == bdi) {ret=0}} END{exit ret}' /proc/fs/nfsfs/volumes" for PROGRAM (char 44: invalid substitution type), ignoring, but please fix it.
    
    Verified that the escaped version performs as expected with udevadm
    test, as well as with device-mapper device attachements:
    
    [ec2-user@ip-10-0-0-232 ~]$ sed 's|/proc/fs/nfsfs/volumes|/home/ec2-user/volumes|' /usr/lib/udev/rules.d/53-ec2-read-ahead-kb.rules | sudo tee /etc/udev/rules.d/53-ec2-read-ahead-kb.rules
    
    SUBSYSTEM=="bdi", ACTION=="add", PROGRAM="/bin/awk -v bdi=$kernel 'BEGIN{ret=1} {if ($$4 == bdi) {ret=0}} END{exit ret}' /home/ec2-user/volumes", ATTR{read_ahead_kb}="15360"
    (reverse-i-search)`ech': ^Cho 1234 > foo
    [ec2-user@ip-10-0-0-232 ~]$ echo 0 1 2 7:0 > /home/ec2-user/volumes
    [ec2-user@ip-10-0-0-232 ~]$ sudo udevadm  test -a add /class/bdi/7\:0                                                                                     This program is for debugging only, it does not run any program
    ...
    7:0: /etc/udev/rules.d/53-ec2-read-ahead-kb.rules:9 Running PROGRAM '/bin/awk -v bdi=7:0 'BEGIN{ret=1} {if ($4 == bdi) {ret=0}} END{exit ret}' /home/ec2-user/volumes'
    7:0: Starting '/bin/awk -v bdi=7:0 'BEGIN{ret=1} {if ($4 == bdi) {ret=0}} END{exit ret}' /home/ec2-user/volumes'
    Successfully forked off '(spawn)' as PID 4357.
    7:0: Process '/bin/awk -v bdi=7:0 'BEGIN{ret=1} {if ($4 == bdi) {ret=0}} END{exit ret}' /home/ec2-user/volumes' succeeded.
    7:0: /etc/udev/rules.d/53-ec2-read-ahead-kb.rules:9 ATTR '/sys/devices/virtual/bdi/7:0/read_ahead_kb' writing '15360'
    DEVPATH=/devices/virtual/bdi/7:0
    ACTION=add
    SUBSYSTEM=bdi
    USEC_INITIALIZED=4521757767
    Unload module index
    Unloaded link configuration context.
    [ec2-user@ip-10-0-0-232 ~]$ cat /sys/class/bdi/7\:0/read_ahead_kb
    15360

commit 5193f7dbf57f2e6e1af2248a8223961a7aa81fbc
Author: Noah Meyerhans <nmeyerha@amazon.com>
Date:   Thu Nov 11 20:15:34 2021 +0000

    Drop ec2udev-vcpu and related udev rules

commit b62a60e3291361ec79123cec328afd4e3e1d2087
Author: Noah Meyerhans <nmeyerha@amazon.com>
Date:   Thu Nov 11 19:59:38 2021 +0000

    Install ec2nvme-nsid in %{_sbindir} rather than /usr/lib/udev
    
    /usr/lib/udev is not referenced in the FHS or in the Fedora packaging
    guidelines, and there are no RPM macros that reference it.  It's best
    to treat it as an internal directory managed by the systemd related
    packages, and install our external tools to standard system
    directories.
    
    Moving the ec2nvme-nsid executable to /usr/sbin is also consistent
    with the location of the rest of the executables provided by this
    package.

commit f56568a29941b655a710a5c0b4fe86870ec95e95
Author: Noah Meyerhans <nmeyerha@amazon.com>
Date:   Thu Nov 11 18:02:09 2021 +0000

    rpm: Update relationship to ec2-utils and ec2-metadata
    
    Add version constraints on ec2-metadata relationship
    
    Add Obsoletes/Provides for ec2-utils
    
    In the early days of Amazon Linux, ec2-utils was renamed from
    ec2-metadata.  To facilitate the package rename, Obsoletes and
    Provides fields were added to the ec2-utils spec file.  However, they
    did not provide version constraints, which results in an rpmlint
    error.  This change adds a version constraint based on the last
    release of the ec2-metadata package.

commit fadc0086b271b7f8470742a1398a801f6c23eb15
Author: Noah Meyerhans <nmeyerha@amazon.com>
Date:   Thu Nov 11 01:07:48 2021 +0000

    Install binaries to %{_sbindir} rather than /sbin

commit e770ba7bb45ce7af5f8dd356c6935c776cc4e4ba
Author: Noah Meyerhans <nmeyerha@amazon.com>
Date:   Thu Nov 11 00:42:45 2021 +0000

    Install udev rules to %{_udevrulesdir}
    
    Udev rules should be installed to the system-wide default udev
    location normally in order to allow the administrator to override them
    by creating new files in /etc (rather than editing package-provided
    files).

commit de2232e0d236acbfb49af6d0bfb50c32188feb73
Author: Noah Meyerhans <nmeyerha@amazon.com>
Date:   Thu Nov 11 00:28:02 2021 +0000

    Correct the changelog date for 1.3-3

commit c3fbe42004462b3519e6123c13fdb4bdfc73592c
Author: Noah Meyerhans <nmeyerha@amzn.com>
Date:   Thu Jan 20 08:56:05 2022 -0800

    Run Amazon Linux CI checks in AL 2022

commit b568c9494d4f5429ac14ddd7863da6735280f001
Author: Noah Meyerhans <nmeyerha@amazon.com>
Date:   Thu Nov 11 00:00:09 2021 +0000

    Update python deps to python3
Created: 2022-12-23 Last update: 2023-03-26 13:36
debian/patches: 1 patch to forward upstream low

Among the 1 debian patch available in version 2.0.1-1 of the package, we noticed the following issues:

  • 1 patch where the metadata indicates that the patch has not yet been forwarded upstream. You should either forward the patch upstream or update the metadata to document its real status.
Created: 2023-02-26 Last update: 2023-02-26 15:54
Standards version of the package is outdated. wishlist
The package should be updated to follow the last version of Debian Policy (Standards-Version 4.6.2 instead of 4.5.0).
Created: 2020-11-17 Last update: 2022-12-24 08:22
news
[rss feed]
  • [2022-12-29] amazon-ec2-utils 2.0.1-1 MIGRATED to testing (Debian testing watch)
  • [2022-12-23] Accepted amazon-ec2-utils 2.0.1-1 (source) into unstable (Noah Meyerhans)
  • [2022-01-22] amazon-ec2-utils 1.4-1 MIGRATED to testing (Debian testing watch)
  • [2022-01-17] Accepted amazon-ec2-utils 1.4-1 (source) into unstable (Noah Meyerhans)
  • [2021-08-31] amazon-ec2-utils 1.3+git20200518-3 MIGRATED to testing (Debian testing watch)
  • [2021-08-25] Accepted amazon-ec2-utils 1.3+git20200518-3 (source) into unstable (Noah Meyerhans)
  • [2020-07-23] amazon-ec2-utils 1.3+git20200518-2 MIGRATED to testing (Debian testing watch)
  • [2020-07-16] Accepted amazon-ec2-utils 1.3+git20200518-2 (source) into unstable (Noah Meyerhans)
  • [2020-07-15] Accepted amazon-ec2-utils 1.3+git20200518-1 (source all) into unstable, unstable (Debian FTP Masters) (signed by: Noah Meyerhans)
bugs [bug history graph]
  • all: 0
links
  • homepage
  • lintian
  • buildd: logs, reproducibility
  • popcon
  • browse source code
  • edit tags
  • other distros
  • screenshots
  • debian patches
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 2.0.1-1
  • 1 bug

Debian Package Tracker — Copyright 2013-2018 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing