Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 41517 Details for
Bug 67060
smbpwman-0.5-r2 (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Prevent daemon from auto starting
no-auto-start.patch (text/plain), 921 bytes, created by
chris-gentoo
on 2004-10-11 02:21:10 UTC
(
hide
)
Description:
Prevent daemon from auto starting
Filename:
MIME Type:
Creator:
chris-gentoo
Created:
2004-10-11 02:21:10 UTC
Size:
921 bytes
patch
obsolete
>diff -ur smbpwman-0.5.orig/smbpwcommon.c smbpwman-0.5/smbpwcommon.c >--- smbpwman-0.5.orig/smbpwcommon.c 2004-09-22 12:01:55.000000000 +1000 >+++ smbpwman-0.5/smbpwcommon.c 2004-09-22 12:06:08.000000000 +1000 >@@ -68,31 +68,6 @@ > return result; > } > >-void start_server() >-{ >- pid_t cpid; >- int status; >- >- cpid = fork(); >- if(cpid == 0) >- { >- // Detach ourself so PAM does not have a fit >- cpid = fork(); >- >- if(cpid != 0) >- { >- exit(0); >- } >- setsid(); >- >- execl(SERVER_PATH SERVER_NAME, SERVER_NAME, 0); >- exit(0); >- } >- waitpid(cpid, &status, 0); >- >- return; >-} >- > int open_unix_socket(char *name) > { > struct stat stat_buf; >@@ -204,7 +179,6 @@ > cs = unix_connect(SOCKET_NAME); > if(cs < 0) > { >- start_server(); > while(attempts > 0) > { > attempts--; >@@ -274,8 +248,6 @@ > > if(cs < 0) > { >- // could not connect, try to start the server... >- start_server(); > cs = unix_connect(SOCKET_NAME); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 67060
:
41513
|
41514
|
41515
|
41516
| 41517 |
41518
|
41519
|
41520
|
41521
|
41522
|
41523
|
41524