LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-03-2013, 05:12 PM   #16
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784

Thanks for using and testing MSB

Glad you enjoyed it
 
Old 12-04-2013, 12:22 PM   #17
aszabo
Member
 
Registered: Mar 2009
Location: Budapest, Hungary
Distribution: Slackware
Posts: 120

Original Poster
Rep: Reputation: 16
I found the solution, you have to install the package gnsu-0.2-noarch-1gv.txz from salix repository, and it works.
 
Old 12-04-2013, 08:05 PM   #18
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
yes, i noticed that one, but that one uses sudo and it requires users to change /etc/sudoers
while this worked for MATE 1.6, probably it will not work with MATE 1.8 since mate-file-manager-gksu is now merged along with other mate-file-manager plugins to a single caja-extensions package
 
Old 12-05-2013, 02:55 AM   #19
gapan
Member
 
Registered: Feb 2007
Posts: 378

Rep: Reputation: 163Reputation: 163
Why wouldn't it work with mate 1.8? If it needs gksu, it will work with the gnsu package. If it doesn't need gksu, then you don't have a problem in the first place. The way you package the extension, as a single package or in package that includes multiple extensions, makes absolutely no difference.
 
Old 12-05-2013, 04:10 AM   #20
mancha
Member
 
Registered: Aug 2012
Posts: 484

Rep: Reputation: Disabled
Quote:
Originally Posted by willysr View Post
it did work on Slackware 14.0
Probably it don't get along well with newer libraries
I have a hunch this might be related to the issue I detail in http://www.linuxquestions.org/questi...ge-4175486942/.

willysr, would you be willing to test my shadow patches (one at a time) to see if that resolves the OP's report? If I'm right, re-building shadow with either patch should solve this issue.

--mancha

Last edited by mancha; 12-05-2013 at 04:44 AM.
 
Old 12-05-2013, 06:10 AM   #21
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
using the first patch, the problem still persists

edit: previous attempt was being done with PAM package installed. Now it's gone
edit 2: both attempts failed to solve the problem

Last edited by willysr; 12-05-2013 at 06:43 AM.
 
Old 12-05-2013, 11:09 AM   #22
mancha
Member
 
Registered: Aug 2012
Posts: 484

Rep: Reputation: Disabled
@willysr: Many thanks for testing things but it seems your system is non-standard enough to make troubleshooting a bit more challenging (too many variables). It will probably be more efficient if I work directly with the OP.

@aszabo: I know you've fixed your problem by using gnsu (sudo frontend) instead of gksu (su frontend). However, it would be valuable if you would temporarily revert to your original setup (where gksu was failing) and upgrade your shadow package with my patched version. I have placed the full set of files needed for building here.

The only changes I've made to Slackware's 14.1 shadow source files are: 1) editing shadow.Slackbuild so my patch is applied and changing the package name to include a "_mancha" suffix and 2) including my two patches (only one is applied).

Please let me know if this changes your gksu behavior. Thanks.

--mancha

Last edited by mancha; 12-05-2013 at 11:34 AM.
 
Old 12-05-2013, 04:08 PM   #23
aszabo
Member
 
Registered: Mar 2009
Location: Budapest, Hungary
Distribution: Slackware
Posts: 120

Original Poster
Rep: Reputation: 16
Hi, the problem is solved with your pathed shadow package, many thanks for it.
 
Old 12-05-2013, 05:36 PM   #24
mancha
Member
 
Registered: Aug 2012
Posts: 484

Rep: Reputation: Disabled
Quote:
Originally Posted by aszabo View Post
Hi, the problem is solved with your pathed shadow package, many thanks for it.
Many thanks for confirming my suspicion your issue was related to "su -c" dropping the controlling tty. I've started a thread which discusses "su -c" and will reference this as another example of breakage.

If you're willing to spend a bit more time troubleshooting, it would be good if you rebuilt shadow using the "relax" patch instead of "revert" by changing line 74 of shadow.SlackBuild from:
Code:
patch -p1 --verbose < $CWD/shadow-4.1.5.1_CVE-2005-4890_revert.diff || exit 1
to:
Code:
patch -p1 --verbose < $CWD/shadow-4.1.5.1_CVE-2005-4890_relax.diff || exit 1
I am quite sure it will work with that patch also but user confirmation would be valuable.

