Mailing Lists
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2023
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
List overview
Download
YaST Commits
July 2010
----- 2023 -----
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
yast-commit@lists.opensuse.org
17 participants
156 discussions
Start a n
N
ew thread
[yast-commit] r62324 - in /trunk/network: package/yast2-network.changes src/isdn/lowlevel.ycp
by mzugec@svn.opensuse.org
30 Jul '10
30 Jul '10
Author: mzugec Date: Fri Jul 30 13:38:43 2010 New Revision: 62324 URL:
http://svn.opensuse.org/viewcvs/yast?rev=62324&view=rev
Log: ISDN: removed deprecated documentation URL (bnc#590742) Modified: trunk/network/package/yast2-network.changes trunk/network/src/isdn/lowlevel.ycp Modified: trunk/network/package/yast2-network.changes URL:
http://svn.opensuse.org/viewcvs/yast/trunk/network/package/yast2-network.ch…
============================================================================== --- trunk/network/package/yast2-network.changes (original) +++ trunk/network/package/yast2-network.changes Fri Jul 30 13:38:43 2010 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Fri Jul 30 13:37:32 CEST 2010 - mzugec(a)suse.cz + +- ISDN: removed deprecated documentation URL (bnc#590742) + +------------------------------------------------------------------- Thu Jul 29 10:30:49 CEST 2010 - mzugec(a)suse.cz - fixed typo (bnc#626280) Modified: trunk/network/src/isdn/lowlevel.ycp URL:
http://svn.opensuse.org/viewcvs/yast/trunk/network/src/isdn/lowlevel.ycp?re…
============================================================================== --- trunk/network/src/isdn/lowlevel.ycp (original) +++ trunk/network/src/isdn/lowlevel.ycp Fri Jul 30 13:38:43 2010 @@ -735,20 +735,15 @@ ISDN::only_dsl = false; if ((Default_TYPE == 8002) || (Default_TYPE == 8003) || (Default_TYPE == 8004)) { - // #151148 - string url = "
http://en.opensuse.org/SDB:Notes_on_the_FRITZ!Card_DSL_Configuration
"; // multiline Popup::YesNo text - if (! Popup::YesNo (sformat (_(" WARNING + if (! Popup::YesNo (_(" WARNING You have selected a binary-only driver that is not part of our distribution. You can only use this driver -after installing additional packages from AVM. -Refer to the release notes and get -further instructions from the following Web page: -%1 +after installing additional packages from AVM manually. Continue? -"), url))) +"))) continue; } break; -- To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
0
0
[yast-commit] r62323 - /tags/branch-Code-11-SP1-2_17_22/iscsi-client/
by mzugec@svn.opensuse.org
30 Jul '10
30 Jul '10
Author: mzugec Date: Fri Jul 30 11:40:05 2010 New Revision: 62323 URL:
http://svn.opensuse.org/viewcvs/yast?rev=62323&view=rev
Log: Created tag branch-Code-11-SP1-2_17_22 for iscsi-client Added: tags/branch-Code-11-SP1-2_17_22/iscsi-client/ (props changed) - copied from r62322, branches/SuSE-Code-11-SP1-Branch/iscsi-client/ -- To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
0
0
[yast-commit] r62322 - in /branches/SuSE-Code-11-SP1-Branch/iscsi-client: VERSION package/yast2-iscsi-client.changes src/widgets.ycp
by mzugec@svn.opensuse.org
30 Jul '10
30 Jul '10
Author: mzugec Date: Fri Jul 30 11:39:58 2010 New Revision: 62322 URL:
http://svn.opensuse.org/viewcvs/yast?rev=62322&view=rev
Log: login into multipath (bnc#599818) Modified: branches/SuSE-Code-11-SP1-Branch/iscsi-client/VERSION branches/SuSE-Code-11-SP1-Branch/iscsi-client/package/yast2-iscsi-client.changes branches/SuSE-Code-11-SP1-Branch/iscsi-client/src/widgets.ycp Modified: branches/SuSE-Code-11-SP1-Branch/iscsi-client/VERSION URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/iscsi…
============================================================================== --- branches/SuSE-Code-11-SP1-Branch/iscsi-client/VERSION (original) +++ branches/SuSE-Code-11-SP1-Branch/iscsi-client/VERSION Fri Jul 30 11:39:58 2010 @@ -1 +1 @@ -2.17.21 +2.17.22 Modified: branches/SuSE-Code-11-SP1-Branch/iscsi-client/package/yast2-iscsi-client.changes URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/iscsi…
============================================================================== --- branches/SuSE-Code-11-SP1-Branch/iscsi-client/package/yast2-iscsi-client.changes (original) +++ branches/SuSE-Code-11-SP1-Branch/iscsi-client/package/yast2-iscsi-client.changes Fri Jul 30 11:39:58 2010 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Jul 30 11:39:40 CEST 2010 - mzugec(a)suse.de + +- login into multipath (bnc#599818) +- 2.17.22 + +------------------------------------------------------------------- Tue May 11 14:54:04 CEST 2010 - mzugec(a)suse.de - delete discovered targets (bnc#602108) Modified: branches/SuSE-Code-11-SP1-Branch/iscsi-client/src/widgets.ycp URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/iscsi…
============================================================================== --- branches/SuSE-Code-11-SP1-Branch/iscsi-client/src/widgets.ycp (original) +++ branches/SuSE-Code-11-SP1-Branch/iscsi-client/src/widgets.ycp Fri Jul 30 11:39:58 2010 @@ -600,7 +600,7 @@ "username_in" : user_in, "password_in" : pass_in ]; - if (IscsiClientLib::connected(false) || IscsiClientLib::loginIntoTarget(target)) { + if (IscsiClientLib::connected(true) || IscsiClientLib::loginIntoTarget(target)) { // IscsiClientLib::currentRecord = [target["portal"]:"", target["target"]:""]; IscsiClientLib::setStartupStatus((string)UI::QueryWidget(`id("startup"), `Value)); IscsiClientLib::readSessions(); -- To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
0
0
[yast-commit] r62321 - /tags/stable-2_19_7/iscsi-client/
by mzugec@svn.opensuse.org
30 Jul '10
30 Jul '10
Author: mzugec Date: Fri Jul 30 11:25:52 2010 New Revision: 62321 URL:
http://svn.opensuse.org/viewcvs/yast?rev=62321&view=rev
Log: Created tag stable-2_19_7 for iscsi-client Added: tags/stable-2_19_7/iscsi-client/ - copied from r62320, trunk/iscsi-client/ -- To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
0
0
[yast-commit] r62320 - in /trunk/iscsi-client: VERSION package/yast2-iscsi-client.changes src/widgets.ycp
by mzugec@svn.opensuse.org
30 Jul '10
30 Jul '10
Author: mzugec Date: Fri Jul 30 11:25:39 2010 New Revision: 62320 URL:
http://svn.opensuse.org/viewcvs/yast?rev=62320&view=rev
Log: login into multipath (bnc#599818) Modified: trunk/iscsi-client/VERSION trunk/iscsi-client/package/yast2-iscsi-client.changes trunk/iscsi-client/src/widgets.ycp Modified: trunk/iscsi-client/VERSION URL:
http://svn.opensuse.org/viewcvs/yast/trunk/iscsi-client/VERSION?rev=62320&r…
============================================================================== --- trunk/iscsi-client/VERSION (original) +++ trunk/iscsi-client/VERSION Fri Jul 30 11:25:39 2010 @@ -1 +1 @@ -2.19.6 +2.19.7 Modified: trunk/iscsi-client/package/yast2-iscsi-client.changes URL:
http://svn.opensuse.org/viewcvs/yast/trunk/iscsi-client/package/yast2-iscsi…
============================================================================== --- trunk/iscsi-client/package/yast2-iscsi-client.changes (original) +++ trunk/iscsi-client/package/yast2-iscsi-client.changes Fri Jul 30 11:25:39 2010 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Jul 30 11:19:48 CEST 2010 - mzugec(a)suse.cz + +- login into multipath (bnc#599818) +- 2.19.7 + +------------------------------------------------------------------- Mon May 24 15:03:36 CEST 2010 - mzugec(a)suse.cz - summary overview for autoyast (bnc#581682) Modified: trunk/iscsi-client/src/widgets.ycp URL:
http://svn.opensuse.org/viewcvs/yast/trunk/iscsi-client/src/widgets.ycp?rev…
============================================================================== --- trunk/iscsi-client/src/widgets.ycp (original) +++ trunk/iscsi-client/src/widgets.ycp Fri Jul 30 11:25:39 2010 @@ -602,7 +602,7 @@ "username_in" : user_in, "password_in" : pass_in ]; - if (IscsiClientLib::connected(false) || IscsiClientLib::loginIntoTarget(target)) { + if (IscsiClientLib::connected(true) || IscsiClientLib::loginIntoTarget(target)) { // IscsiClientLib::currentRecord = [target["portal"]:"", target["target"]:""]; IscsiClientLib::setStartupStatus((string)UI::QueryWidget(`id("startup"), `Value)); IscsiClientLib::readSessions(); -- To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
0
0
[yast-commit] r62319 - in /branches/SuSE-Linux-11_3-Branch/storage: package/yast2-storage.changes storage/src/include/custom_part_dialogs.ycp storage/src/include/ep-import.ycp storage/src/modules/StorageUpdate.ycp
by fehr@svn.opensuse.org
29 Jul '10
29 Jul '10
Author: fehr Date: Thu Jul 29 16:04:19 2010 New Revision: 62319 URL:
http://svn.opensuse.org/viewcvs/yast?rev=62319&view=rev
Log: - fix bug that destroys encrypted volumes when wron password is entered in read fstab dialog (#625490) - replace "nofail" with "noauto" for encrypted volumes in fstab during update Modified: branches/SuSE-Linux-11_3-Branch/storage/package/yast2-storage.changes branches/SuSE-Linux-11_3-Branch/storage/storage/src/include/custom_part_dialogs.ycp branches/SuSE-Linux-11_3-Branch/storage/storage/src/include/ep-import.ycp branches/SuSE-Linux-11_3-Branch/storage/storage/src/modules/StorageUpdate.ycp Modified: branches/SuSE-Linux-11_3-Branch/storage/package/yast2-storage.changes URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Linux-11_3-Branch/storag…
============================================================================== --- branches/SuSE-Linux-11_3-Branch/storage/package/yast2-storage.changes (original) +++ branches/SuSE-Linux-11_3-Branch/storage/package/yast2-storage.changes Thu Jul 29 16:04:19 2010 @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Thu Jul 29 15:53:11 CEST 2010 - fehr(a)suse.de + +- fix bug that destroys encrypted volumes when wron password is + entered in read fstab dialog (#625490) +- replace "nofail" with "noauto" for encrypted volumes in fstab + during update + +------------------------------------------------------------------- Mon Jun 21 16:42:34 CEST 2010 - aschnell(a)suse.de - avoid unreadable buttons (bnc #615377) Modified: branches/SuSE-Linux-11_3-Branch/storage/storage/src/include/custom_part_dialogs.ycp URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Linux-11_3-Branch/storag…
============================================================================== --- branches/SuSE-Linux-11_3-Branch/storage/storage/src/include/custom_part_dialogs.ycp (original) +++ branches/SuSE-Linux-11_3-Branch/storage/storage/src/include/custom_part_dialogs.ycp Thu Jul 29 16:04:19 2010 @@ -41,20 +41,23 @@ symbol check_devices_used( list<map> partitions, boolean not_cr ); -define string DlgCreateCryptFs( string device, integer minpwlen, boolean format, +define string DlgPasswdCryptFs( string device, integer minpwlen, boolean format, boolean tmpcrypt ) ``{ string helptext = GetCreateCryptFsHelptext(minpwlen, format, tmpcrypt); - y2milestone( "DlgCreateCryptFs device:%1 minpwlen:%2 format:%3 tmpcrypt:%4", + y2milestone( "DlgPasswdCryptFs device:%1 minpwlen:%2 format:%3 tmpcrypt:%4", device, minpwlen, format, tmpcrypt ); // heading text string h = _("Enter your Password for the Encrypted File System."); - // label text - string label = _("Don't forget what you enter here!"); + string label = ""; + if( format ) + // label text + label = _("Don't forget what you enter here!"); if( tmpcrypt ) { - label = label + " "; + if( size(label)>0 ) + label = label + " "; label = label + _("Empty password allowed."); } Modified: branches/SuSE-Linux-11_3-Branch/storage/storage/src/include/ep-import.ycp URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Linux-11_3-Branch/storag…
============================================================================== --- branches/SuSE-Linux-11_3-Branch/storage/storage/src/include/ep-import.ycp (original) +++ branches/SuSE-Linux-11_3-Branch/storage/storage/src/include/ep-import.ycp Thu Jul 29 16:04:19 2010 @@ -346,31 +346,59 @@ boolean format_sys = true; string device = FstabAddDialog(target_map, fstabs, format_sys); + map<string, map> new_target_map = $[]; + boolean import_ok = false; if (!isempty(device)) { y2milestone("ImportMountPoints device:%1", device); list<map> fstab = (list<map>) fstabs[device]:[]; + import_ok = true; - map<string, map> new_target_map = AddFstabToTargetMap(target_map, fstab, format_sys); + new_target_map = AddFstabToTargetMap(target_map, fstab, format_sys); foreach(string d, map disk, new_target_map, { foreach(map p, disk["partitions"]:[], { + string key = (p["type"]:`unknown != `loop) ? (p["device"]:"error") : (p["fpath"]:"error"); if (!isempty(p["mount"]:"") && p["enc_type"]:`none!=`none && - !p["tmpcrypt"]:false) + !p["tmpcrypt"]:false && Storage::NeedCryptPwd(key) ) { - string pwd = DlgCreateCryptFs( p["device"]:"", 1, false, false ); - if( pwd != nil && !isempty(pwd) ) - Storage::SetCryptPwd( p["device"]:"", pwd ); + boolean ok = false; + string dev = p["device"]:""; + string pwd = ""; + do + { + ok = false; + pwd = DlgPasswdCryptFs( dev, 1, false, false ); + if( pwd != nil && !isempty(pwd) ) + { + if( Storage::CheckCryptOk( dev, pwd, true, + false ) ) + { + ok = Storage::SetCryptPwd( dev, pwd ) && + Storage::SetCrypt( dev, true, false ); + } + else + { + Popup::Error(_("Wrong Password provided.")); + } + } + else if( size(pwd)==0 ) + { + ok = true; + import_ok = false; + } + } + while( !ok ); + } }); }); - Storage::SetTargetMap(new_target_map); } + if( import_ok ) + Storage::SetTargetMap(new_target_map); else - { Storage::RestoreTargetBackup("import"); - } Storage::DisposeTargetBackup("import"); } Modified: branches/SuSE-Linux-11_3-Branch/storage/storage/src/modules/StorageUpdate.ycp URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Linux-11_3-Branch/storag…
============================================================================== --- branches/SuSE-Linux-11_3-Branch/storage/storage/src/modules/StorageUpdate.ycp (original) +++ branches/SuSE-Linux-11_3-Branch/storage/storage/src/modules/StorageUpdate.ycp Thu Jul 29 16:04:19 2010 @@ -288,6 +288,35 @@ AsciiFile::RewriteFile( crtab, tabpath ); } +void UpdateFstabCryptNofail() + { + y2milestone( "UpdateFstabCryptNofail called" ); + string tabpath = Storage::PathToDestdir( "/etc/fstab" ); + map fstab = Partitions::GetFstab( tabpath ); + integer line = 0; + boolean update = false; + while( line<=AsciiFile::NumLines( fstab ) ) + { + map l = AsciiFile::GetLine( fstab, line ); + if( search( l["fields",0]:"", "/dev/mapper/cr_" )==0 ) + { + list<string> ls = splitstring( l["fields",3]:"", "," ); + ls = filter( string s, ls, ``(s!="noauto")); + if( size(filter( string s, ls, ``(s=="nofail")))==0 ) + { + ls = add( ls, "nofail" ); + AsciiFile::ChangeLineField( fstab, line, 3, + mergestring( ls, "," )); + update = true; + } + } + line = line+1; + } + if( update ) + { + AsciiFile::RewriteFile( fstab, tabpath ); + } + } /** * Updates fstab on disk @@ -388,6 +417,8 @@ bo = (map)SCR::Execute (.target.bash_output, cmd ); y2milestone( "Update bo %1", bo ); } + if( oldv["major"]:0<11 || (oldv["major"]:0==11 && oldv["minor"]:0<=2)) + UpdateFstabCryptNofail(); // set flag -> it indicates that Update was already called called_update = true; } -- To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
0
0
[yast-commit] r62318 - /trunk/storage/package/yast2-storage.changes
by fehr@svn.opensuse.org
29 Jul '10
29 Jul '10
Author: fehr Date: Thu Jul 29 16:01:39 2010 New Revision: 62318 URL:
http://svn.opensuse.org/viewcvs/yast?rev=62318&view=rev
Log: improve changelog Modified: trunk/storage/package/yast2-storage.changes Modified: trunk/storage/package/yast2-storage.changes URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/package/yast2-storage.ch…
============================================================================== --- trunk/storage/package/yast2-storage.changes (original) +++ trunk/storage/package/yast2-storage.changes Thu Jul 29 16:01:39 2010 @@ -4,6 +4,7 @@ - fix bug that destroys encrypted volumes when wron password is entered in read fstab dialog (#625490) - replace "nofail" with "noauto" for encrypted volumes in fstab + during update ------------------------------------------------------------------- Tue Jul 20 11:26:30 CEST 2010 - fehr(a)suse.de -- To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
0
0
[yast-commit] r62317 - in /trunk/storage: package/yast2-storage.changes storage/src/modules/StorageUpdate.ycp
by fehr@svn.opensuse.org
29 Jul '10
29 Jul '10
Author: fehr Date: Thu Jul 29 15:56:21 2010 New Revision: 62317 URL:
http://svn.opensuse.org/viewcvs/yast?rev=62317&view=rev
Log: replace "nofail" with "noauto" for encrypted volumes in fstab Modified: trunk/storage/package/yast2-storage.changes trunk/storage/storage/src/modules/StorageUpdate.ycp Modified: trunk/storage/package/yast2-storage.changes URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/package/yast2-storage.ch…
============================================================================== --- trunk/storage/package/yast2-storage.changes (original) +++ trunk/storage/package/yast2-storage.changes Thu Jul 29 15:56:21 2010 @@ -3,6 +3,7 @@ - fix bug that destroys encrypted volumes when wron password is entered in read fstab dialog (#625490) +- replace "nofail" with "noauto" for encrypted volumes in fstab ------------------------------------------------------------------- Tue Jul 20 11:26:30 CEST 2010 - fehr(a)suse.de Modified: trunk/storage/storage/src/modules/StorageUpdate.ycp URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/modules/Stor…
============================================================================== --- trunk/storage/storage/src/modules/StorageUpdate.ycp (original) +++ trunk/storage/storage/src/modules/StorageUpdate.ycp Thu Jul 29 15:56:21 2010 @@ -288,6 +288,35 @@ AsciiFile::RewriteFile( crtab, tabpath ); } +void UpdateFstabCryptNofail() + { + y2milestone( "UpdateFstabCryptNofail called" ); + string tabpath = Storage::PathToDestdir( "/etc/fstab" ); + map fstab = Partitions::GetFstab( tabpath ); + integer line = 0; + boolean update = false; + while( line<=AsciiFile::NumLines( fstab ) ) + { + map l = AsciiFile::GetLine( fstab, line ); + if( search( l["fields",0]:"", "/dev/mapper/cr_" )==0 ) + { + list<string> ls = splitstring( l["fields",3]:"", "," ); + ls = filter( string s, ls, ``(s!="noauto")); + if( size(filter( string s, ls, ``(s=="nofail")))==0 ) + { + ls = add( ls, "nofail" ); + AsciiFile::ChangeLineField( fstab, line, 3, + mergestring( ls, "," )); + update = true; + } + } + line = line+1; + } + if( update ) + { + AsciiFile::RewriteFile( fstab, tabpath ); + } + } /** * Updates fstab on disk @@ -388,6 +417,8 @@ bo = (map)SCR::Execute (.target.bash_output, cmd ); y2milestone( "Update bo %1", bo ); } + if( oldv["major"]:0<11 || (oldv["major"]:0==11 && oldv["minor"]:0<=2)) + UpdateFstabCryptNofail(); // set flag -> it indicates that Update was already called called_update = true; } -- To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
0
0
[yast-commit] r62316 - in /trunk/storage: package/yast2-storage.changes storage/src/include/custom_part_dialogs.ycp storage/src/include/ep-import.ycp
by fehr@svn.opensuse.org
29 Jul '10
29 Jul '10
Author: fehr Date: Thu Jul 29 15:54:42 2010 New Revision: 62316 URL:
http://svn.opensuse.org/viewcvs/yast?rev=62316&view=rev
Log: fix bug that destroys encrypted volumes when wron password is entered in read fstab dialog (#625490) Modified: trunk/storage/package/yast2-storage.changes trunk/storage/storage/src/include/custom_part_dialogs.ycp trunk/storage/storage/src/include/ep-import.ycp Modified: trunk/storage/package/yast2-storage.changes URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/package/yast2-storage.ch…
============================================================================== --- trunk/storage/package/yast2-storage.changes (original) +++ trunk/storage/package/yast2-storage.changes Thu Jul 29 15:54:42 2010 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Jul 29 15:53:11 CEST 2010 - fehr(a)suse.de + +- fix bug that destroys encrypted volumes when wron password is + entered in read fstab dialog (#625490) + +------------------------------------------------------------------- Tue Jul 20 11:26:30 CEST 2010 - fehr(a)suse.de - add support for additional parity values for raid5, raid6, raid10 Modified: trunk/storage/storage/src/include/custom_part_dialogs.ycp URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/cust…
============================================================================== --- trunk/storage/storage/src/include/custom_part_dialogs.ycp (original) +++ trunk/storage/storage/src/include/custom_part_dialogs.ycp Thu Jul 29 15:54:42 2010 @@ -41,20 +41,23 @@ symbol check_devices_used( list<map> partitions, boolean not_cr ); -define string DlgCreateCryptFs( string device, integer minpwlen, boolean format, +define string DlgPasswdCryptFs( string device, integer minpwlen, boolean format, boolean tmpcrypt ) ``{ string helptext = GetCreateCryptFsHelptext(minpwlen, format, tmpcrypt); - y2milestone( "DlgCreateCryptFs device:%1 minpwlen:%2 format:%3 tmpcrypt:%4", + y2milestone( "DlgPasswdCryptFs device:%1 minpwlen:%2 format:%3 tmpcrypt:%4", device, minpwlen, format, tmpcrypt ); // heading text string h = _("Enter your Password for the Encrypted File System."); - // label text - string label = _("Don't forget what you enter here!"); + string label = ""; + if( format ) + // label text + label = _("Don't forget what you enter here!"); if( tmpcrypt ) { - label = label + " "; + if( size(label)>0 ) + label = label + " "; label = label + _("Empty password allowed."); } Modified: trunk/storage/storage/src/include/ep-import.ycp URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/ep-i…
============================================================================== --- trunk/storage/storage/src/include/ep-import.ycp (original) +++ trunk/storage/storage/src/include/ep-import.ycp Thu Jul 29 15:54:42 2010 @@ -357,31 +357,59 @@ boolean format_sys = true; string device = FstabAddDialog(target_map, fstabs, format_sys); + map<string, map> new_target_map = $[]; + boolean import_ok = false; if (!isempty(device)) { y2milestone("ImportMountPoints device:%1", device); list<map> fstab = (list<map>) fstabs[device]:[]; + import_ok = true; - map<string, map> new_target_map = AddFstabToTargetMap(target_map, fstab, format_sys); + new_target_map = AddFstabToTargetMap(target_map, fstab, format_sys); foreach(string d, map disk, new_target_map, { foreach(map p, disk["partitions"]:[], { + string key = (p["type"]:`unknown != `loop) ? (p["device"]:"error") : (p["fpath"]:"error"); if (!isempty(p["mount"]:"") && p["enc_type"]:`none!=`none && - !p["tmpcrypt"]:false) + !p["tmpcrypt"]:false && Storage::NeedCryptPwd(key) ) { - string pwd = DlgCreateCryptFs( p["device"]:"", 1, false, false ); - if( pwd != nil && !isempty(pwd) ) - Storage::SetCryptPwd( p["device"]:"", pwd ); + boolean ok = false; + string dev = p["device"]:""; + string pwd = ""; + do + { + ok = false; + pwd = DlgPasswdCryptFs( dev, 1, false, false ); + if( pwd != nil && !isempty(pwd) ) + { + if( Storage::CheckCryptOk( dev, pwd, true, + false ) ) + { + ok = Storage::SetCryptPwd( dev, pwd ) && + Storage::SetCrypt( dev, true, false ); + } + else + { + Popup::Error(_("Wrong Password provided.")); + } + } + else if( size(pwd)==0 ) + { + ok = true; + import_ok = false; + } + } + while( !ok ); + } }); }); - Storage::SetTargetMap(new_target_map); } + if( import_ok ) + Storage::SetTargetMap(new_target_map); else - { Storage::RestoreTargetBackup("import"); - } Storage::DisposeTargetBackup("import"); } -- To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
0
0
[yast-commit] r62315 - in /trunk/network: package/yast2-network.changes src/lan/address.ycp
by mzugec@svn.opensuse.org
29 Jul '10
29 Jul '10
Author: mzugec Date: Thu Jul 29 10:31:15 2010 New Revision: 62315 URL:
http://svn.opensuse.org/viewcvs/yast?rev=62315&view=rev
Log: fixed typo (bnc#626280) Modified: trunk/network/package/yast2-network.changes trunk/network/src/lan/address.ycp Modified: trunk/network/package/yast2-network.changes URL:
http://svn.opensuse.org/viewcvs/yast/trunk/network/package/yast2-network.ch…
============================================================================== --- trunk/network/package/yast2-network.changes (original) +++ trunk/network/package/yast2-network.changes Thu Jul 29 10:31:15 2010 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu Jul 29 10:30:49 CEST 2010 - mzugec(a)suse.cz + +- fixed typo (bnc#626280) + +------------------------------------------------------------------- Tue Jul 27 16:20:24 CEST 2010 - mzugec(a)suse.cz - YaPI: allow dhcp + static hostname (bnc#624655) Modified: trunk/network/src/lan/address.ycp URL:
http://svn.opensuse.org/viewcvs/yast/trunk/network/src/lan/address.ycp?rev=…
============================================================================== --- trunk/network/src/lan/address.ycp (original) +++ trunk/network/src/lan/address.ycp Thu Jul 29 10:31:15 2010 @@ -471,7 +471,7 @@ string mask=(string) UI::QueryWidget (`netmask, `Value); if(!validPrefixOrNetmask(ipa, mask)){ - Popup::Error(_("No valid netmask or prefix lenght.")); + Popup::Error(_("No valid netmask or prefix length.")); UI::SetFocus(`netmask); return false; } -- To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
0
0
← Newer
1
2
3
4
...
16
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Results per page:
10
25
50
100
200