[Bug 661024] Re: etckeeper fail to work when installed during installation

2011-01-10 Thread Angel Abad
** Changed in: etckeeper (Ubuntu Maverick)
   Status: Triaged = In Progress

** Changed in: etckeeper (Ubuntu Maverick)
 Assignee: (unassigned) = Angel Abad (angelabad)

** Description changed:

  Binary package hint: etckeeper
  
+ TEST CASE:
  I just tested to install maverick here at the University of Oslo, where we 
have customized the installation to install a few extra packages.  One of the 
packages is etckeeper, which is installed very early in the installation 
process (in post-base-installer),
  to get a record of every change in /etc/.
  
  This worked just fine in lucid, but in maverick this breaks the installer.  
The reason is that bzr, the default VCS for etckeeper in Ubuntu, now refuses to 
commit changes before a name and email address has been configured.  This used 
to work, but
  now fail.
  
  A fix would be for etckeeper to run bzr whoami 'Enoch Root
  r...@hostname' or something similar to get the configuration to show
  up in ~root/.bazaar/bazaar.conf when initializing the repository.
  Another fix would be for bzr to accept anonymous commits like it did
  in Lucid.
+ 
+ Regression potential:
+ This change is tested in natty, so I think potential for regression is almost 
0.
+ 
+ course of action for maverick:
+ Apply changes already applied in natty package.
+ 
+ Thanks!

** Summary changed:

- etckeeper fail to work when installed during installation
+ [SRU] etckeeper fail to work when installed during installation

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to etckeeper in ubuntu.
https://bugs.launchpad.net/bugs/661024

Title:
  [SRU] etckeeper fail to work when installed during installation

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


[Bug 661024] Re: etckeeper fail to work when installed during installation

2011-01-10 Thread Angel Abad
** Changed in: etckeeper (Ubuntu Maverick)
   Status: Triaged = In Progress

** Changed in: etckeeper (Ubuntu Maverick)
 Assignee: (unassigned) = Angel Abad (angelabad)

** Description changed:

  Binary package hint: etckeeper
  
+ TEST CASE:
  I just tested to install maverick here at the University of Oslo, where we 
have customized the installation to install a few extra packages.  One of the 
packages is etckeeper, which is installed very early in the installation 
process (in post-base-installer),
  to get a record of every change in /etc/.
  
  This worked just fine in lucid, but in maverick this breaks the installer.  
The reason is that bzr, the default VCS for etckeeper in Ubuntu, now refuses to 
commit changes before a name and email address has been configured.  This used 
to work, but
  now fail.
  
  A fix would be for etckeeper to run bzr whoami 'Enoch Root
  r...@hostname' or something similar to get the configuration to show
  up in ~root/.bazaar/bazaar.conf when initializing the repository.
  Another fix would be for bzr to accept anonymous commits like it did
  in Lucid.
+ 
+ Regression potential:
+ This change is tested in natty, so I think potential for regression is almost 
0.
+ 
+ course of action for maverick:
+ Apply changes already applied in natty package.
+ 
+ Thanks!

** Summary changed:

- etckeeper fail to work when installed during installation
+ [SRU] etckeeper fail to work when installed during installation

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

Title:
  [SRU] etckeeper fail to work when installed during installation

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


[Bug 661024] Re: etckeeper fail to work when installed during installation

2011-01-05 Thread George Klein
I've just upgraded a server from Lucid to Maverick and been hit by this
bug.  From the comments above, I presume this has happened because I did
the upgrade over ssh and not directly at a terminal.

I'll run bzr whoami as Petter suggests and see what happens with
tonight's cron job.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to etckeeper in ubuntu.
https://bugs.launchpad.net/bugs/661024

Title:
  etckeeper fail to work when installed during installation

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


[Bug 661024] Re: etckeeper fail to work when installed during installation

2011-01-05 Thread George Klein
I've just upgraded a server from Lucid to Maverick and been hit by this
bug.  From the comments above, I presume this has happened because I did
the upgrade over ssh and not directly at a terminal.

I'll run bzr whoami as Petter suggests and see what happens with
tonight's cron job.

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

