cyrus-common-2.2 depends on GNU df

Bug #126604 reported by Zooko Wilcox-O'Hearn
4
Affects Status Importance Assigned to Milestone
Nexenta Operating System
Confirmed
Undecided
Unassigned

Bug Description

When attempting to apt-get install cyrus-imapd-2.2, I get this warning message because cyrus-common-2.2 is depending on GNU df but "df" is Sun df:

Setting up cyrus-common-2.2 (2.2.12-4nexenta2) ...
Creating/updating cyrus user account...
Adding user `cyrus' to group `sasl'...
Done.
Creating cyrus control directories in /var/lib/cyrus...
Creating partition spool /var/spool/cyrus/mail...
Creating partition spool /var/spool/cyrus/news...
Trying to optimize Cyrus partitions, edit /etc/default/cyrus2.2 to disable...
df: unknown option: P
Usage: df [-F FSType] [-abeghklntVvZ] [-o FSType-specific_options] [directory | block_device | resource]
Starting Cyrus IMAPd: usage: ps [ -aAdefHlcjLPyZ ] [ -o format ] [ -t termlist ]
        [ -u userlist ] [ -U userlist ] [ -G grouplist ]
        [ -p proclist ] [ -g pgrplist ] [ -s sidlist ] [ -z zonelist ] [-h lgrplist]
  'format' is one or more of:
        user ruser group rgroup uid ruid gid rgid pid ppid pgid sid taskid ctid
        pri opri pcpu pmem vsz rss osz nice class time etime stime zone zoneid
        f s c lwp nlwp psr tty addr wchan fname comm args projid project pset lgrp
cyrmaster.

Setting up cyrus-imapd-2.2 (2.2.12-4nexenta2) ...

Note: the original reporter indicated the bug was in package 'cyrus-common-2.2'; however, that package was not published in Nexenta Operating System.

Revision history for this message
Stefan Freyr (stefan-freyr) wrote :

I can verify this problem.

I'm getting the exact same error message:

Trying to optimize Cyrus partitions, edit /etc/default/cyrus2.2 to disable...
df: unknown option: P
Usage: df [-F FSType] [-abeghklntVvZ] [-o FSType-specific_options] [directory | block_device | resource]
Starting Cyrus IMAPd: usage: ps [ -aAdefHlcjLPyZ ] [ -o format ] [ -t termlist ]
        [ -u userlist ] [ -U userlist ] [ -G grouplist ]
        [ -p proclist ] [ -g pgrplist ] [ -s sidlist ] [ -z zonelist ] [-h lgrplist]
  'format' is one or more of:
        user ruser group rgroup uid ruid gid rgid pid ppid pgid sid taskid ctid
        pri opri pcpu pmem vsz rss osz nice class time etime stime zone zoneid
        f s c lwp nlwp psr tty addr wchan fname comm args projid project pset lgrp
cyrmaster.

It doesn't seem to only be the df command because you can see in the line that starts with "Starting Cyrus IMAPd:" it's complaining about the use of the 'ps' command. This error repeats every time I try to start the cyrus imap daemon and results in me being unable to start it.

Revision history for this message
Stefan Freyr (stefan-freyr) wrote :

After fixing the above problem with the use of ps I stopped getting the usage message for ps. However, cyrus does not seem to get properly started for some reason. I did a little research and finally found out that cyrus crashes during startup with the message: "init_kmem: kvm_open failed: Bad file number". I'm creating a new bug for this issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.