--mancha
 
Old 12-05-2013, 07:56 PM   #25
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Good to hear that the patch worked
yes, i probably have a non-standard environment since i do most of my testing here on my desktop

For now, i'll wait for upstream (Slackware) to decide on this.
MSB and SBo will get the benefit if this problem is fixed upstream
 
Old 12-06-2013, 01:41 PM   #26
aszabo
Member
 
Registered: Mar 2009
Location: Budapest, Hungary
Distribution: Slackware
Posts: 120

Original Poster
Rep: Reputation: 16
I can confirm that the shadow package with relax.diff works too.
 
Old 12-06-2013, 02:16 PM   #27
mancha
Member
 
Registered: Aug 2012
Posts: 484

Rep: Reputation: Disabled
Quote:
Originally Posted by aszabo View Post
I can confirm that the shadow package with relax.diff works too.
Many thanks for the confirmation.

--mancha
 
Old 12-07-2013, 08:18 AM   #28
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 272
Blog Entries: 2

Rep: Reputation: 85
For me also both the packages worked.
 
Old 02-13-2014, 02:56 PM   #29
scarrs
Member
 
Registered: Sep 2013
Location: Thunder Bay, Ontario
Distribution: Slackware 14.1 x86_64
Posts: 38

Rep: Reputation: Disabled
hi mancha,
I applied your patch and I still get this error: The gksu-run-helper command was not found or is not executable. (when I Alt+f2 gksu thunar) however, running gksu will bring up a window that prompts me to enter the command and user and it seems to run fine. Any ideas as to how I can get the Alt+f2 function to work?

thanks in advance.

--scarrs

EDIT
I got gksu to work using the root password by doing the following:
mkdir /usr/lib/libgksu
ln -s /usr/lib64/libgksu/gksu-run-helper /usr/lib/libgksu/gksu-run-helper
is this acceptable or is it me and I should be able to enter my user passwd instead of the root passwd?

Last edited by scarrs; 02-13-2014 at 03:01 PM. Reason: partially working now
 
Old 02-13-2014, 04:13 PM   #30
mancha
Member
 
Registered: Aug 2012
Posts: 484

Rep: Reputation: Disabled
Quote:
Originally Posted by scarrs View Post
hi mancha,
I applied your patch and I still get this error: The gksu-run-helper command was not found or is not executable. (when I Alt+f2 gksu thunar)
Hi. Your issue is unrelated to the one solved with my Shadow patch.

But I downloaded gksu, libgksu, and libgtop from SBo to see if I could help. I can reproduce your issue on x86_64 Slackware and tracked down the problem.

The patch I prepared corrects things. Place it in the "patches" dir, make the following change to the SlackBuild script, and rebuild:

Code:
--- libgksu.SlackBuild.SBo
+++ libgksu.SlackBuild
@@ -79,6 +79,11 @@ patch -p0 < $CWD/patches/libgksu-2.0.12-
 patch -p1 < $CWD/patches/libgksu-2.0.12-notests.patch
 patch -p1 < $CWD/patches/libgksu-2.0.12-automake-1.11.2.patch
 
+# Patch from mancha
+if [ "$ARCH" = "x86_64" ]; then
+  patch -p1 < $CWD/patches/libgksu-2.0.12-x86_64-path.diff
+fi
+
 touch NEWS README
 libtoolize --force --copy --install
 autoreconf
--mancha
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] anyone else having update problems with Mint15 Mate & 16 Cinnamon or mate RC 1sweetwater! Linux Mint 2 08-05-2014 06:42 PM
[SOLVED] Synaptic Package Manager error - Linux Mint 13 Mate super_68 Linux Mint 6 06-28-2013 03:18 AM
su vs gksu (who is doing what to whom?) taylorkh Linux - Security 2 06-14-2013 07:08 AM
[SOLVED] Adding MATE and got this error dsplayer14 Linux - Software 2 12-16-2011 10:21 PM
Error while running gksu Ephracis Linux - Software 0 10-27-2004 05:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration