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

BUG: Some symlinks missing from the OCI images (Can't add printer via SMB) #77

Closed
celsomiranda opened this issue Mar 16, 2023 · 5 comments

Comments

@celsomiranda
Copy link

Hi.

As discussed over on Discord. I've been having this wierd bug with images based on main, including itself.

If I go to CUPS admin in http://localhost:631/ there is no option Windows Printer via SAMBA under Add Printer > Other Network Printers.

This doesn't happen on a vanilla fresh install of Silverblue.

The output of rpm -qa '*samba*' is the same on both systems:

samba-common-4.17.6-0.fc37.noarch
samba-client-libs-4.17.6-0.fc37.x86_64
samba-common-libs-4.17.6-0.fc37.x86_64
samba-client-4.17.6-0.fc37.x86_64

Both systems are freshly installed side by side so I can test the differences between the two.

@celsomiranda
Copy link
Author

celsomiranda commented Mar 16, 2023

Output of rpm -qa --queryformat '%{NAME}\n' | sort

vanilla silverblue:37

silverblue.txt

quay.io/fedora-ostree-desktops/silverblue:37

quay-silverblue.txt

ublue-main/silverblue:37

ublue-main.txt

Vanilla Silverblue 37 and the OCI image pulled from quay should have the same packages installed, but one provides the option to add the printer and the latter doesn't.

@celsomiranda
Copy link
Author

celsomiranda commented Mar 17, 2023

I solved it.
I added the following line to the Containerfile from where I build my image:

RUN ln -s /usr/libexec/samba/cups_backend_smb /usr/lib/cups/backend/smb

@castrojo
Copy link
Member

castrojo commented Mar 17, 2023

Let's keep this open for now as a reminder and then see how the move to quay.io/fedora goes over the next few days and then see if the images still differ.

This appears to be coreos/rpm-ostree#1614

@celsomiranda celsomiranda changed the title BUG: Can't add printer via SMB (Vanilla Silverblue works fine) BUG: Some symlinks missing from the OCI images (Can't add printer via SMB) Mar 22, 2023
@celsomiranda
Copy link
Author

celsomiranda commented Mar 22, 2023

Reopening the issue until it is solved upstream, or we come up with a way to fix the images ourselves temporarily.

Currently implementing this is my custom image.
https://github.com/celsomiranda/ublue-mysocks/pull/8

@celsomiranda celsomiranda reopened this Mar 22, 2023
@dosubot dosubot bot added the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Jun 30, 2024
@dosubot dosubot bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 7, 2024
@dosubot dosubot bot removed the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Jul 7, 2024
@vrothberg
Copy link

fedora-sysv/chkconfig#135 has been merged which should fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants