LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Google Chrome without PAM on -current? (http://www.linuxquestions.org/questions/slackware-14/google-chrome-without-pam-on-current-4175451535/)

rkelsen 02-24-2013 05:06 PM

Google Chrome without PAM on -current?
 
A couple of weeks ago, I installed Slackware64-current on my laptop.

I was having difficulty with the audio being out of sync when playing Flash videos through Firefox. So I did some research into it and learned a lot about what has been going on with Flash in the last few years. Long story short: I decided to try Google Chrome.

So, I followed the instructions in extra/google-chrome to get it installed... but somewhere along the line, I was distracted by one of my kids and so I forgot to install the special 'libpam' package which is in that directory.

... But even without it, Google Chrome has been working fine so far.

What am I risking by not having the libpam package installed? Do I really need to install it?

NyteOwl 02-24-2013 06:57 PM

libpam provides access interface to the PAM system. PAM is not part of a standard Slackware install, you'd need to install it yourself. As you are likely no using PAM you should be fine without libpam. I don't use Google-Chrome so not sure what it wants to use PAM for so there may be n obscure problem at some point.

ruario 05-09-2013 03:37 PM

The point is that Pat actually provides that google-chrome-pam-solibs package in /extra to install alongside Chrome, with the following statement in the README:

Quote:

Originally Posted by volkerdi
Finally, please note that Google Chrome requires the PAM library libpam.so.0. Installing the google-chrome-pam-solibs package in this directory will allow these newer versions of Chrome to run without having to actually switch the system to using PAM.

However, like rkelsen I also accidentally noticed that Chrome appears to run without PAM (I was making Stable, Beta and Dev packages that install alongside each other [for some comparative testing] but forgot to place the pam-solibs into each of their install directories). Anyway, once I realised that Chrome was running without PAM, I then ran ldd against all the binaries in the Chrome directory (chrome, nacl_irt_x86_64.nexe, nacl_irt_x86_32.nexe, nacl_helper_bootstrap, nacl_helper, libwidevinecdmadapter.s, libwidevinecdm.so, libppGoogleNaClPluginChrome.so, libpdf.so libffmpegsumo.so and PepperFlash/libpepflashplayer.so) and none of them appear to use PAM, i.e.:

Code:

chrome:
        linux-vdso.so.1 (0x00007fffb3f98000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f7e22f20000)
        libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00007f7e22d17000)
        libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007f7e22b0e000)
        libXss.so.1 => /usr/lib64/libXss.so.1 (0x00007f7e2290b000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f7e226f9000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f7e224f1000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f7e222ed000)
        libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007f7e2209f000)
        libgthread-2.0.so.0 => /usr/lib64/libgthread-2.0.so.0 (0x00007f7e21e9e000)
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f7e21b80000)
        libgtk-x11-2.0.so.0 => /usr/lib64/libgtk-x11-2.0.so.0 (0x00007f7e2154e000)
        libgdk-x11-2.0.so.0 => /usr/lib64/libgdk-x11-2.0.so.0 (0x00007f7e2129c000)
        libatk-1.0.so.0 => /usr/lib64/libatk-1.0.so.0 (0x00007f7e2107a000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib64/libgdk_pixbuf-2.0.so.0 (0x00007f7e20e5a000)
        libpangocairo-1.0.so.0 => /usr/lib64/libpangocairo-1.0.so.0 (0x00007f7e20c4e000)
        libcairo.so.2 => /usr/lib64/libcairo.so.2 (0x00007f7e209a0000)
        libpango-1.0.so.0 => /usr/lib64/libpango-1.0.so.0 (0x00007f7e20754000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f7e204c7000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007f7e20291000)
        libnss3.so => /usr/lib64/seamonkey/libnss3.so (0x00007f7e1ff89000)
        libnssutil3.so => /usr/lib64/seamonkey/libnssutil3.so (0x00007f7e1fd62000)
        libsmime3.so => /usr/lib64/seamonkey/libsmime3.so (0x00007f7e1fb3b000)
        libplc4.so => /usr/lib64/seamonkey/libplc4.so (0x00007f7e1f936000)
        libnspr4.so => /usr/lib64/seamonkey/libnspr4.so (0x00007f7e1f6f8000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f7e1f4dc000)
        libgconf-2.so.4 => /usr/lib64/libgconf-2.so.4 (0x00007f7e1f2b5000)
        libdbus-1.so.3 => /usr/lib64/libdbus-1.so.3 (0x00007f7e1f071000)
        libXcomposite.so.1 => /usr/lib64/libXcomposite.so.1 (0x00007f7e1ee6f000)
        libasound.so.2 => /usr/lib64/libasound.so.2 (0x00007f7e1eb7f000)
        libXdamage.so.1 => /usr/lib64/libXdamage.so.1 (0x00007f7e1e97d000)
        libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007f7e1e777000)
        libcups.so.2 => /usr/lib64/libcups.so.2 (0x00007f7e1e52b000)
        libgcrypt.so.11 => /lib64/libgcrypt.so.11 (0x00007f7e1e2ae000)
        libbz2.so.1.0 => /lib64/libbz2.so.1.0 (0x00007f7e1e09e000)
        libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007f7e1de74000)
        libudev.so.0 => /lib64/libudev.so.0 (0x00007f7e1dc67000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f7e1d966000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f7e1d66a000)
        libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x00007f7e1d455000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f7e1d095000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f7e287fa000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f7e1ce76000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f7e1cc73000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f7e1ca6e000)
        libffi.so.6 => /usr/lib64/libffi.so.6 (0x00007f7e1c865000)
        libXinerama.so.1 => /usr/lib64/libXinerama.so.1 (0x00007f7e1c663000)
        libXi.so.6 => /usr/lib64/libXi.so.6 (0x00007f7e1c454000)
        libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00007f7e1c24a000)
        libpixman-1.so.0 => /usr/lib64/libpixman-1.so.0 (0x00007f7e1bfc5000)
        libpng14.so.14 => /usr/lib64/libpng14.so.14 (0x00007f7e1bd9f000)
        libgio-2.0.so.0 => /usr/lib64/libgio-2.0.so.0 (0x00007f7e1ba53000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f7e1b839000)
        libpangoft2-1.0.so.0 => /usr/lib64/libpangoft2-1.0.so.0 (0x00007f7e1b60c000)
        libgmodule-2.0.so.0 => /usr/lib64/libgmodule-2.0.so.0 (0x00007f7e1b409000)
        libz.so.1 => /usr/lib64/libz.so.1 (0x00007f7e1b1f4000)
        libplds4.so => /usr/lib64/seamonkey/libplds4.so (0x00007f7e1aff0000)
        libdbus-glib-1.so.2 => /usr/lib64/libdbus-glib-1.so.2 (0x00007f7e1adc8000)
        libssl.so.1 => /lib64/libssl.so.1 (0x00007f7e1ab5e000)
        libcrypto.so.1 => /lib64/libcrypto.so.1 (0x00007f7e1a781000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f7e1a549000)
        libgpg-error.so.0 => /usr/lib64/libgpg-error.so.0 (0x00007f7e1a346000)
