Hi,

AFAIK, there's nothing interesting inside this Vagrantfile:

-------8<------------------

# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|
  config.vm.box = "debian/bookworm64"
  config.disksize.size = '1024GB'
  config.vm.network "private_network", ip: "192.168.56.2"
  config.vm.provider "virtualbox" do |v|
    v.gui = false
    v.memory = "8192"
    v.cpus = 4
  end

  config.vm.provision "shell", inline: <<-SHELL
    ln -sv /vm_share/files/install-stuff.sh /usr/local/bin/install-stuff.sh
    apt-get -yq update; apt-get -yq install screen
    screen -d -m -S install /usr/local/bin/install-stuff.sh
  SHELL
end
-------8<------------------

The subscript install-stuff.sh have been checked, there's no ownership change 
of the postgres directory.

This is how I install postgres:
-------8<------------------
apt-get -t testing -o DPkg::options::="--force-confdef" -o 
Dpkg::Options::="--force-confold" -yq install postgresql-$pg_version
-------8<------------------

Gilles

________________________________
De : Christoph Berg <[email protected]>
Envoyé : mercredi 27 août 2025 22:24:12
À : Gilles Quenot; [email protected]
Objet : Re: Bug#1111593: 'psql' not found and '/usr/bin/psql' permission denied 
by default

Re: Gilles Quenot
> I build a Vagrant VM from scratch.

Could you share the Vagrantfile?

Christoph

Reply via email to