Blank, Jessica
2007-Nov-07 17:33 UTC
Possible bug in the fileserver: Does not follow symlinks
Hi gang: I am writing a function to manually install a package from the fileserver, without using the native package management system (in this case, yum). This is useful when we, for whatever reason, don''t wish to install the latest package from yum using the built-in support for installing packages. In the process, I''ve found what appears to be a bug. If a file does not exist, we get an error in the log: notice: mount[dist]: File source FOO does not exist If a file DOES exist, it tries to send it, and we get a message in the log: info: mount[dist]: Sending FOO to CLIENTNAME However, if the file exists, but IS A SYMLINK TO ANOTHER FILE (and yes, I''ve double checked that it''s a valid symlink), we get NEITHER message... and the file is not sent to the client. I''ve searched through trac, and nobody seems to have reported this bug before. Is this a known issue? Should I file a bug? --JLB _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
Luke Kanies
2007-Nov-07 18:33 UTC
Re: Possible bug in the fileserver: Does not follow symlinks
On Nov 7, 2007, at 11:33 AM, Blank, Jessica wrote:> Hi gang: > > I am writing a function to manually install a package from the > fileserver, without using the native package management system (in > this case, yum). This is useful when we, for whatever reason, don''t > wish to install the latest package from yum using the built-in > support for installing packages. > > In the process, I''ve found what appears to be a bug. > > If a file does not exist, we get an error in the log: > notice: mount[dist]: File source FOO does not exist > > If a file DOES exist, it tries to send it, and we get a message in > the log: > info: mount[dist]: Sending FOO to CLIENTNAME > > However, if the file exists, but IS A SYMLINK TO ANOTHER FILE (and > yes, I''ve double checked that it''s a valid symlink), we get NEITHER > messageā¦ and the file is not sent to the client. > > I''ve searched through trac, and nobody seems to have reported this > bug before. Is this a known issue? Should I file a bug?I thought this was already filed, but it''s known. You should be able to use links => follow in the file copy statement. -- It''s not to control, but to protect the citizens of Singapore. In our society, you can state your views, but they have to be correct. -- Ernie Hai, co-ordinator of the Singapore Government Internet Project --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com