nacl_irt_x86_64.nexe:
        not a dynamic executable
nacl_irt_x86_32.nexe:
        not a dynamic executable
nacl_helper_bootstrap:
        not a dynamic executable
nacl_helper:
        linux-vdso.so.1 (0x00007fff3a5ff000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fe0173a5000)
        librt.so.1 => /lib64/librt.so.1 (0x00007fe01719d000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007fe016f98000)
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007fe016c7a000)
        libgtk-x11-2.0.so.0 => /usr/lib64/libgtk-x11-2.0.so.0 (0x00007fe016649000)
        libgdk-x11-2.0.so.0 => /usr/lib64/libgdk-x11-2.0.so.0 (0x00007fe016396000)
        libnss3.so => /usr/lib64/seamonkey/libnss3.so (0x00007fe01608f000)
        libnssutil3.so => /usr/lib64/seamonkey/libnssutil3.so (0x00007fe015e68000)
        libnspr4.so => /usr/lib64/seamonkey/libnspr4.so (0x00007fe015c29000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fe015a0d000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fe01570c000)
        libm.so.6 => /lib64/libm.so.6 (0x00007fe015410000)
        libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x00007fe0151fb000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fe014e3b000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fe01782d000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fe014c1c000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fe014a19000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007fe014814000)
        libXinerama.so.1 => /usr/lib64/libXinerama.so.1 (0x00007fe014611000)
        libXi.so.6 => /usr/lib64/libXi.so.6 (0x00007fe014403000)
        libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00007fe0141fb000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007fe013fe9000)
        libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00007fe013ddf000)
        libpangocairo-1.0.so.0 => /usr/lib64/libpangocairo-1.0.so.0 (0x00007fe013bd3000)
        libXcomposite.so.1 => /usr/lib64/libXcomposite.so.1 (0x00007fe0139d0000)
        libXdamage.so.1 => /usr/lib64/libXdamage.so.1 (0x00007fe0137ce000)
        libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007fe0135c8000)
        libatk-1.0.so.0 => /usr/lib64/libatk-1.0.so.0 (0x00007fe0133a5000)
        libcairo.so.2 => /usr/lib64/libcairo.so.2 (0x00007fe0130f7000)
        libpixman-1.so.0 => /usr/lib64/libpixman-1.so.0 (0x00007fe012e72000)
        libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007fe012c68000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib64/libgdk_pixbuf-2.0.so.0 (0x00007fe012a49000)
        libpng14.so.14 => /usr/lib64/libpng14.so.14 (0x00007fe012824000)
        libgio-2.0.so.0 => /usr/lib64/libgio-2.0.so.0 (0x00007fe0124d7000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fe0122bd000)
        libpangoft2-1.0.so.0 => /usr/lib64/libpangoft2-1.0.so.0 (0x00007fe012091000)
        libpango-1.0.so.0 => /usr/lib64/libpango-1.0.so.0 (0x00007fe011e45000)
        libgmodule-2.0.so.0 => /usr/lib64/libgmodule-2.0.so.0 (0x00007fe011c42000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007fe011a0c000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007fe01177e000)
        libz.so.1 => /usr/lib64/libz.so.1 (0x00007fe011569000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00007fe011359000)
        libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007fe01112f000)
        libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007fe010ee2000)
        libgthread-2.0.so.0 => /usr/lib64/libgthread-2.0.so.0 (0x00007fe010ce1000)
        libffi.so.6 => /usr/lib64/libffi.so.6 (0x00007fe010ad8000)
        libplc4.so => /usr/lib64/seamonkey/libplc4.so (0x00007fe0108d4000)
        libplds4.so => /usr/lib64/seamonkey/libplds4.so (0x00007fe0106d0000)
