NFS mounted recording path causes postinst to fail

Bug #299352 reported by RobertFullarton
4
Affects Status Importance Assigned to Milestone
mythtv (Ubuntu)
Fix Released
Undecided
Mario Limonciello

Bug Description

Binary package hint: update-manager

update-manager tries to change the permissions of a nfs shared drive and it can't so it booms out.

ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 8.10
ErrorMessage: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1)

NonfreeKernelModules: nvidia
Package: update-manager 1:0.93.35
PackageArchitecture: all
SourcePackage: update-manager
Title: package update-manager 1:0.93.35 failed to install/upgrade: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1)
Uname: Linux 2.6.24-21-generic i686

Related branches

Revision history for this message
RobertFullarton (robert-fullartons) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

The cause of the failure is
=====
Setting up mythtv-backend (0.21.0+fixes17120-0ubuntu0+mythbuntu2) ...
udev active, devices will be created in /dev/.static/dev/
chown: changing ownership of `/var/lib/mythtv/recordings': Operation not permitted
dpkg: error processing mythtv-backend (--configure):
 subprocess post-installation script returned error exit status 1
=====

Affecting to mythtv

Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Bug 299352] Re: package update-manager booms when setting up mythtv-backend

Is your /var/lib/mythtv/recordings directory mounted on NFS by chance?

On Tue, Nov 18, 2008 at 02:11, Jean-Baptiste Lallement <
<email address hidden>> wrote:

> Thanks for your report.
>
> The cause of the failure is
> =====
> Setting up mythtv-backend (0.21.0+fixes17120-0ubuntu0+mythbuntu2) ...
> udev active, devices will be created in /dev/.static/dev/
> chown: changing ownership of `/var/lib/mythtv/recordings': Operation not
> permitted
> dpkg: error processing mythtv-backend (--configure):
> subprocess post-installation script returned error exit status 1
> =====
>
> Affecting to mythtv
>
> ** Changed in: mythtv (Ubuntu)
> Sourcepackagename: update-manager => mythtv
>
> --
> package update-manager booms when setting up mythtv-backend
> https://bugs.launchpad.net/bugs/299352
> You received this bug notification because you are a member of MythTV
> Ubuntu Maintainers, which is subscribed to mythtv in ubuntu.
>

--
Mario Limonciello
<email address hidden>

Revision history for this message
RobertFullarton (robert-fullartons) wrote :

Yes , its mounted nfs. This error was on my slave backend machine. If I stop
mythbackend and manually umount the nfs share , I don't get any errors when
I update.
Rob

On Wed, Nov 19, 2008 at 4:18 AM, Mario Limonciello <email address hidden>wrote:

> Is your /var/lib/mythtv/recordings directory mounted on NFS by chance?
>
>
> On Tue, Nov 18, 2008 at 02:11, Jean-Baptiste Lallement <
> <email address hidden>> wrote:
>
> > Thanks for your report.
> >
> > The cause of the failure is
> > =====
> > Setting up mythtv-backend (0.21.0+fixes17120-0ubuntu0+mythbuntu2) ...
> > udev active, devices will be created in /dev/.static/dev/
> > chown: changing ownership of `/var/lib/mythtv/recordings': Operation not
> > permitted
> > dpkg: error processing mythtv-backend (--configure):
> > subprocess post-installation script returned error exit status 1
> > =====
> >
> > Affecting to mythtv
> >
> > ** Changed in: mythtv (Ubuntu)
> > Sourcepackagename: update-manager => mythtv
> >
> > --
> > package update-manager booms when setting up mythtv-backend
> > https://bugs.launchpad.net/bugs/299352
> > You received this bug notification because you are a member of MythTV
> > Ubuntu Maintainers, which is subscribed to mythtv in ubuntu.
> >
>
>
> --
> Mario Limonciello
> <email address hidden>
>
> --
> package update-manager booms when setting up mythtv-backend
> https://bugs.launchpad.net/bugs/299352
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in "mythtv" source package in Ubuntu: New
>
> Bug description:
> Binary package hint: update-manager
>
> update-manager tries to change the permissions of a nfs shared drive and it
> can't so it booms out.
>
> ProblemType: Package
> Architecture: i386
> DistroRelease: Ubuntu 8.10
> ErrorMessage: ErrorMessage: SystemError in cache.commit(): E:Sub-process
> /usr/bin/dpkg returned an error code (1)
>
> NonfreeKernelModules: nvidia
> Package: update-manager 1:0.93.35
> PackageArchitecture: all
> SourcePackage: update-manager
> Title: package update-manager 1:0.93.35 failed to install/upgrade:
> ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg
> returned an error code (1)
> Uname: Linux 2.6.24-21-generic i686
>

Revision history for this message
Mario Limonciello (superm1) wrote : Re: package update-manager booms when setting up mythtv-backend

bzr #176

Changed in mythtv:
assignee: nobody → superm1
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mythtv - 0.21.0+fixes19136-0ubuntu3

---------------
mythtv (0.21.0+fixes19136-0ubuntu3) jaunty; urgency=low

  [ Michael Haas ]
  * Drop debian/patches/28_fix_v4l.dpatch because upstream
    fixed this properly in r19250.

  [ Mario Limonciello ]
  * debian/mythtv-database.postinst:
    - Don't reset the backend IPs unless you
      are loading a database
    - Pre-set mythbuntu theme. If mythbuntu theme isn't
      around, G.A.N.T. gets loaded instead, so no expected
      regresssions.
  * debian/mythtv-database.config:
    - Try to get answer from mysql-server config if possible
      this avoids asking admin pass question twice.
    - Check if mysql binary is around before repeatedly
      asking questions.
   - Check if localhost that mysqld is running. If it's
      not, then don't keep asking questions.
    - Pass on failed answer to postinst (don't reset)
  * debian/mythtv-common.config:
    - Display the password that is set, not just "value set"
  * debian/mythtv-common.postinst:
    - Only create a user if it doesn't already exist. (LP: #280974)
  * debian/rules:
    - Unset executable permissions on .sh and .d files in clean
      section. (LP: #311573)
    - Don't restart mythtv-backend on upgrade of packages.
      Unexpected behavior might happen depending on what other packages
      are installed at that time and what will still be installed.
      The common use case for a problem here is dist-upgrades.
      (LP: #298914)
  * Store .sh and .d files as non executable in bzr to better reflect
    flat packaging as seen in the archive.
  * debian/patches/24_fix_h264_frame_counting.dpatch:
    - Remove .orig file from the patch as it's unnecessary (LP: #311549)
  * debian/mythtv-backend.postinst:
    - If we are mounted on NFS, changing permissions will fail. Don't
      fail the postinst in this case. (LP: #299352)

  [ TJ ]
  * debian/rules:
    - Cleanup files that upstream is forgetting to clean between builds.
      (LP: #311552)

 -- Mario Limonciello <email address hidden> Fri, 02 Jan 2009 14:28:58 -0600

Changed in mythtv:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.