Title:
  etckeeper fail to work when installed during installation

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


[Bug 661024] Re: etckeeper fail to work when installed during installation

2010-12-15 Thread Thierry Carrez
Fixing this in Maverick involves respinning an install media, since
etckeeper at install-time will be pulled from the CD, so I don't think
that will happen...

** Changed in: etckeeper (Ubuntu)
   Status: Triaged = In Progress

** Changed in: etckeeper (Ubuntu)
 Assignee: (unassigned) = Thierry Carrez (ttx)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to etckeeper in ubuntu.
https://bugs.launchpad.net/bugs/661024

Title:
  etckeeper fail to work when installed during installation

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


[Bug 661024] Re: etckeeper fail to work when installed during installation

2010-12-15 Thread Launchpad Bug Tracker
This bug was fixed in the package etckeeper - 0.50ubuntu2

---
etckeeper (0.50ubuntu2) natty; urgency=low

  * commit.d/50vcs-commit: Avoid failure in initial commit if etckeeper
is not installed from a tty (like early during installation) (LP: #661024)
 -- Thierry Carrez (ttx) thie...@openstack.org   Wed, 15 Dec 2010 11:18:50 
+0100

** Changed in: etckeeper (Ubuntu)
   Status: In Progress = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to etckeeper in ubuntu.
https://bugs.launchpad.net/bugs/661024

Title:
  etckeeper fail to work when installed during installation

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


[Bug 661024] Re: etckeeper fail to work when installed during installation

2010-12-15 Thread Petter Reinholdtsen
For us at the university of Oslo, a fix in Maverick only have to show up
with PXE installations, so no new media is needed to make us happy.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to etckeeper in ubuntu.
https://bugs.launchpad.net/bugs/661024

Title:
  etckeeper fail to work when installed during installation

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


[Bug 661024] Re: etckeeper fail to work when installed during installation

2010-12-15 Thread Thierry Carrez
Interesting, sounds like a good target for SRU, then.
See https://wiki.ubuntu.com/StableReleaseUpdates#Procedure

** Also affects: etckeeper (Ubuntu Maverick)
   Importance: Undecided
   Status: New

** Changed in: etckeeper (Ubuntu Maverick)
   Status: New = Triaged

** Changed in: etckeeper (Ubuntu Maverick)
   Importance: Undecided = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to etckeeper in ubuntu.
https://bugs.launchpad.net/bugs/661024

Title:
  etckeeper fail to work when installed during installation

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


[Bug 661024] Re: etckeeper fail to work when installed during installation

2010-12-15 Thread Thierry Carrez
Fixing this in Maverick involves respinning an install media, since
etckeeper at install-time will be pulled from the CD, so I don't think
that will happen...

** Changed in: etckeeper (Ubuntu)
   Status: Triaged = In Progress

** Changed in: etckeeper (Ubuntu)
 Assignee: (unassigned) = Thierry Carrez (ttx)

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

Title:
  etckeeper fail to work when installed during installation

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


[Bug 661024] Re: etckeeper fail to work when installed during installation

2010-12-15 Thread Launchpad Bug Tracker
This bug was fixed in the package etckeeper - 0.50ubuntu2

---
etckeeper (0.50ubuntu2) natty; urgency=low

  * commit.d/50vcs-commit: Avoid failure in initial commit if etckeeper
is not installed from a tty (like early during installation) (LP: #661024)
 -- Thierry Carrez (ttx) thie...@openstack.org   Wed, 15 Dec 2010 11:18:50 
+0100

** Changed in: etckeeper (Ubuntu)
   Status: In Progress = Fix Released

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

Title:
  etckeeper fail to work when installed during installation

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


[Bug 661024] Re: etckeeper fail to work when installed during installation

2010-12-15 Thread Petter Reinholdtsen
For us at the university of Oslo, a fix in Maverick only have to show up
with PXE installations, so no new media is needed to make us happy.

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

Title:
  etckeeper fail to work when installed during installation

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


[Bug 661024] Re: etckeeper fail to work when installed during installation

2010-12-15 Thread Thierry Carrez
Interesting, sounds like a good target for SRU, then.
See https://wiki.ubuntu.com/StableReleaseUpdates#Procedure

** Also affects: etckeeper (Ubuntu Maverick)
   Importance: Undecided
   Status: New

** Changed in: etckeeper (Ubuntu Maverick)
   Status: New = Triaged

** Changed in: etckeeper (Ubuntu Maverick)
   Importance: Undecided = Medium

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

Title:
  etckeeper fail to work when installed during installation

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


[Bug 661024] Re: etckeeper fail to work when installed during installation

2010-12-01 Thread Thierry Carrez
Analysis:
In the case of an early install, the logic to determine USER in 
/etc/etckeeper/commit.d/50vcs-commit fails to yield a valid USER, so EMAIL is 
not set when bzr commit is called (no name being stored in bzr whoami, this 
fails)

Solution would be to do something like:

ORIG_USER=$USER
USER=
...
  if [ -n $USER ]; then
  export EMAIL=$USER $u...@$hostname
  else
  bzr whoami || export EMAIL=$ORIG_USER $orig_u...@$hostname
  fi

This avoids setting bzr whoami artificially at install-time, still
prefers stored creds if any are present, but defaulting to something
valid rather than failing in the corner case of this bug.

Reducing priority since this doesn't affect post-install installations
of etckeeper. i'll fix this if nobody beats me to it.

** Changed in: etckeeper (Ubuntu)
   Importance: High = Medium

** Changed in: etckeeper (Ubuntu)
   Status: Confirmed = Triaged

-- 
etckeeper fail to work when installed during installation
https://bugs.launchpad.net/bugs/661024
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to etckeeper in ubuntu.

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


[Bug 661024] Re: etckeeper fail to work when installed during installation

2010-12-01 Thread Thierry Carrez
Analysis:
In the case of an early install, the logic to determine USER in 
/etc/etckeeper/commit.d/50vcs-commit fails to yield a valid USER, so EMAIL is 
not set when bzr commit is called (no name being stored in bzr whoami, this 
fails)

Solution would be to do something like:

ORIG_USER=$USER
USER=
...
  if [ -n $USER ]; then
  export EMAIL=$USER $u...@$hostname
  else
  bzr whoami || export EMAIL=$ORIG_USER $orig_u...@$hostname
  fi

This avoids setting bzr whoami artificially at install-time, still
prefers stored creds if any are present, but defaulting to something
valid rather than failing in the corner case of this bug.

Reducing priority since this doesn't affect post-install installations
of etckeeper. i'll fix this if nobody beats me to it.

** Changed in: etckeeper (Ubuntu)
   Importance: High = Medium

** Changed in: etckeeper (Ubuntu)
   Status: Confirmed = Triaged

-- 
etckeeper fail to work when installed during installation
https://bugs.launchpad.net/bugs/661024
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 661024] Re: etckeeper fail to work when installed during installation

2010-11-03 Thread Petter Reinholdtsen
Any hope of having this fixed in Maverik?

-- 
etckeeper fail to work when installed during installation
https://bugs.launchpad.net/bugs/661024
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to etckeeper in ubuntu.

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


[Bug 661024] Re: etckeeper fail to work when installed during installation

2010-11-03 Thread Petter Reinholdtsen
Any hope of having this fixed in Maverik?

-- 
etckeeper fail to work when installed during installation
https://bugs.launchpad.net/bugs/661024
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 661024] Re: etckeeper fail to work when installed during installation

2010-10-20 Thread Thierry Carrez
** Changed in: etckeeper (Ubuntu)
   Importance: Undecided = High

** Changed in: etckeeper (Ubuntu)
   Status: New = Confirmed

-- 
etckeeper fail to work when installed during installation
https://bugs.launchpad.net/bugs/661024
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to etckeeper in ubuntu.

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


[Bug 661024] Re: etckeeper fail to work when installed during installation

2010-10-20 Thread Thierry Carrez
** Changed in: etckeeper (Ubuntu)
   Importance: Undecided = High

** Changed in: etckeeper (Ubuntu)
   Status: New = Confirmed

-- 
etckeeper fail to work when installed during installation
https://bugs.launchpad.net/bugs/661024
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