upgradeprovision fails if sysvol directory is missing

Bug #930370 reported by Lohith
74
This bug affects 4 people
Affects Status Importance Assigned to Milestone
samba
Fix Released
Medium
samba4 (Ubuntu)
Fix Released
Medium
Jelmer Vernooij
Precise
Won't Fix
High
Unassigned

Bug Description

The error came up after I restarted the system and was trying to report a "system problem"

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: samba4 4.0.0~alpha17.dfsg2-1
ProcVersionSignature: Ubuntu 3.2.0-15.24-generic 3.2.5
Uname: Linux 3.2.0-15-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
CrashCounter: 1
Date: Fri Feb 10 11:47:59 2012
ExecutablePath: /usr/share/samba/setup/upgradeprovision
InterpreterPath: /usr/bin/python2.7
ProcCmdline: python /usr/share/samba/setup/upgradeprovision --full
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/share/samba/setup/upgradeprovision', '--full']
SourcePackage: samba4
Title: upgradeprovision crashed with TypeError in copytree(): coercing to Unicode: need string or buffer, NoneType found
UpgradeStatus: Upgraded to precise on 2012-02-08 (2 days ago)
UserGroups:

Revision history for this message
Lohith (lohithreddym) wrote :
tags: removed: need-duplicate-check
Jelmer Vernooij (jelmer)
visibility: private → public
summary: - upgradeprovision crashed with TypeError in copytree(): coercing to
- Unicode: need string or buffer, NoneType found
+ upgradeprovision fails if sysvol directory is missing
Changed in samba4 (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Jelmer Vernooij (jelmer)
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Fixed in Samba master.

Changed in samba4 (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This fix landed in alpha19.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package samba4 - 4.0.0~alpha19+dfsg1-7

---------------
samba4 (4.0.0~alpha19+dfsg1-7) unstable; urgency=low

  * Only update smb.conf if it exists. Closes: #670560
  * Automatically add shares required for active directory controllers if they
    don't exist. Closes: #670558

 -- Jelmer Vernooij <email address hidden> Thu, 26 Apr 2012 19:59:26 +0200

Changed in samba4 (Ubuntu):
status: In Progress → Fix Released
Jelmer Vernooij (jelmer)
Changed in samba4 (Ubuntu Precise):
status: New → Triaged
importance: Undecided → High
assignee: nobody → Jelmer Vernooij (jelmer)
Jelmer Vernooij (jelmer)
Changed in samba4 (Ubuntu Precise):
status: Triaged → In Progress
Changed in samba:
importance: Unknown → Medium
status: Unknown → Fix Released
Jelmer Vernooij (jelmer)
Changed in samba4 (Ubuntu Precise):
status: In Progress → Triaged
assignee: Jelmer Vernooij (jelmer) → nobody
Revision history for this message
Steve Langasek (vorlon) wrote :

The Precise Pangolin has reached end of life, so this bug will not be fixed for that release

Changed in samba4 (Ubuntu Precise):
status: Triaged → Won't Fix
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.