libwidevinecdmadapter.so:
        linux-vdso.so.1 (0x00007fff1d7e1000)
        libwidevinecdm.so => /opt/google/chroms/./libwidevinecdm.so (0x00007f755ebe2000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f755e8b2000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f755e696000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f755e2d6000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f755dfda000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f755f267000)
        libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x00007f755ddc5000)
libwidevinecdm.so:
        linux-vdso.so.1 (0x00007fff440dd000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f7691e3f000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f7691b44000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f7691927000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f7691567000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f76927e2000)
        libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x00007f7691352000)
libppGoogleNaClPluginChrome.so:
        linux-vdso.so.1 (0x00007fff4c9ff000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f5a0e665000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f5a0e449000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f5a0e147000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f5a0de4c000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f5a0da8c000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f5a0e90d000)
        libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x00007f5a0d876000)
libpdf.so:
        linux-vdso.so.1 (0x00007fff5ef18000)
        librt.so.1 => /lib64/librt.so.1 (0x00007fe76cfaf000)
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007fe76cc91000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fe76ca74000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fe76c773000)
        libm.so.6 => /lib64/libm.so.6 (0x00007fe76c478000)
        libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x00007fe76c262000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fe76bea2000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fe76d84b000)
libffmpegsumo.so:
        linux-vdso.so.1 (0x00007fffa23ff000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f28ccbb9000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f28cc99d000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f28cc5dc000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f28cd288000)
PepperFlash/libpepflashplayer.so:
        linux-vdso.so.1 (0x00007fff9ab66000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f7e435e6000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f7e433de000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f7e430dc000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f7e42de1000)
        libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x00007f7e42bcc000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f7e429af000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f7e425ef000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f7e44938000)

(Note: The above is from Slackware64 14.0)

Anyway, what gives? Has the PAM dependency been dropped?

ruario 05-09-2013 03:44 PM

The above was with google-chrome-stable-26.0.1410.63 but I see pretty much the same result with google-chrome-beta-27.0.1453.81 and google-chrome-unstable-28.0.1500.3.

P.S. It is not a problem that nacl_irt_x86_64.nexe, nacl_irt_x86_32.nexe and nacl_helper_bootstrap state "not a dynamic executable" because they are statically linked binaries.

rkelsen 05-09-2013 07:45 PM

Hi RuarÝ,

Just to confirm: I'm still using Chrome without PAM and have no apparent issues.

I've even installed a few apps from the Chrome Web Store... Angry Birds on the slacktop! Yay! :)

Chrome is great.

Cheers,


Rob


All times are GMT -5. The time now is 11:45 AM.