Re: Whole disk encryption

2012-12-04 Thread Dmitrijs Ledkovs
On 4 December 2012 05:43, Dale Amon a...@vnl.com wrote:
 Just did a test drive on Quantal, tried several different
 types of build. However the one thing I could not figure
 out was how to get multiple partitions on the encrypted
 disk. It does not seem to want to allow me to specify the
 size of the / partition either to allow me to build a
 separately keyed LUKS partition for other uses or to do
 so via LVM.

 Did I miss something in the install menu's? It does not seem
 like an unusual requirement.


Inherently LUKS does not have a partition table so you either create
multiple luks partitions (each with an encryption key) or use lvm on
top of LUKS. You did not miss anything.

Regards,

Dmitrijs.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


can't use apt-get command with ubuntu core

2012-12-04 Thread Saqlain Abbas
I have installed Ubuntu core on VM i followed instruction from

https://wiki.ubuntu.com/Core

I am able to boot and login, but if try apt-get install I get below errors,
my system (virgin ubuntu core) got no packages installed like synaptic
package manager etc

could not open lock file /var/lib/dpkg/lock -open (13:permission denied)
unable to lock the administration directory (/var/lib/dpkg) , are you root?

I can't try using sudo command as it is not installed on (ubuntu core).
If i try apt-get update command i get below errors

apt-get update

E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission
denied)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you
root?

I tried to remove lock file manually but i again get permission denied
error, the user i created ubuntu I added it to adm and sudo groups,
groups command shows it is added to ubuntu adm and sudo groups. My
other part of question is as user is added to sudo group why i got no
root permission?

-- 
Kind Regards,
Saqlain Abbas.
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: can't use apt-get command with ubuntu core

2012-12-04 Thread Emmet Hikory
Saqlain Abbas wrote:
 I have installed Ubuntu core on VM i followed instruction from
 
 https://wiki.ubuntu.com/Core
 
 I am able to boot and login, but if try apt-get install I get below errors,
 my system (virgin ubuntu core) got no packages installed like synaptic
 package manager etc
 
 could not open lock file /var/lib/dpkg/lock -open (13:permission denied)
 unable to lock the administration directory (/var/lib/dpkg) , are you root?
 
 I can't try using sudo command as it is not installed on (ubuntu core).

If you wish to run apt-get, you will either need to grant a root password,
and use su, or mount the filesystem on some other machine, chroot into it, and
install sudo from the chroot.

 [T]he user i created ubuntu I added it to adm and sudo groups,
 groups command shows it is added to ubuntu adm and sudo groups. My
 other part of question is as user is added to sudo group why i got no
 root permission?

Because the sudo package is not installed, so there is no interpretation
of the sudo group meaning anything.  While the adm group does grant the ability
to access many files, it does not provide for any sort of root access.

-- 
Emmet HIKORY

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: can't use apt-get command with ubuntu core

2012-12-04 Thread Saqlain Abbas
 If you wish to run apt-get, you will either need to grant a root
password, 'and use su'..

In Ubuntu Core root user is already added but i don't know root user
password (and it dont ask me to reset root user password adduser command
just say user already present), may be i missed something very basic?

