Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 | Skip Samba configuration dialog during installation by default? #920

Closed
fredg02 opened this issue Apr 23, 2020 · 3 comments
Closed
Labels

Comments

@fredg02
Copy link
Contributor

fredg02 commented Apr 23, 2020

Bug

What I did

I used the install script (buster-install-default.sh) and wanted to run a non-interactive installation (see also issue #858).

What happened

The following screen pops up during the installation:
image

I expected this to happen

After the initial set of questions during the installation, no further interaction should be required.
If the installation runs in automatic mode (upcoming PR), no interaction should be required at all.

Further information that might help

debconf-set-selections can be used to skip this configuration dialog.

  • echo "samba-common samba-common/dhcp boolean false" | sudo debconf-set-selections => same as if you would select "No" in the dialog.
  • echo "samba-common samba-common/dhcp boolean true" | sudo debconf-set-selections => same as if you would select "Yes" in the dialog.

Here are my questions:

  • Should this dialog be skipped by default for any type of installation (interactive and non-interactive)?
  • Should this dialog only be skipped during a non-interactive installation?
  • What should be the default answer? Yes or No?
    (I don't think this dialog is even relevant for most users, but I might be wrong.)

Base image and version

2020-02-13-raspbian-buster-lite.img

Branch / Release

develop

Installscript

scripts/installscripts/buster-install-default.sh

Hardware

RaspberryPi version, etc

does not matter

@fredg02 fredg02 added the bug label Apr 23, 2020
@s-martin
Copy link
Collaborator

s-martin commented Apr 25, 2020

From my point of view we should skip the dialog and we could default this to "No" directly in the script, I personally don't see the use case for WINS.

We then should document this behavior somewhere.

@s-martin
Copy link
Collaborator

s-martin commented May 1, 2020

But I would like to check with @MiczFlor, if I'm missing a use case for WINS here.

@MiczFlor
Copy link
Owner

MiczFlor commented May 8, 2020

It's been added. Thanks for the hint:

echo "samba-common samba-common/dhcp boolean false" | sudo debconf-set-selections

@MiczFlor MiczFlor closed this as completed May 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants