[Bug 1731615] Re: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2017-11-14 Thread Andreas Hasenack
Thanks for getting back to us with your results, much appreciated.

Since this started with an invalid configuration option in smb.conf,
I'll mark this bug as invalid, as the software worked as designed.

Thanks again


** Changed in: samba (Ubuntu)
   Status: Incomplete => Invalid

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

Title:
  package samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

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

-- 
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 1731615] Re: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2017-11-14 Thread Andreas Hasenack
Thanks for getting back to us with your results, much appreciated.

Since this started with an invalid configuration option in smb.conf,
I'll mark this bug as invalid, as the software worked as designed.

Thanks again


** Changed in: samba (Ubuntu)
   Status: Incomplete => Invalid

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

Title:
  package samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

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

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

[Bug 1731615] Re: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2017-11-14 Thread Juraj
Bingo. After purging "samba-common" and 'apt install samba' no error
received and was able to create or access samba shares on the network. I
expected also samba-common to be removed by "purge samba"

Considered as solved or workaround available

'apt purge purge samba-common && apt install samba'

Thank you.

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

Title:
  package samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

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

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

[Bug 1731615] Re: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2017-11-14 Thread Andreas Hasenack
The /etc/samba/smb.conf file is created by the samba-common package in
its post-install script, and not samba. It's copied from
/usr/share/samba/smb.conf.

If you want to start from scratch, you can purge samba-common and then
install samba again.

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

Title:
  package samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

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

-- 
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 1731615] Re: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2017-11-14 Thread Andreas Hasenack
The /etc/samba/smb.conf file is created by the samba-common package in
its post-install script, and not samba. It's copied from
/usr/share/samba/smb.conf.

If you want to start from scratch, you can purge samba-common and then
install samba again.

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

Title:
  package samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

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

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

[Bug 1731615] Re: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2017-11-14 Thread Juraj
sudo apt update
sudo apt -f install

Did not fix the problem.

Run 
apt purge samba
mv smb.conf smb.conf.old
apt install samba

Got the same result.

No new smb.conf created

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

Title:
  package samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

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

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

[Bug 1731615] Re: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2017-11-13 Thread Andreas Hasenack
Thanks for the attachment.

You have an invalid configuration option in /etc/samba/smb.conf:
andreas@nsnx:~$ testparm ./smb.conf 
Load smb config files from ./smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "syslog" option is deprecated
WARNING: Ignoring invalid value 'share' for parameter 'security'
Error loading services.

For this version of samba, "security = share" is no longer a valid
setting. Valid values for the "security" parameter are auto, user,
domain or ads.

Once you fix the configuration, this should fix your samba installation:

sudo apt update
sudo apt -f install

Please let us know how it goes.

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

Title:
  package samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

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

-- 
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 1731615] Re: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2017-11-13 Thread Andreas Hasenack
Thanks for the attachment.

You have an invalid configuration option in /etc/samba/smb.conf:
andreas@nsnx:~$ testparm ./smb.conf 
Load smb config files from ./smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "syslog" option is deprecated
WARNING: Ignoring invalid value 'share' for parameter 'security'
Error loading services.

For this version of samba, "security = share" is no longer a valid
setting. Valid values for the "security" parameter are auto, user,
domain or ads.

Once you fix the configuration, this should fix your samba installation:

sudo apt update
sudo apt -f install

Please let us know how it goes.

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

Title:
  package samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

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

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

[Bug 1731615] Re: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2017-11-13 Thread Juraj
Attached please find smb.conf as requested.
There are only ancient log files available from 2016 and older. No "fresh" log 
available.

** Attachment added: "smb.conf"
   
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1731615/+attachment/5008323/+files/smb.conf

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

Title:
  package samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

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

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

[Bug 1731615] Re: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2017-11-13 Thread Andreas Hasenack
Thanks for filing this bug in Ubuntu.

The logs confirm that one of the samba services, smbd, failed to start,
but give no indication as to why.

Could you please attach the following files to this bug report:
- /etc/samba/smb.conf
- /var/log/samba/log* (all files that start with "log" in the /var/log/samba 
directory)

** Changed in: samba (Ubuntu)
   Status: New => Incomplete

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

Title:
  package samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

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

-- 
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 1731615] Re: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2017-11-13 Thread Andreas Hasenack
Thanks for filing this bug in Ubuntu.

The logs confirm that one of the samba services, smbd, failed to start,
but give no indication as to why.

Could you please attach the following files to this bug report:
- /etc/samba/smb.conf
- /var/log/samba/log* (all files that start with "log" in the /var/log/samba 
directory)

** Changed in: samba (Ubuntu)
   Status: New => Incomplete

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

Title:
  package samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

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

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

[Bug 1731615] Re: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2017-11-11 Thread Apport retracing service
** Tags removed: need-duplicate-check

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

Title:
  package samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

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

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