I would like to use it to install packages (i.e. sudo and other necessary,
resolving dependencies manually is tedious :( ) su asks for root password
but i dont know it.. For the same purpose i added ubuntu user to sudo
group (but you already clarified without sudo pakcages it would not have
any effect).

The reason i am interesting these packages from Ubuntu Core is because it
seems something really obvious to have root access in an OS,  but su asks
for password which i dont know...

Thanks,
Saqlain.

On Tue, Dec 4, 2012 at 7:14 PM, Emmet Hikory per...@ubuntu.com wrote:

 Saqlain Abbas wrote:
  I have installed Ubuntu core on VM i followed instruction from
 
  https://wiki.ubuntu.com/Core
 
  I am able to boot and login, but if try apt-get install I get below
 errors,
  my system (virgin ubuntu core) got no packages installed like synaptic
  package manager etc
 
  could not open lock file /var/lib/dpkg/lock -open (13:permission denied)
  unable to lock the administration directory (/var/lib/dpkg) , are you
 root?
 
  I can't try using sudo command as it is not installed on (ubuntu core).

 If you wish to run apt-get, you will either need to grant a root
 password,
 and use su, or mount the filesystem on some other machine, chroot into it,
 and
 install sudo from the chroot.

  [T]he user i created ubuntu I added it to adm and sudo groups,
  groups command shows it is added to ubuntu adm and sudo groups.
 My
  other part of question is as user is added to sudo group why i got no
  root permission?

 Because the sudo package is not installed, so there is no
 interpretation
 of the sudo group meaning anything.  While the adm group does grant the
 ability
 to access many files, it does not provide for any sort of root access.

 --
 Emmet HIKORY

 --
 Ubuntu-devel-discuss mailing list
 Ubuntu-devel-discuss@lists.ubuntu.com
 Modify settings or unsubscribe at:
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss




-- 
Kind Regards,
Saqlain Abbas.
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: question about php5-ps

2012-12-04 Thread Ray
On November 29, 2012 12:24:05 PM Clint Byrum wrote:
 Excerpts from Ray's message of 2012-11-29 11:33:13 -0800:
  Hello,
  I am trying to use the package php5-ps (version 1.3.6-7build1, amd64) with
  php5.4 (php5.4.6-1ubuntu1.1, amd64) both from the quantal repositories.
  (system is running kubuntu 12.10 amd64) Scripts using this functionality
  are seg faulting and dumping core (even sample code written by the
  original author). The source code contains incompatibilities with php 5.4
  and I am wondering if this is a symptom of being built on a system that
  wasn't using php 5.4, or if there is another problem as well.
 
 The packages were rebuilt with the PHP 5.4 API:
 
 php-ps (1.3.6-7build1) quantal; urgency=low
 
   * No-change rebuild for phpapi change
  -- Ilya Barygin randomact...@ubuntu.com   Sat, 30 Jun 2012 13:03:13 +0400
 
 (Thanks Ilya!)
 
 So its not that. However, it may very likely be this:
 
 https://bugs.launchpad.net/ubuntu/+source/php-ps/+bug/1024207
 
 Which in turn mentions this bug:
 
 https://bugs.php.net/bug.php?id=58211
 
 Both have patches for php-ps to make them 64-bit compatible. I'm not
 sure we would want to carry said patches in Ubuntu without upstream
 acknowledging them. Thats a problem, because from what I'm seeing,
 php-ps is woefully unmaintained.
 
 https://bugs.php.net/search.php?cmd=displaypackage_name[]=ps
 
 So, you probably will want to re-evaluate whether or not its a good idea
 to make use of that particular extension (or perhaps you can contribute
 to its maintenance in the PECL project).
 
 Meanwhile I've opened a grave bug against the Debian package, as it
 should probably be removed from Debian and future Ubuntu releases if it
 is in fact a dead upstream project.
 
 --
 Ubuntu-devel-discuss mailing list
 Ubuntu-devel-discuss@lists.ubuntu.com
 Modify settings or unsubscribe at:
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

wow Clint, I'm impressed. You add to a bug report on a bug that's probably 4 
and a half years old and in about a day a fix has been uploaded to the debian 
repositories.
How long untill the debian fix will be carried on into the Ubuntu repositories?
Thanks again,
Ray


-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: can't use apt-get command with ubuntu core

2012-12-04 Thread David Henningsson

On 12/04/2012 03:14 PM, Emmet Hikory wrote:

Saqlain Abbas wrote:

I have installed Ubuntu core on VM i followed instruction from

https://wiki.ubuntu.com/Core

I am able to boot and login, but if try apt-get install I get below errors,
my system (virgin ubuntu core) got no packages installed like synaptic
package manager etc

could not open lock file /var/lib/dpkg/lock -open (13:permission denied)
unable to lock the administration directory (/var/lib/dpkg) , are you root?

I can't try using sudo command as it is not installed on (ubuntu core).


 If you wish to run apt-get, you will either need to grant a root password,
and use su, or mount the filesystem on some other machine, chroot into it, and
install sudo from the chroot.


[T]he user i created ubuntu I added it to adm and sudo groups,
groups command shows it is added to ubuntu adm and sudo groups. My
other part of question is as user is added to sudo group why i got no
root permission?


 Because the sudo package is not installed, so there is no interpretation
of the sudo group meaning anything.  While the adm group does grant the ability
to access many files, it does not provide for any sort of root access.



The instructions at https://wiki.ubuntu.com/Core clearly says to add the 
local user to the sudo group. This makes no sense if the sudo package is 
not part of Ubuntu Core, so either the instructions are broken, or 
Ubuntu Core is broken because it should have included the sudo package?


--
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic

--
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss