← Back to team overview

enterprise-support team mailing list archive

[Bug 2104032] [NEW] Directory /var/spool/samba no more provided by samba on noble

 

Public bug reported:

On Ubuntu 24.04, /var/spool/samba directory is not provided by samba
package and shared printers can't be listed by smbclient command with
this historical samba share declaration as before :

[printers]
   comment = All Printers
   browseable = no
   path = /var/spool/samba
   printable = yes
   guest ok = no
   read only = yes
   create mask = 0700

Creating manually the missing directory solve the problem :

$ mkdir /var/spool/samba
$ chmod 777 /var/spool/samba
$ chmod +t /var/spool/samba

* On 24.04 :

root@dc1:~# lsb_release -rd
No LSB modules are available.
Description:	Ubuntu 24.04.2 LTS
Release:	24.04
root@dc1:~# apt policy samba
samba:
  Installé : 2:4.19.5+dfsg-4ubuntu9
  Candidat : 2:4.19.5+dfsg-4ubuntu9
 Table de version :
 *** 2:4.19.5+dfsg-4ubuntu9 500
        500 http://fr.archive.ubuntu.com/ubuntu noble/main amd64 Packages
        100 /var/lib/dpkg/status
root@dc1:~# dpkg -L samba | grep spool
root@dc1:~# 

* On 22.04

root@scribe:~# lsb_release -rd
Description:	Ubuntu 22.04.5 LTS
Release:	22.04
root@scribe:~# apt policy samba
samba:
  Installé : 2:4.15.13+dfsg-0ubuntu1.6
  Candidat : 2:4.15.13+dfsg-0ubuntu1.6
 Table de version :
 *** 2:4.15.13+dfsg-0ubuntu1.6 500
        500 http://fr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2:4.15.13+dfsg-0ubuntu1.5 500
        500 http://fr.archive.ubuntu.com/ubuntu jammy-security/main amd64 Packages
     2:4.15.5~dfsg-0ubuntu5 500
        500 http://fr.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
root@scribe:~# dpkg -L samba | grep spool
/var/spool
/var/spool/samba
root@scribe:~#

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Directory /var/spool/samba no more provided by samba on noble

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