Opened 19 years ago

Closed 19 years ago

Last modified 16 years ago

#1337 closed defect (fixed)

Sequence Starting Samba and Cups

Reported by: Berndt.Matthias@… Owned by: blfs-book@…
Priority: high Milestone:
Component: Bootscripts Version: b-6.1-pre1
Severity: critical Keywords:
Cc:

Description

Sharing CUPS-printers via samba printers are not recognized by samba, when samba is started earlier than CUPS. This could be easily fixed by starting cups earlier.

Change History (14)

comment:1 by Randy McMurchy, 19 years ago

I'm not sure anything should be done about this other than perhaps placing some text in the Samba and Cups sections about the possible need to re-order the bootscripts.

What works for some, starting Samba first, doesn't work for others who need CUPS started first.

If you share Linux printers to Windows, CUPS should come up first.

If you share Windows printers to Linux, Samba should come up first.

comment:2 by Berndt.Matthias@…, 19 years ago

If you share Windows printers to Linux, Samba should come up first.

This way works here even if CUPS came up first.

comment:3 by Randy McMurchy, 19 years ago

Milestone: future6.1
Priority: lowesthigh
Severity: trivialnormal

I've confirmed Matthias' comments. Indeed, starting cups before samba still allows printing to Windows printers. There is really no good reason why we can't shuffle the order of the cups daemon startup so that samba is started first.

comment:4 by kevin@…, 19 years ago

bug_file_loc: http://www.linuxfromscratch.org/blfs/view/stable/server/samba3.html

Used samba 3.0.14a instead of 3.0.11

Error: chmod: cannot access `/usr/lib/samba/libsmbclient.a': No such file or directory

Because file does not exist so add this command: cp /sources/samba-3.0.14a/source/bin/libsmbclient.a /usr/lib/samba/libsmbclient.a

Here:


Now, as the root user:

make install && mv /usr/lib/samba/libsmbclient.so /usr/lib && ln -sf ../libsmbclient.so /usr/lib/samba &&


cp /sources/samba-3.0.14a/source/bin/libsmbclient.a /usr/lib/samba/libsmbclient.a &&

comment:5 by kevin@…, 19 years ago

oooppss WRONG place...see new bug report.

comment:6 by DJ Lucas, 19 years ago

Owner: changed from blfs-book@… to DJ Lucas

comment:7 by DJ Lucas, 19 years ago

Status: newassigned

comment:8 by DJ Lucas, 19 years ago

Resolution: fixed
Status: assignedclosed

Reordered scripts to S25cups, S45samba, S50winbind, and S55stunnel.

comment:9 by LFS-User@…, 19 years ago

Resolution: fixed
Severity: normalcritical
Status: closedreopened
Version: a-SVNb-6.1-pre1

Aack!

The "fix" that was put in didn't fix anything!

The existing bootscript symlinks in rc.? are not cleaned up, so they still exist after installing CUPS.

Problem is that the CUPS installation installs one set of bootscripts links and now there is a new set with different numbers. Both of them now exist!

The old ordering overwrote the existing ones, this is no longer the case.

This must be fixed before BLFS-6.1 is released.

comment:10 by LFS-User@…, 19 years ago

Owner: changed from DJ Lucas to Randy McMurchy
Status: reopenednew

comment:11 by LFS-User@…, 19 years ago

Status: newassigned

comment:12 by LFS-User@…, 19 years ago

Owner: changed from Randy McMurchy to blfs-book@…
Status: assignednew

I believe this is now fixed and the bug can be closed. DJ, please confirm and close it out if so. Thanks.

comment:13 by DJ Lucas, 19 years ago

Resolution: fixed
Status: newclosed

Yes it can be. Sorry for the awful timing. I had forgotten about it.

comment:14 by (none), 16 years ago

Milestone: 6.1

Milestone 6.1 deleted

Note: See TracTickets for help on using tickets.