Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 82407 Details for
Bug 122500
[Tracker] vmware overlay
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixes issue with vmware-config.pl overwriting /etc/xinetd.d/vmware-authd.
vmware-server-1.0.0.22088-config5.patch (text/plain), 2.02 KB, created by
Hannes Schmidt
on 2006-03-17 14:01:37 UTC
(
hide
)
Description:
Fixes issue with vmware-config.pl overwriting /etc/xinetd.d/vmware-authd.
Filename:
MIME Type:
Creator:
Hannes Schmidt
Created:
2006-03-17 14:01:37 UTC
Size:
2.02 KB
patch
obsolete
>--- vmware-config.pl.orig 2006-03-17 21:13:22.000000000 +0100 >+++ vmware-config.pl 2006-03-17 22:37:00.000000000 +0100 >@@ -6278,10 +6278,36 @@ > my $authd_conf_file = "$conf_dir/vmware-authd"; > my $authd = db_get_answer('SBINDIR') . "/vmware-authd"; > >+ # Never overwrite an existing conf file unless it has the exact modification >+ # date as in the database in which case we can be pretty sure that it is the >+ # one that we wrote and it should be safe to assume that we can overwrite it. >+ if( -f $authd_conf_file ) { >+ my @statbuf = stat( $authd_conf_file ); >+ if( ! defined( $statbuf[9] ) ) { >+ error( >+ 'Unable to get the last modification timestamp of file "' >+ . $authd_conf_file . "\".\n\n" >+ ); >+ } >+ if( >+ ! db_file_in( $authd_conf_file ) >+ || db_file_ts( $authd_conf_file ) != $statbuf[9] >+ ) { >+ query( >+ 'The file "' . $authd_conf_file . '" already exists and seems to have' >+ . ' been modified manually. Consequently, this program cannot add a "' >+ . $authd . '" entry in the file. You will have to do it by hand' >+ . ' before running ' . vmware_product_name() . ".\n\n" >+ . ' Hit enter to continue.', >+ '', 0 >+ ); >+ return; >+ } >+ } >+ > # Create the new vmware-authd file >- # XXX This file should be registered with the installer's database. --hpreg > if (not open(CONF, '>' . $authd_conf_file)) { >- query('Unable to create the "' . $authd_conf_file . '"file. ' >+ query('Unable to create the "' . $authd_conf_file . '" file. ' > . 'Consequently, this program cannot add a "' . $authd . '" entry ' > . 'in the file. You will have to do it by hand before running ' > . vmware_product_name() . '.' . "\n\n" . 'Hit enter to continue.', >@@ -6304,6 +6330,8 @@ > END > close CONF; > >+ db_add_file( $authd_conf_file, 0x1 ); >+ > # Make sure the IP service is registered, as RH 9.0's xinetd is picky about > # that (was bug 26864). --hpreg > if (check_port_not_registered($port) == 1) {
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 122500
:
79527
|
79529
|
79530
|
79531
|
79532
|
79533
|
79534
|
79535
|
79537
|
79744
|
79745
|
79746
|
80201
|
80202
|
80203
|
80204
|
80328
|
80329
|
80359
|
80387
|
80416
|
80526
|
80527
|
80528
|
80529
|
80530
|
81038
|
81039
|
81040
|
81050
|
81051
|
81052
|
81055
|
81147
|
81808
|
81809
| 82407 |
85453
|
88731
|
89256