Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440580 - net-fs/samba-3.5.15: some elog messages should only be shown when upgrading from an old enough package.
Summary: net-fs/samba-3.5.15: some elog messages should only be shown when upgrading f...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: first-time-messages
  Show dependency tree
 
Reported: 2012-10-31 11:29 UTC by poletti.marco
Modified: 2019-07-10 18:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description poletti.marco 2012-10-31 11:29:36 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package net-fs/samba-3.5.15, the following elog messages are displayed:

 * The default value of 'wide links' has been changed to 'no' in samba 3.5
 * to avoid an insecure default configuration
 * ('wide links = yes' and 'unix extensions = yes'). For more details,
 * please see http://www.samba.org/samba/news/symlink_attack.html .
 * 
 * An EXPERIMENTAL implementation of the SMB2 protocol has been added.
 * SMB2 can be enabled by setting 'max protocol = smb2'. SMB2 is a new 
 * implementation of the SMB protocol used by Windows Vista and higher
 * 
 * For further information make sure to read the release notes at
 * http://samba.org/samba/history/samba-3.5.15.html and 
 * http://samba.org/samba/history/samba-3.5.0.html

Such messages should only be displayed when the package is upgraded from an old enough package (and possibly for new installs).
These situations can be checked in the ebuild as follows:

if has_version '<net-fs/samba-1.0'; then

Or, if the message should also be displayed for new installs:

if !has_version 'net-fs/samba' || has_version '<net-fs/samba-1.0'; then

Remember to replace 1.0 with the right version number.

See the tracker bug 440214 for more details.